Title: savingyourtail's Replies | WordPress.org

---

# savingyourtail

  [  ](https://wordpress.org/support/users/savingyourtail/)

 *   [Profile](https://wordpress.org/support/users/savingyourtail/)
 *   [Topics Started](https://wordpress.org/support/users/savingyourtail/topics/)
 *   [Replies Created](https://wordpress.org/support/users/savingyourtail/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/savingyourtail/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/savingyourtail/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/savingyourtail/engagements/)
 *   [Favorites](https://wordpress.org/support/users/savingyourtail/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/users/savingyourtail/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/savingyourtail/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Anti Spam for Contact Forms, Comments & Online Stores - CleanTalk] Forced reflow warning from plugin](https://wordpress.org/support/topic/forced-reflow-warning-from-plugin/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/forced-reflow-warning-from-plugin/#post-18597212)
 * Hi, yes – I am no longer seeing the forced reflow. Thank you!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Anti Spam for Contact Forms, Comments & Online Stores - CleanTalk] Forced reflow warning from plugin](https://wordpress.org/support/topic/forced-reflow-warning-from-plugin/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months ago](https://wordpress.org/support/topic/forced-reflow-warning-from-plugin/#post-18544467)
 * Hi, thanks for the reply. Unfortunately “Show email existence alert” was already
   disabled for me so that must not have been the cause. Could there be another 
   cause of the forced reflow?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Icons not loading in premium mega menu settings](https://wordpress.org/support/topic/icons-not-loading-in-premium-mega-menu-settings/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/icons-not-loading-in-premium-mega-menu-settings/#post-18534554)
 * Thank you – I disabled the mega menu for the Categories item and this caused 
   the icons to reappear. That’s what I needed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Icons not loading in premium mega menu settings](https://wordpress.org/support/topic/icons-not-loading-in-premium-mega-menu-settings/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/icons-not-loading-in-premium-mega-menu-settings/#post-18534171)
 * Hi,
 * If I open the icon selector up in the premium add-ons menu, most of the icons
   are titled either dash or fa. So I believe they are from dashicons.css and font-
   awesome.css.
 * The category listings show up under Appearance > Menus. I’ve been trying to add
   the icons by selecting the Premium Menu button next to each category listing,
   then selecting the icon of interest.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Icons not loading in premium mega menu settings](https://wordpress.org/support/topic/icons-not-loading-in-premium-mega-menu-settings/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 1 week ago](https://wordpress.org/support/topic/icons-not-loading-in-premium-mega-menu-settings/#post-18533007)
 * Hi, sure. Here’s the short code. I checked and no, the icons are not visible 
   in the template editor nor frontend pages.
 *     ```wp-block-code
       // dynamic submenu under category in headerfunction catlist(){$taxonomy = 'category';$orderby = 'name';$show_count = false;$pad_counts = false;$hierarchical = true;$title = '';$args = array('taxonomy' => $taxonomy,'orderby' => $orderby,'show_count' => $show_count,'pad_counts' => $pad_counts,'hierarchical' => $hierarchical,'title_li' => $title);?><ul class="custom_cat_menu"><?php wp_list_categories( $args ); ?><li id="premium-nav-menu-item-373" class="articles_btn menu-item menu-item-type-custom menu-item-object-custom premium-nav-menu-item premium-sub-menu-item">View All Articles</ul><?php}add_shortcode( 'catlist_shortcode', 'catlist' );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Sharing Plugin - Sassy Social Share] Unused JS impacting site performance](https://wordpress.org/support/topic/unused-js-impacting-site-performance-2/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/unused-js-impacting-site-performance-2/#post-18522458)
 * Is it possible for the developer to modify the plugin in a way that deactivates
   unused code in a future update? This is the only plugin on my site, and I have
   many, that has unused code showing up in pagespeed insights without a way to 
   disable those elements. And I have some really big plugins that I’m only using
   a few features of, so I think this is a common practice in other plugins that
   helps ensure optimal site performance. Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Unused JS impacting site performance](https://wordpress.org/support/topic/unused-js-impacting-site-performance/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/unused-js-impacting-site-performance/#post-18522392)
 * Both of these changes eliminated my issue/warning on pagespeed insights. Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Social Sharing Plugin - Sassy Social Share] Unused JS impacting site performance](https://wordpress.org/support/topic/unused-js-impacting-site-performance-2/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 2 weeks ago](https://wordpress.org/support/topic/unused-js-impacting-site-performance-2/#post-18521998)
 * Hi, I tried this code, but it appears to have broken some of the sassy share 
   features, for example the copy link button and the “more” share options button,
   so I had to remove it. (Though strangely, other share icons still worked). I 
   guess this means there are some code elements within sassy-social-share-public.
   js that are -not- unused? Is it possible to strip out only these unused javascript
   within the .js file?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HT Mega Addons for Elementor - Elementor Widgets & Template Builder] Compatibility issue with WP Rocket](https://wordpress.org/support/topic/compatibility-issue-with-wp-rocket-2/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/compatibility-issue-with-wp-rocket-2/#post-18513326)
 * Thanks – do you have an estimated date of when the next plugin update with a 
   fix for this should be released?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HT Mega Addons for Elementor - Elementor Widgets & Template Builder] Compatibility issue with WP Rocket](https://wordpress.org/support/topic/compatibility-issue-with-wp-rocket-2/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/compatibility-issue-with-wp-rocket-2/#post-18511989)
 * I actually have very little elements/widgets enabled on HT Mega but am still 
   getting this error about Lazy Loading on image magnifier / image comparison in
   WP Rocket.
 * I only have these elements enabled: Ads Banner, Button, Search, Animate Heading
   
   And only this third party widget enabled: bbPress
    -  This reply was modified 10 months, 3 weeks ago by [savingyourtail](https://wordpress.org/support/users/savingyourtail/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HT Mega Addons for Elementor - Elementor Widgets & Template Builder] Compatibility issue with WP Rocket](https://wordpress.org/support/topic/compatibility-issue-with-wp-rocket-2/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [10 months, 3 weeks ago](https://wordpress.org/support/topic/compatibility-issue-with-wp-rocket-2/#post-18511165)
 * Thanks for the reply. I checked and I do not have either of those widgets enabled
   on my site. (Image magnifier or image comparison). Do you think it’s an error
   then that the lazy loading is being disabled? Please let me know if you need 
   any additional info.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Lottie javascript](https://wordpress.org/support/topic/lottie-javascript/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18329799)
 * Ok great – thank you
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Premium Addons for Elementor - Powerful Elementor Templates & Widgets] Lottie javascript](https://wordpress.org/support/topic/lottie-javascript/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/lottie-javascript/#post-18320604)
 * Thank you. Here is a page link:
 * [https://savingyourtail.com/how-we-saved-on-tax-preparation-fees/](https://savingyourtail.com/how-we-saved-on-tax-preparation-fees/)
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Hiding posts from main page/archive but not RSS feed](https://wordpress.org/support/topic/hiding-posts-from-main-page-archive-but-not-rss-feed/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/hiding-posts-from-main-page-archive-but-not-rss-feed/#post-17858907)
 * I figured out the issue, or at least a work-around. I have a custom theme and
   there is custom shortcode buried in functions.php that generates the post lists.
   Placing the following code in the while loop that generates the posts solved 
   the problem and now posts are being hidden as desired.
 *     ```wp-block-code
                   while($query->have_posts()) :
                        $query->the_post() ;
                       $post_ids = get_the_ID() ;
                       $exclude_ids = array(2324,2325,2327);
                       if(!in_array($post_ids, $exclude_ids)){
       ```
   
    -  This reply was modified 1 year, 10 months ago by [savingyourtail](https://wordpress.org/support/users/savingyourtail/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Hiding posts from main page/archive but not RSS feed](https://wordpress.org/support/topic/hiding-posts-from-main-page-archive-but-not-rss-feed/)
 *  Thread Starter [savingyourtail](https://wordpress.org/support/users/savingyourtail/)
 * (@savingyourtail)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/hiding-posts-from-main-page-archive-but-not-rss-feed/#post-17858280)
 * Thanks for the suggestions. I’ve incorporated them all below. I tried both approaches,
   exclusion by category ID and exclusion by post ID, but unfortunately the posts
   are still visible even with these methods. (Caches were cleared & post ID’s and
   category ID’s double checked). What else could the problem be? Below is the updated
   code.
 *     ```wp-block-code
       function myFilter($query) {    if (! $query->is_feed) {        $query->set('cat','-1'); //Don't forget to change the category ID    }return $query;}add_action('pre_get_posts','myFilter');
       ```
   
 *     ```wp-block-code
       function exclude_posts_from_homepage($query) {    if ($query->is_home() && $query->is_main_query() && ! $query->is_feed) {        // Replace with the IDs of the posts you want to exclude from the homepage        $exclude_posts = array(2324,2325,2327); // Replace with actual post IDs                // Exclude posts from the homepage        $query->set('post__not_in', $exclude_posts);    }}add_action('pre_get_posts', 'exclude_posts_from_homepage', 99999);
       ```
   

Viewing 15 replies - 1 through 15 (of 29 total)

1 [2](https://wordpress.org/support/users/savingyourtail/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/savingyourtail/replies/page/2/?output_format=md)