TDR
Forum Replies Created
-
Thanks for the heads-up Tom.
(my reply on your post was deleted by the mods. I wanted to state it still existed in newer versions. But no response by these mods yet. Hope they fix it soon ?? )
- This reply was modified 1 year, 2 months ago by TDR.
@mehrshaddarzi Any news on this matter. Did you find the bug?
Oy’ve. Maybe time to switch to an alternative? Any good suggestions? I have over a dozen clients with glitching WP Gutenberg editors ?? I think I’ll drop this plugin next update round for the clients. Since this error is going on for over a year now.
Is this plugin still maintained? Would devs check these questions?
Ah, yes. This seems to work. Thanks.
Guess we’ll just delete all the old emails for the new ones to show on top. But it would have been nice to have had the option for a different sorting option.Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] I have a solution fix plugin 100% worked@angelbope, another win. Your solution worked.
I wanted to buy some automated cloud backup plugins from all-in-one. But now we will look for other solutions ?? Had this problem too many times with a few of our sites.Forum: Fixing WordPress
In reply to: I need relationship adviceHi @bcworkz, thanks for your reply!
I’ve got my solution to work with Advanced Custom Fields – Relationship field. With this I was able to create many-to-many and bi-directional fields.
https://www.advancedcustomfields.com/resources/relationship/Forum: Developing with WordPress
In reply to: Nested Post Query, first catagory, then per ACFPardon me, where are my manners. Somehow I didn’t see I got a reply ??
Thanks for your reply!Yes, group per category and than group per “customfield_01”.
I’ve found a solution. I’ll post it below.I’ve added this code to the code above. I’ve replaced all the code within “foreach ( $categories as $tax ) :”
Steps:
– needed an array with all the unique values within “field 1”
– ran an post query for each post, grabbed the value of “field 1” and put in an array
– filtered all the duplicates
– alphabetized the array
– run a foreach in the array:$stack = array(); // query $args = array( 'post_type' => 'products', 'orderby' => 'ASC', 'posts_per_page'=>-1, 'category_name' => $tax->slug ); // The Query $the_query = new WP_Query( $args ); // The Loop if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); if( get_field('custom_field_1') ): $stack[] = get_field('custom_field_1'); endif; } wp_reset_postdata(); } $result = array_unique($stack); sort($result); foreach ( $result as $tax2 ) : // run you code here endforeach;
Might not be the prettiest code, but it gets the job done ??
Forum: Fixing WordPress
In reply to: let user bookmark current location on page?hmzz that’s a real bummer.
I guess I’ll have to break up each page in several small pages then.
thnx for the script!Forum: Plugins
In reply to: [WooCommerce] sale_products shortcode does not workHi guys, I’ve opened my own tread and “Leandro Martins Guimar?es”, member on this forum handed me this solution from “otggamer”
I’ve tried it and it works like a charm! Game on!
As a workaround, add this code to your functions.php:
// DELETE ON SALE TRANSIENTS WHEN POST SAVED
function delete_sale_transients() {
global $post;
if( $post->post_type == ‘product’ ) {
delete_transient( ‘wc_products_onsale’ );
}
}
add_action( ‘save_post’, ‘delete_sale_transients’ );And just open and save anyone of your products to refresh cache data.
Anyway, we’re still waiting for a better solution from WooCommerce guys.
This solution was originally suggested by “otggamer” here: https://support.woothemes.com/hc/communities/public/questions/201933598-On-sale-products-not-displaying-in-Woocommerce-products-widget
Forum: Plugins
In reply to: WooCommerce Shortcode [sale_products] not showing products?@leandro Martins Guimar?es. Sweet! thank you! works like a charm!
I will also leave a thanks to “otggamer”!I’m sure it will be fixed in the new version
Forum: Plugins
In reply to: [WooCommerce] sale_products shortcode does not workyes, I’ve got the same issue here
Forum: Themes and Templates
In reply to: grid-a-liciousYep. Same here.
Maybe the theme is for an older
WP version…Can it be fixed?