• 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

Blog lists only sticky posts on top

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 › Blog lists only sticky posts on top

This topic is: not resolved
  • This topic has 5 replies, 2 voices, and was last updated 11 years ago by trash.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • October 2, 2015 at 9:06 am #167239
    trash
    Participant

    Hello,
    I use Genesis on a few websites, but I recently discovered one issue (after updating Genesis and WP 4.3.1). The blog does not list the posts by date descending. I can only show the newest blog post when I make it a sticky one. Otherwise the post is lost somewhere on another page.

    I use this Grid Loop from Bill Erickson: http://www.billerickson.net/a-better-and-easier-grid-loop/

    And I only modified the query as follows:

    add_action( 'pre_get_posts', 'be_change_event_posts_per_page' );
    /**
    * Change Posts Per Page for Event Archive
    *
    * @author Bill Erickson
    * @link http://www.billerickson.net/customize-the-wordpress-query/
    * @param object $query data
    *
    */
    function be_change_event_posts_per_page( $query ) {

    if( $query->is_main_query() && !is_admin() && (is_post_type_archive( 'product' ) || is_taxonomy( 'product_cat' )) ) {
    $query->set( 'posts_per_page', '12' );
    }

    if( $query->is_main_query() && !is_admin() && ( is_category( 'diy' ) || is_category( 'freebies-download' ) || is_category( 'deko-styled-by-frl-k' ) ) ) {
    $query->set( 'posts_per_page', '12' );
    }

    if( $query->is_main_query() && !is_archive() ) {
    $query->set('category__not_in', '667');
    }
    }

    Does anybody know how can that happen and how I can fix this? I do not want to use sticky posts at all.

    Thanks!

    October 2, 2015 at 11:29 am #167241
    karlaarcher
    Member

    Can you post a link to your site? It's always easier to help if we can see what you see.


    Karla Archer
    archercreative.com

    October 2, 2015 at 12:31 pm #167245
    trash
    Participant

    Sure, sorry to not mention the page.

    The website can be found here:

    Startseite

    Thanks!

    October 2, 2015 at 1:50 pm #167252
    karlaarcher
    Member

    Thanks for the link --

    On the homepage I'm seeing all posts in descending order/newest to oldest (first post is 10/2/15, then 9/30/15 etc). Is there another page you're seeing this happen on?


    Karla Archer
    archercreative.com

    October 2, 2015 at 2:08 pm #167256
    trash
    Participant

    On the page the posts are currently listed in descending order, but this only works fine, because all of the posts are set up as "sticky posts". If I remove the status of being sticky from the first post, it completely vanishes from the page.

    October 21, 2015 at 5:03 pm #168684
    trash
    Participant

    Does anybody have an idea? This issue is very weird for me...

    Would be glad if somebody knows something... Thanks!

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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