Portfolio Category Page (with excerpts)?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #17732
    ChickenJoe
    Participant

    Hello! Thanks for the awesome theme.

    I am creating a site and have an issue that I can’t quite figure out.
    It is for an event and the home page is the blog page with 3 columns.

    I also need a menu link to a categories ‘page’ for events. I want this categories page to be 4 column AND to show the excerpts.

    SO, should I create a new blog page? I can select “blog, four column” under templates? But can I specify a specific category/categories for that page?

    OR, should I create a category page for ‘events’ and select that as the portfolio page? If so, how do I get the portfolio page to show excerpts?

    The site will eventually be here, but currently it forwards to the old site.
    http://www.beaufortwineandfood.org
    Unfortunately, it forwards to an old site until the new one is complete. I can turn off the forwarding for small intervals if need be.

    #17748
    Daniel Tara
    Keymaster

    You need to open each content-*.php file and replace this code:

    <?php if( ! is_category( pinboard_get_option( 'portfolio_cat' ) ) && ! ( is_category() && cat_is_ancestor_of( pinboard_get_option( 'portfolio_cat' ), get_queried_object() ) ) ) : ?>
    	<div class="entry-summary">
    		<?php the_excerpt(); ?>
    	</div><!-- .entry-summary -->
    <?php endif; ?>

    with this one:

    <div class="entry-summary">
    	<?php the_excerpt(); ?>
    </div><!-- .entry-summary -->
    #17806
    ChickenJoe
    Participant

    Worked like a charm. Opened all content-*.php files. Found the ones with the exact code above and copied them into my child theme. Replaced the code as suggested and everything is looking like I needed it to. Thanks for the response, and the exceptional theme.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.