• 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

nkeat

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 11, 2015 at 11:10 pm in reply to: Wrap category links in corresponding div/class #140569
    nkeat
    Member

    **The desirable html output would be something like <p class=”entry-meta”><span class=”entry-categories careers”>Careers</span> </p>

    anything so i can uniquely target each category via css

    Thanks!

    February 11, 2015 at 11:08 pm in reply to: Wrap category links in corresponding div/class #140568
    nkeat
    Member

    Have not figured this out! Please help! @susan

    April 29, 2014 at 1:39 pm in reply to: Remove entry-content from infinite scroll homepage #102980
    nkeat
    Member

    **To clarify, the following function works for the first page, before the infinite scroll kicks in (ie I dont have to hide via css for the first page).

    How can I adapt this function to include pages that are loaded by infinite scroll?

    add_action('genesis_before','remove_some_actitons');

    function remove_some_actitons() {

    if ( is_home() ) {

    remove_action( 'genesis_entry_content', 'genesis_do_post_content' );
    }

    }

    April 29, 2014 at 1:29 pm in reply to: Remove entry-content from infinite scroll homepage #102978
    nkeat
    Member

    Ya here is the screenshot without the "display:none" (see inspector)

    http://imgur.com/sIVPr7y

    And here is how it is supposed to look with display none enabled (see inspector).
    http://imgur.com/2ST3CGb

    The issue is that obviously the pages created by infinite scroll increase every 10 articles. Hence the need to create css markup seen in my originial question.

    I'm wondering the what the proper function is so I can achieve this (remove entry content from homepage index) without using css.

    Thanks!

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)

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