• 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

modify archive.php focus pro

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 › modify archive.php focus pro

This topic is: not resolved

Tagged: Archive layout, customizing

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 7 months ago by saralaughs.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 30, 2015 at 3:48 pm #169670
    saralaughs
    Member

    Hey everyone. I'm using the Focus Pro child theme. I'd like to simplify my archives considerably.. What comes up now looks like this:

    CATEGORY TITLE

    POST/PAGE TITLE
    leave a comment (edit)

    EXCERPT

    And a big space between listings...

    POST/PAGE TITLE
    leave a comment (edit)

    EXCERPT

    Then it repeats itself, of course. What I want is:

    CATEGORY TITLE

    POST/PAGE TITLE (with link) | category 1, category 3
    POST/PAGE TITLE (with link) | category 3
    POST/PAGE TITLE (with link) | category 6, category 2
    POST/PAGE TITLE (with link) | category 20, category 8

    That is: no excerpts, no dates or authors. Just title, link, categories.

    I know about duplicating and then changing the archive.php file, but I'm finding it too complicated from within Focus Pro/Genesis. I also looked for plugins, with (not surprisingly) no success.

    Any pointers much appreciated.

    http://thegildedhour.com
    October 31, 2015 at 2:44 am #169698
    Porter
    Participant

    As a starting point, add this to your functions.php:

    add_action ( 'genesis_entry_header', 'themeprefix_remove_post_meta' );
    function themeprefix_remove_post_meta() {
    	if (is_archive()) {
    		remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); //Date, author, etc.
    		remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); //Featured image
    		remove_action( 'genesis_entry_content', 'genesis_do_post_content' ); //The Excerpt
    	}
    }

    This will remove the date, author, etc, the featured image if shown, and the excerpt, which should simply leave the title as a link, and the category. Your biggest issue then will be making it look good. I'd definitely consider creating a custom archive template if you can't achieve what you're looking for with the above, as the actual visuals of this may require it. One final note, that site is currently taking 12+ seconds to load according to a chrome extension I use, you may want to look into that.


    Buy me a beer? | Try DigitalOcean VPS Hosting

    November 1, 2015 at 6:00 pm #169838
    saralaughs
    Member

    Thank you, Porter. That did the trick.

  • 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

© 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