WordPress.org

Ready to get started?Download WordPress

Forums

Portfolio Press
Add text to portfolio page (5 posts)

  1. Angela Spencer
    Member
    Posted 1 year ago #

    Hi
    My site is at http://lgbti.spencer-webs.com/. I wish to add a block of text below the portfolio images, would that be possible?
    Many thanks,
    Angela

  2. keesiemeijer
    moderator
    Posted 1 year ago #

    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.

  3. Angela Spencer
    Member
    Posted 1 year ago #

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

  4. keesiemeijer
    moderator
    Posted 1 year ago #

    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.

  5. Angela Spencer
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic