an147
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Custom critical CSS filteringThank you, it works! Have a nice day! =)
Forum: Plugins
In reply to: [WP Sitemap Page] How to exclude a category@nemethszeged
Just input IDs of categories you want to exclude on plugin settings page (text input where you exclude posts by IDs too).
You can install any plugin like ‘Reveal IDs’ to see posts/categories IDs right on All Categories pages.- This reply was modified 4 years, 7 months ago by an147.
Forum: Plugins
In reply to: [WP Sitemap Page] How to exclude a categoryHi guys!
I patched it a bit on a website to exclude a category for my client’s online store.
So..Search file wp-sitemap-page.php right in the plugin folder. Go to line 1034 inside wsp_return_content_type_taxonomy_items function.
Here is the code:// init variable to get terms of a taxonomy $taxonomies = array( $taxonomy_name ); $args = array();Replace it with:
$exclude_pages_array = array_map('trim', explode(',', $wsp_exclude_pages)); // init variable to get terms of a taxonomy $taxonomies = array( $taxonomy_name ); $args = array( 'exclude' => $exclude_pages_array, );Enjoy!
P.S. I know: it’s not good to patch plugins, because you need to disable this plugin updates. But this is the hotfix I use.
- This reply was modified 5 years ago by an147.
Forum: Plugins
In reply to: [Autoptimize] Lazy Load not working: wrong plugin JS script URLOu, thank you! =)
I just thought that this option will make the browser to preconnect to this url. Now I understand my mistake. Hah!Thanks =)
Forum: Plugins
In reply to: [Autoptimize] Lazy Load not working: wrong plugin JS script URLSure.
JS options
http://prntscr.com/rr1n42CSS options
http://prntscr.com/rr1nglHTML options
http://prntscr.com/rr1ns5Misc options in the same tab
http://prntscr.com/rr1o4r