• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Category Sticky Post

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Category Sticky Post

This topic is: not resolved

Tagged: category stick post, focus pro, post, sticky

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 4 months ago by kathyosborne.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 10, 2016 at 2:17 pm #196003
    kathyosborne
    Participant

    I have a few different category blog pages on this website. I made posts that I want to be sticky. When the standard wp "sticky" didn't work, I tried a few category sticky plugins, such as this one: https://wordpress.org/plugins/category-sticky-post/

    Its still not sticking to the top.

    For example: http://www.kodyobear.com/awards/

    The "awards" post should be first. Then the "Congratulations to Hope Craig for receiving the Kody O’Bear Community Student Award" should be under it.

    Any advice? I'm not sure what I'm doing wrong and can't find any other solutions on the boards...
    Thanks!
    Kathy

    http:// http://www.kodyobear.com/awards/
    November 11, 2016 at 7:06 am #196024
    Victor Font
    Moderator

    You're not doing anything wrong. This is how WordPress works. To have category sticky posts, you have to create a custom loop. WordPress designed sticky posts to display at the top of the first page of the standard loop only. https://codex.wordpress.org/Sticky_Posts. You would have to create a custom category page and include a custom loop like the following before the standard loop:

    $sticky_posts = new WP_Query( array(
        'post__in' => get_option( 'sticky_posts' )
    ) );
    
    if ( $sticky_posts->have_posts() ) : while ( $sticky_posts->have_posts() ) : $sticky_posts->the_post() );
        // Loop markup here
    endwhile; endif;
    // IMPORTANT
    wp_reset_postdata();

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    November 11, 2016 at 8:28 am #196028
    kathyosborne
    Participant

    Thanks. I'm curious why the plugins won't work with this?

    So - just to clarify - I need to create a custom category for each category for each one (right now two of my category pages need different sticky notes) that would need a sticky note at the top?

    Thanks!
    Kathy

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble