• 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

Hook Help

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 › Hook Help

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 10 years, 4 months ago by bburro.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 8, 2015 at 8:13 am #173202
    bburro
    Member

    Greetings--

    I am trying to remove a couple items from my website, and have been experimenting with the hook/filter process. I have a test site up on my localhost to play with the functions.php but have had no luck.

    I would like to understand how to use firebug and chrome inspector to identify the right hook to remove-- I would thing that once I find the right one, a "display: none" on the CSS would make it disappear, and I could move forward to removing it in the functions.php...

    Also- what are the advantages of modifying functions.php rather than just using CSS? My thought would be that the code would only need to render the remove_action once, but CSS would have to be rendered in each instance-- after each text-widget, or whatever. If I am correct, Is that the only advantage?

    I am trying to remove the "footer .entry-footer" and this didn't work

    //* Remove entry footer meta
    remove_action( 'genesis_entry_footer', 'genesis_entry_meta', 12 );
    

    I am also trying to remove the ".sidebar .widget::after"

    I have used CSS to remove them. How would I correctly apply the hooks...?

    Thanks for all your help!

    http://customcreationstx.com
    December 8, 2015 at 12:49 pm #173224
    Victor Font
    Moderator

    What you are removing is the entry meta (date, author, etc.) from the entry footer area. Use this snippet to remove the entry footer markup: http://my.studiopress.com/snippets/entry-footer/#remove-markup

    .sidebar .widget::after is CSS. Before and after are CSS pseudo elements. If you don't want this to display, remove its CSS from style.css.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    December 8, 2015 at 2:20 pm #173229
    bburro
    Member

    Victor-- Thank you for your help. I understand what you are saying with the pseudo elements-- what I am trying to remove is the border-bottom attribute that follows each widget in the sidebar. After adding the 'remove markup' snippet you shared with me, I see that this can also accomplish my goal for the sidebar widgets (once I find the right snippet)-- it removed the border attribute from the bottom of each post, which is something I also was trying to do.

    Having said that, the "filed under XXXXX" element is still showing up after each post, which is my final objective. What am I missing?

    Once again, thank you so much for your time!

    I can remove the CSS from the live site that is hiding these elements if that will make things easier.

    --Blake

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