rodskagg
Forum Replies Created
-
Just updated to 25.0 and still have the same problem.
We’re on a paid version, as far as I know. Does that mean that I can remove setting the Cache-Control header in our Nginx config?
Forum: Plugins
In reply to: [Simply Static - The Static Site Generator] Broken PDF files after upgrade.So, after doing some digging I discovered this added line to class-ss-url-fetcher.php:
‘limit_response_size’ => 2097152, // 2 MB
And I had to use the “ss_remote_get_args” filter to change it to a larger number.
I could not find this in any documentation, so perhaps it should be added
Works as intended now! Thanks!
Some custom post types. I’m not using WooCommerce.
Won’t this return false if WooCommerce plugin isn’t active?
public function override_woocommerce_products($override, $wp_query, $taxonomy, $term_id, $type){ return is_plugin_active('woocommerce/woocommerce.php') && $type==='product' && $wp_query->query_vars['orderby']==='meta_value'; }Called from lin 211 in class-reorder-post-within-categories.php:
$this->loader->add_filter('rpwc2_allow_custom_sort_orderby_override', $plugin_public, 'override_woocommerce_products', 1, 5);Which causes is_ranked to be set to false at line 260 in class-reorder-post-within-categories-public.php