• 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

Hide the icon Standard (Post Formats), in the Pages

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 › Hide the icon Standard (Post Formats), in the Pages

This topic is: resolved

Tagged: Post Formats

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 1 month ago by macrunner.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 7, 2014 at 4:25 am #108433
    macrunner
    Participant

    If I enable support for Post Formats everything works, but all pages show the icon Standard (default.png)
    Any page that I create I see the icon Standard.
    I would like to hide the icon Standard, only in the pages.

    I also tried a new WordPress installation with Genesis + Genesis Sample.
    In the functions.php I added the following code to support, and nothing else:

    add_theme_support( 'post-formats', array(
    	'aside',
    	'audio',
    	'chat',
    	'gallery',
    	'image',
    	'link',
    	'quote',
    	'status',
    	'video'
    ) );
    
    add_theme_support( 'genesis-post-format-images' );

    In the images folder I added the post-formats folder, which contain icons.
    Same result, if I create a new Page that shows the icon Standard.
    Is there a way to disable this icon? (pages only)

    Thanks for any help

    June 7, 2014 at 7:52 am #108440
    rfmeier
    Member

    Hello,

    There are a few ways to do this. I would do this by replacing the default Genesis callback for the appropriate action and replacing it with a custom callback function. Within my custom function, I would then call the original Genesis callback function (that will display the post format icon) if and only if a certain criteria is met. I included an example below;

    https://gist.github.com/rfmeier/d87c2fd0352b428d20a9


    Ryan Meier – Twitter

    June 7, 2014 at 11:57 am #108454
    macrunner
    Participant

    Hi Ryan,

    it works fine, great! But if I use it with the code that disables links and alt text: http://www.studiopress.community/topic/disable-link-and-alt-on-the-icons-post-formats/

    a conflict occurs, the icons doubles:

    screenshot

    The first icon is as I would like, without link and without alt info, but is also seen in Pages.
    The second icon is seen only in Posts, but has links and alt info.

    Thank you so much for the help

    June 7, 2014 at 12:38 pm #108456
    rfmeier
    Member

    @macrunner

    I forgot about that already. The logic for can just be adjusted to the code that removed the link. Here is the updated code to the gist that will remove the link. You can disregard the original code I originally gave you in this thread.

    https://gist.github.com/rfmeier/8cbe9895612a9dff5a95


    Ryan Meier – Twitter

    June 7, 2014 at 1:11 pm #108462
    macrunner
    Participant

    It works perfectly!
    Thanks for helping me, you're very kind 😉

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