• 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

Sticky post not sticky enough

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 › General Discussion › Sticky post not sticky enough

This topic is: resolved

Tagged: sticky post

  • This topic has 4 replies, 2 voices, and was last updated 11 years, 9 months ago by Timmidrengen.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 20, 2014 at 12:18 pm #110806
    Timmidrengen
    Member

    Hi again, can someone please explain how to make the GRAY post placed as number 2 on this site stay on top .

    Home page

    I have set it up to be STICKY but NORDIC ROASTER FORUM 2014 post still goes in on top of it.

    Please help.....

    Thanks 🙂

    http://nordicbaristacup.com/
    June 20, 2014 at 12:48 pm #110815
    JanHoek
    Participant

    Did you use a custom grid_loop? Try to add the following code to your functions.php And save the "sticky" post again

    add_filter( 'posts_results','child_query_is_home' );
    
    function child_query_is_home( array $args ) {
    	global $wp_query;
    	$wp_query->is_home = true;
    	return $args;
    }

    I don't know if this works but we can give it a try.

    Properly it got something to do with some custom code in your functions.php


    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    June 20, 2014 at 1:42 pm #110826
    Timmidrengen
    Member

    Hi JanHoek,

    Thanks for your reply, I tried your suggestion but it messed up the site.

    So I reserved the sticky post and now it is on top as wanted.

    Best regards

    Timmi

    June 20, 2014 at 1:49 pm #110827
    JanHoek
    Participant

    Sorry Timmi, we don't know everything. Glad it worked out fine.


    Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.

    June 20, 2014 at 1:53 pm #110829
    Timmidrengen
    Member

    No problem Jan, neither do I 🙂

    Thats why I am glad I can get help from you guys.......

    Thanks for the reply.

    Timmi

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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