• 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 Posts Title only at Home Page

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 › Sticky Posts Title only at Home Page

This topic is: resolved
  • This topic has 10 replies, 2 voices, and was last updated 8 years, 9 months ago by Brad Dalton.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • June 14, 2014 at 10:41 am #109737
    wbxpress
    Member

    Hi,

    I am using Eleven40 pro theme and the latest posts with excerpts are displayed in the home page. I would like to display only the title of sticky posts. Can anybody help me in this regard?

    June 14, 2014 at 11:26 am #109739
    Brad Dalton
    Participant

    Link to your site please.


    Tutorials for StudioPress Themes.

    June 14, 2014 at 12:19 pm #109751
    wbxpress
    Member

    http://wbxpress.com/

    June 14, 2014 at 12:49 pm #109767
    Brad Dalton
    Participant

    Do you want to display other posts?

    Or only sticky posts and only the title of sticky posts?

    What you can use is pre_get_posts or WP_Query

    Another option is to add remove_actions in your home.php file


    Tutorials for StudioPress Themes.

    June 15, 2014 at 7:35 am #109856
    wbxpress
    Member

    I want to display title of Sticky Posts at first. Then comes the latest post with excerpts.

    I am not using home.php because it can not display handcrafted excerpts in my home page. All posts of my blog do have a handcrafted excerpts.

    June 15, 2014 at 8:47 am #109765
    Brad Dalton
    Participant

    Do you want to display other posts?

    Or only sticky posts and only the title of sticky posts?

    What you can use is pre_get_posts or WP_Query

    Another option is to add remove_actions in your home.php file


    Tutorials for StudioPress Themes.

    June 16, 2014 at 12:31 am #109945
    Brad Dalton
    Participant

    Try this without the shortcodes if they're displaying:

    .home .sticky .entry-content {
    display: none;
    }
    

    Tutorials for StudioPress Themes.

    June 16, 2014 at 9:06 am #109987
    wbxpress
    Member

    Do you want to display other posts?

    Yes.

    Or only sticky posts and only the title of sticky posts?
    Other post+Title of Sticky post

    Another option is to add remove_actions in your home.php file
    home.php is not in use.

    I understand that you are trying to help me. But, being a novice, I could not manage to use the solutions you provided above.

    Can you please write a code which I shall put in functions.php of the child theme and it will work?

    June 16, 2014 at 12:17 pm #110010
    Brad Dalton
    Participant

    The CSS works perfectly as i tested it. Please use that.


    Tutorials for StudioPress Themes.

    June 26, 2014 at 3:28 am #111604
    wbxpress
    Member

    WOW! It is working perfect. Thanks for the code.

    I also need to remove "Filed Under: Category" and "Tagged With: Tag" text below the Sticky post title only. Is it possible to remove only with the sticky posts title?
    Those texts should be present in other posts as well.

    P.S. Sorry for a delayed reply.

    June 26, 2014 at 3:40 am #111607
    Brad Dalton
    Participant

    Please start another post for a new question. Thanks.


    Tutorials for StudioPress Themes.

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

© 2023 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