• 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

Style attachment 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 › Style attachment page?

This topic is: not resolved

Tagged: attachment page, images, post meta

  • This topic has 6 replies, 3 voices, and was last updated 12 years, 7 months ago by Bart van Maanen.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 13, 2013 at 6:59 pm #11709
    popbytes
    Member

    Hello!

    I am trying to make some tweaks to my attachment page -

    Here's an example

    Nicki Minaj

    I would like to remove all the post info and the meta stuff - and the author box -

    Also Ideally I wish I could have previous and next buttons for the images within this particular gallery, which you can see here

    Who’s ready for ‘American Idol’ season 12?

    I made an attachment.php file and put some stuff in there, like removing the meta but it didn't work

    I am pretty savvy with figuring stuff out, I think I just need some basic direction on which way to go!

    Thanks in advance!

    MK / PopBytes

    January 19, 2013 at 1:23 pm #13121
    Brad Dalton
    Participant

    Use Genesis Simple Edits and/or Genesis Simple Hooks plugin for this.

    Unhook all the stuff you don't want including the author box, post info and post meta data.

    This plugin is great for images http://wordpress.org/extend/plugins/carousel-without-jetpack/


    Tutorials for StudioPress Themes.

    January 19, 2013 at 1:25 pm #13123
    popbytes
    Member

    Yes, I could do that but then it would remove it everywhere, I only want to remove it specifically on the attachment page

    January 19, 2013 at 1:30 pm #13126
    Brad Dalton
    Participant

    Well then you could use a conditional tag http://codex.wordpress.org/Conditional_Tags#A_Single_Page.2C_Single_Post_or_Attachment


    Tutorials for StudioPress Themes.

    January 19, 2013 at 1:48 pm #13131
    popbytes
    Member

    I think I am getting there - would the syntax be like this? Am I close? I tried to place in functions.php and it didn't work 🙁

     

    <?php

    if ( is_attachment() ) {

    remove_action('genesis_after_post_content', 'genesis_post_meta');
    }
    ?>

    January 20, 2013 at 8:20 am #13271
    Brad Dalton
    Participant

    Here's your answer here:

    Post Info

    Post Meta

    Change the conditional tag


    Tutorials for StudioPress Themes.

    January 22, 2014 at 2:32 pm #86524
    Bart van Maanen
    Participant

    Since you mentioned the Gallery Caroussel, Brad. Will the images rendered behave responsive in the Minimum Pro theme?

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