• 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

Need some help about Hooks and Genesis customization

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 › Need some help about Hooks and Genesis customization

This topic is: resolved

Tagged: archives, blog, entry, feature image

  • This topic has 1 reply, 2 voices, and was last updated 9 years, 2 months ago by carasmo.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 25, 2016 at 1:11 am #179862
    Bensogo
    Member

    Hi Genesis community,

    For the first time, we use Genesis and are building our first custom theme from the genesis sample, we enjoy so much Genesis Framework.
    We have achieved a lot of things, we have find lot of tips in the forum, documentations, tutorials, but now but we are locked on some small points.
    We will be glad to find some help ๐Ÿ™‚

    To see the website we develop:
    http://odyssea2016.wpengine.com/
    login: demo
    password: odyssea

    6 questions ๐Ÿ™‚

    1. How to add a class to the featured image in single post page?
    —> http://odyssea2016.wpengine.com/re-trouvez-le-bon-equilibre-avant-lete/

    2. How to remove entry-categories (category list) in entry-meta, on bottom of each post?

    3. How to change the text ยซ Tagged With ยป in entry-tags in entry-meta?

    4. How to display archive title + description in the archives page (post archives, tags archives and other archives)? We could do it for the title but not for the description.
    —> http://odyssea2016.wpengine.com/category/forme-et-sante/ (category)
    —> http://odyssea2016.wpengine.com/tag/chaussures/ (tag)

    5. How to display archive title + description in the blog page? We could do it for the title but not for the description.
    —> http://odyssea2016.wpengine.com/news/

    6. How to relocate the title of the pages in another hook, we could partially do it, but the title is duplicated but not remove?
    —> http://odyssea2016.wpengine.com/questions-frequentes/

    On more time, thank a lot for your help!

    http://odyssea2016.wpengine.com/
    February 25, 2016 at 10:31 pm #179942
    carasmo
    Participant

    1. Google for https://www.google.com/search?q=How+to+add+class+to+Genesis+featured+image&ie=utf-8&oe=utf-8
    4 down: http://victorfont.com/genesis-framework-add-a-custom-css-class-to-elements/
    look for genesis_attr_entry-image

    2. See the documentation, it's https://my.studiopress.com/snippets/post-meta/

    3. Same as above

    4. You want the archive title and description on the page, https://gist.github.com/braddalton/5432602
    change the conditional to include the tag and author and home (google for Conditionals in WordPress and operators in PHP), and format it better, it's hard to read:

    
    /**
    * @author Brad Dalton - WP Sites
    *
    * @link http://wpsites.net/web-design/display-image-on-all-category-pages/
    */
    
    function themeprefix_display_category_archives_description () {
        if ( is_category() || is_tag() || is_author() || is_home() ) {
            echo category_description( $category-id );
        }
    }
    add_action( 'genesis_before_loop', 'themeprefix_display_category_archives_description');
    

    5. Same as 4 is_home() is the blog page even if it's not your actual home/front page.

    6. When you add an action to another location, you have to remove the action from the previous location. Look in the docs.


    Genesis Theme Customization and Help

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

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