Category Sticky Post
[resolved] Adds the Category to my nav menu (5 posts)

  1. dpolcino
    Posted 3 years ago #

    Great plugin, just oddly I get the category added to my top nav for some reason! Any idea on how to stop it from doing that?

    Also, can I just remove the styling all together so it uses my theme's style?


  2. DrRogg
    Posted 2 years ago #

    Not sure why it would be added to your top nav - are you using the old menu code (i.e. pre-WordPress 3.0)?

    To remove the stylesheet, use this. You may need to restyle it yourself in your theme's style.css.

    function rog_dequeue_sticky_styles() {
        wp_dequeue_style( 'category-sticky-post' );
    add_action( 'wp_enqueue_scripts', 'rog_dequeue_sticky_styles', 10 );
  3. tommcfarlin
    Plugin Author

    Posted 2 years ago #

    Hey Dpolcino,

    I don't think this plugin is adding anything to your top-level menu. There's nothing that's actually in the code that should do this.

    And @DrRogg is spot on for dequeueing the styles.

  4. dpolcino
    Posted 2 years ago #

    Hah I don't even remember this issue! But it's all good now!

  5. tommcfarlin
    Plugin Author

    Posted 2 years ago #

    Ha! Awesome - glad to hear it :).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Category Sticky Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.