jhtjards
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce PayPal Payments] Pay Later Messages not showingHi Niklas, thanks for your reply!
Indeed, the currency is Euro, WooCommerce location is Germany.I’ve disconnected both live and sandbox accounts and reconnected via quick connect login button. Previously this was configured manually.
We’re getting closer. Now the PP messages work within the sandbox-mode, but still not in live mode.
I’ve sent a system report via your link.
I wonder if there is a bug regarding the fact that we have enabled 0% interest financing.
Forum: Plugins
In reply to: [LiteSpeed Cache] Lazyload breaks no-script layoutProviding further Information
Report ID: JWUZCJUSBrowser Screenshots, JS Disabled:
https://ibb.co/X7Y5pCM
https://ibb.co/Qcq3djh
Each Left: LS Cache & Lazyload activated,
Each Right: LS Cache Plugin disabledI’m beginning to think this is either a plugin bug or intentionally omitted (but why?) as similar behaviour can be found on litespeed’s own blog:
https://blog.litespeedtech.com/2020/06/10/wpw-the-beginners-guide-to-litespeed-cache-for-wordpress/The behaviour with the images is slightly different, I assume they removed all noscript tags, but noscript users also don’t get to see the actual images. Only blurred out previews.
On close inspection you can see that their main CSS file never get’s loaded if your JS is turned off.
- This reply was modified 4 years, 1 month ago by jhtjards.
Forum: Plugins
In reply to: [WP FAQ Schema Markup for SEO] Line breaks are converted to “rn”Thanks for tackling the issue so quickly with your new update.
I’ve added the wp function wpautop() (Codex) in line 64 in the admin/init.php so it converts text into paragraphs (using false for the linebreak setting).
It works really nice for me, maybe something worth considering for the general public too.$answer = wpautop( $answer, false ); // Added by JHTjards, false = no br Conversion $answer = preg_replace('/\s+/S', " ", $answer); // Original Setting, removes returns etc
Ahh Perfect!
Thanks for adding in this filter!This should be sticky or in the FAQ, I think!
Forum: Plugins
In reply to: [WP Store Locator] Stores list not being loaded (spinning wheel)Tijmen, you are a Hero! It’s working again.
Thanks a lot for pointing me to this!Found this in functions.php, should have been commented out with */ /* instead of html comments.(Facepalm)
Simple Error, but when you don’t know what to look for…Wow that was quick, I was still collecting more debug info. The breakage is fixed and it doesn’t interfere with the other plugins anymore!
Soo, do you still see no chance in making a preview of the custom emails possible?
Thanks Mark! I’ll have a look into that!
@digamberpradhan:
Thanks for your fast reply! I’m using WP 4.8 with WooCommerce 3.1.1 and
WooCommerce Order Status Manager 1.7.1. (And for History: Woo Preview Emails 1.2.8)It breaks it in a way so that there is no (form-) content to edit. It’s just the wordpress menu, the woocommerce tabs and then right away the submit button, that’s being shown. No JS error in console, no php error or notice.
I’ll send you a more detailed report via email.
Forum: Plugins
In reply to: [WordPress Backup to Dropbox] How to tweak this plugin for PHP 7Thanks a lot, that worked in PHP 7.1!
Forum: Plugins
In reply to: [Breadcrumb NavXT] Referer influenced taxonomy selection not workingIt’s been some time, but I finally got around to use your commercial Paths extension. Works like a Charm, thanks a lot!
Forum: Plugins
In reply to: [Breadcrumb NavXT] Referer influenced taxonomy selection not workingOr is this feature for taxonomies only and not their terms?
If so, has anyone any suggestions to achieve the desired behaviour?
Forum: Plugins
In reply to: [Beautiful taxonomy filters] Relative post count in filter termsHi Jonathan,
great to hear! I’m looking forward to it!Forum: Plugins
In reply to: [Beautiful taxonomy filters] Ordering of ResultsThere’s a doubled “if”, but otherwise this should work.
You can use “is_archive()” to sort the posts for any archive and not just for the “rental” post type archive.
In fact, you can use any of the conditional tags.Like so:
// Changing the order of the main query add_action( 'pre_get_posts', 'sort_by_meta_value' ); function sort_by_meta_value( $query ) { if (is_admin()){ return; } if ( is_archive() ){ $query->set('meta_key', 'ranking' ); $query->set('orderby', ''meta_value_num'); } return $query; }
Forum: Plugins
In reply to: [Beautiful taxonomy filters] Relative post count in filter termsI somehow managed to get my hack to work, but I don’t really understand why ??
cur_taxonomy should return any selected taxonomy, right? It only returns ‘angebotscat’ in my case. Which is great for me but feels to me like there could be issues further down the road.Here’s the updated code snippet:
/** * Fetch post count for terms based on a single post type * * @since 1.2.8 */ public static function get_term_post_count_by_type($term, $taxonomy, $post_type){ $queried_object = get_queried_object(); //print_r($queried_object); $cur_taxonomy = $queried_object->taxonomy; $cur_term_id = $queried_object->term_id; $cur_post_id = $cur_taxonomy.'_'.$term_id; $args = array( 'fields' =>'ids', 'update_post_meta_cache' => false, 'no_found_rows' => true, 'posts_per_page' => 10000, // We don't set this to -1 because we don't want to crash ppls sites which have A LOT of posts 'post_type' => $post_type, 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => $taxonomy, 'field' => 'slug', 'terms' => $term ), array( 'taxonomy' => $cur_taxonomy, 'field' => 'term_id', 'terms' => $cur_term_id ), ), ); $postcount_query = new WP_Query( $args ); return ( count($postcount_query->posts > 0) ? count($postcount_query->posts) : 0 ); }