MikeKJ
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] woocommerce product addonsThank you thup90, a few problems with that.
1. I did raise a ticket through that url but have had no response whatsoever, not even an acknowledgement of the ticket being raised.
2. The form does not have Help with My Product in it, it does have Help with My Extensions and in the drop down that appears from that WooCommerce Product Add-ons does not appear.
3. In the original ticket I believe I raised it as WooCommerce Core.
Forum: Plugins
In reply to: [Print, PDF, Email by PrintFriendly] numeric fields gone missingThank you ??
Forum: Developing with WordPress
In reply to: posts key/value and search returnsbcworkz(@bcworkz)
Isnt that what I have (after removing ‘type’ => ‘numeric’,?Array ( [key] => price [value] => Array ( [0] => 0,150000 ) [compare] => BETWEEN )
Forum: Developing with WordPress
In reply to: posts key/value and search returnsHmm I looked at the table wp_postmeta and I can see
key value
16154 5545 _condition field_5ef9b840bc7a3
16153 5545 condition UsedSo I guess that field_5ef9b840bc7a3 as picked up by ACF Field Sync (why _condition and not condition?) in SearchandFilter needs some ‘interpretation’ to be used as a post query array of arrays?
Alternatively could I write an sql query on the table wp_postmeta to get the result set?
Forum: Developing with WordPress
In reply to: posts key/value and search returnsHmmm that may well be the problem the key fields, none of the fields I have in the GET relate apparently.
I am using ACF PRO to populate each post and it doesnt appear that get_posts() has any clue what the ACF fields are. I read somewhere that WPQuery doesn’t read ACF fields. How do I get around that?If I use the ACF Field sync in SearchandFilter it shows field_5ef9b840bc7a3 instead of Used or New in the dropdown for Condition for example.
More reading I guess
Forum: Fixing WordPress
In reply to: Change Column (sidebar) width of templateMy six pennyworth, using Firfox Developer tools use Web Developer -> Inspector to determine the class or id of the two panes (sidebar and main) then add css (additional if in the theme under appearances or through the child themes css) to change the width of both panes to suit your needs. use the css width attribute
#id { width: 60%; }Ahh sorry about that try these links…
https://warings.paston2.webfactional.com/3d-flip-book/primary/
https://warings.paston2.webfactional.com/3d-flip-book/vol-2/
They both open with the header and footer from the theme template. I just wabt to open the flipbook without the theme header and footer.
Thanks
Forum: Fixing WordPress
In reply to: problem with paginationamendment
$args = array( ‘post_type’ => ‘post’,’paged’ => $paged, ‘posts_per_page’ => ‘6’ );
//$args = array( ‘post_type’ => ‘post’,’paged’ => $paged, ‘post__in’ => array_reverse($id) );Forum: Developing with WordPress
In reply to: pagination problemRebuilt using paginate_links(), works a charm
Brilliant, thank you all.Forum: Developing with WordPress
In reply to: pagination problemPhil,
Hmmm I am using,
‘prev_text’ => __( ‘<i class=”fa fa-chevron-left” aria-hidden=”true”></i>Previous’, ‘textdomain’ ),
‘next_text’ => __( ‘<i class=”fa fa-chevron-right” aria-hidden=”true”></i>Next’, ‘textdomain’ ),maybe code /code stripped it, sorry, but still no output
Michael, not editing a file per se I am injecting php into a pagebuilder widget with
Woody ad snippets (PHP snippets | Insert PHP)Forum: Fixing WordPress
In reply to: 5.0.1 UpdateOh and thank you for the Classic Editor plugin, much appreciated
Forum: Fixing WordPress
In reply to: 5.0.1 UpdateThe block editor I notice has it’s own version of tiny-mce it seems which is pathetic and ignores the TinyMCE Advanced plugin I install on EVERY site I build!
I am yet to be convinced, I really do not see this as an improvement to usability or visual representation.
Frankly it sucks, I really hope it improves rapidly.
Forum: Fixing WordPress
In reply to: save to db with wpdbI had already set global $wpdb; and that debugging reported an uninitiated
variable that I was using for error checking $error, so even though when I echoed that variable it reported as 0 (no errors) it must have been in an undertimnate state as when I initiated it as $error = 0 at the beginning of the code lo and behold it started saving to the db. Thx necafusu and RossMitchell, especially for that debug setting (useful) and yes I did reset it to false ??Forum: Fixing WordPress
In reply to: weird html form submission resultthe class .hasDatepicker calls jQuery
<script language="javascript" type="text/javascript"> jQuery(document).ready(function($){ $('input[name="start_date"]').datepicker({dayNamesMin: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], dateFormat: "dd/mm/yy", changeMonth: true, changeYear: true, minDate:"0", maxDate:"", closeText: "", currentText: ""}); }); </script>
- This reply was modified 7 years, 1 month ago by Jan Dembowski.
Forum: Plugins
In reply to: [The Events Calendar Shortcode & Block] Past eventsHi Brian
For 2: that function stops all links, how do I specifically target a particular event please? This may be a bit of a moot question as last 2 ‘past events’ is a movable feast as far as an event title or id goes.For 1: We have come up with a cunning plan, that being to move past events into an archive category (so they can be easily recovered when the artist returns) so only the last 2 most recent events are in a ‘live’ category and obviously move the oldest event each time another event becomes ‘past’. Kinda works.
For 3: I encapsulated the passed concerts area in the widget with a span class
<span class=”previous”>
<span class=”eventcat”>Previous Concerts – 2017</span>
[ecs-list-events eventdetails=’true’ past=’yes’ limit=”3″]
</span>
that enabled me to override the css with
.previous .entry-title a { color: #939393; cursor: none; }So in effect by a crooked way I have accomplished all 3 objectives, thank you for your help, especially the tutorial as that gave me this idea, and I hope that what I have done here might help you at some point in answering any similar question.