Support » Theme: Portfolio Press » Add text to portfolio page

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    moderator

    Try it with this in your (child) theme’s functions.php:

    register_sidebar(array(
    		'name'=> __( 'Below Portfolio Images', 'portfoliopress' ),
    		'id' => 'below_portfolio_images',
    		'before_widget' => '<div id="%1$s" class="widget-container %2$s">',
    		'after_widget' => "</div>",
    		'before_title' => '<h3 class="widget-title">',
    		'after_title' => '</h3>',
    ));

    and put this content-portfolio.php in your child theme: http://pastebin.com/e6s6MvT4

    Now you can use a text widget for the text below the images.

    Many thanks for your help keesiemeijer but that caused the site to crash!

    Moderator keesiemeijer

    (@keesiemeijer)

    moderator

    Did you get an error or just a blank screen?

    Can you paste and submit the full code of your child theme’s functions.php and content-portfolio.php into a pastebin.com and post the link to it here? see the Forum Rules for posting code and using the pastebin.

    Many thanks, but the requirement now is to load latest posts below the portfolio items. I will open a new thread if I encounter problems

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add text to portfolio page’ is closed to new replies.