• 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

Portfolio content 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 › General Discussion › Portfolio content page…

This topic is: not resolved
  • This topic has 6 replies, 3 voices, and was last updated 12 years, 10 months ago by tracyBCarpenter.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 20, 2013 at 7:04 am #41818
    maa
    Member

    Hello there,

    Is it possible to have a litte introduction text above my portfolio-page (the text on the page)?

    May 20, 2013 at 4:27 pm #41905
    AnitaC
    Keymaster

    What theme are you using? Please provide a link to your site, more specifically to your portfolio page.


    Need help with customization or troubleshooting? Reach out to me.

    May 22, 2013 at 12:20 pm #42227
    tracyBCarpenter
    Member

    I'd love to do this too!  It's: http://tracycarpenter.info/portfolio/

    The trick (whatever it may be) is to figure out how to control the content for just the category, and not the posts.

    page_portfolio.php has this:

    remove_action('genesis_post_content', 'genesis_do_post_content');

    If you comment it, you get the content not just for the archive, but for the posts as well.

    May 22, 2013 at 12:34 pm #42229
    tracyBCarpenter
    Member

    Nailed it!

    FROM:

    // Remove default content for this Page Template
    remove_action('genesis_post_content', 'genesis_do_post_image');
    remove_action('genesis_post_content', 'genesis_do_post_content');

    TO:

    // Remove default content for this Page Template
    remove_action('genesis_post_content', 'genesis_do_post_image');
    add_action('genesis_post_content', 'genesis_portfolio_content');
    function genesis_portfolio_content() {
    if ( ! in_category( 'portfolio' ) )
    remove_action('genesis_post_content', 'genesis_do_post_content');
    }

     

    May 28, 2013 at 9:12 am #42919
    maa
    Member

    Great that you found out...

    Look at my code:

    <?php
    /*
    Template Name: Portfolio
    */

    /** Force the full width layout layout on the Portfolio page */
    add_filter( 'genesis_pre_get_option_site_layout', 'lifestyle_portfolio_layout' );
    function lifestyle_portfolio_layout( $opt ) {
    return 'full-width-content';
    }

    /** Remove the standard loop */
    remove_action( 'genesis_loop', 'genesis_do_loop' );

    /** Add the Portfolio widget area */
    add_action( 'genesis_loop', 'lifestyle_porfolio_widget' );
    function lifestyle_porfolio_widget() {
    dynamic_sidebar( 'portfolio' );

    }

    add_action('genesis_before_loop', 'genesis_do_post_title', 5);
    add_action('genesis_before_loop', 'genesis_do_post_content', 6);

    genesis();

     

     

    Where do I edit the code? Can you please help me in the right direction?

    May 29, 2013 at 1:23 am #43025
    maa
    Member

    Anitac, you can view my portfolio at http://www.m o b i . n l/collectie/banken/. I am using the Lifestyle theme.

    June 4, 2013 at 9:48 pm #44107
    tracyBCarpenter
    Member

    If you could send a link to your page, that would be very helpful.

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

© 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