→→ Please check out our new WP Theme: Navian - Responsive Multi-Purpose WordPress Theme ←←
- In case you can't login to submit a ticket, please hard refresh the browser and try again.
If the problem persists, please submit your questions via THEMELOGI profile page instead.

- Regrading the plugin activation, please have a look at Bundled Plugin License information.
- If you couldn't import demo content or you got the message "Failed to import", please see our FAQs page. Thank you :)
- We've updated the theme to be compatible with latest WordPress version, please update your theme as in the article here

Tickets Tickets Wanium Show Portfolio Excerpt

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10389

    Hi, I wonder how to add excerpt or description on portfolio archive after the thumbnail image?

    Thank you.

    #10399
    Danny
    Supporter

    Hi there,

    Thanks for writing in!

    To resolve this issue, please follow the steps below:

    1. Open up the tlg_cpt.php file in wp-content/plugins/tlg_framework/includes folder, find the code below (around line 33) :

    'supports' => array( 'title', 'editor', 'thumbnail', 'post-formats', 'comments' ),

    … and change it into this:

    'supports' => array( 'title', 'editor', 'thumbnail', 'post-formats', 'comments', 'excerpt' ),

    2. Our theme comes with multiple portfolio layout, so for example, to add the excerpt below the portfolio thumbnail in portfolio archive page (Grid Full 3 Columns), please open up the inc-full-grid-3col.php file in themes/wanium/templates/portfolio folder, find the code below (at bottom of the file) :

    echo !$portfolio_link['lightbox'] ? wp_kses($portfolio_link['sufix'], wanium_allowed_tags()) : '';

    … and change it into this:

    echo !$portfolio_link['lightbox'] ? wp_kses($portfolio_link['sufix'], wanium_allowed_tags()) : '';
    global $post; echo '<div>'.$post->post_excerpt.'</div>';

    3. Then you can go to your portfolio editor, scroll to bottom and add your excerpt in there.

    P.S: You can do the same for other portfolio layouts in the themes/wanium/templates/portfolio folder (inc-…php files).

    Hope this helps,
    Danny

    #12329

    How would you go about making the excerpt the text that rolls over the image in the masonry instead of the categories?

    #12331
    Danny
    Supporter

    Hi there,

    Thanks for writing in!

    In this case, please share us your site URL and the admin account of your site via private reply so we can investigate your case and help you out. Also, please point to specific page where we can see your portfolio and excerpt text. Any screenshots would be welcomed! (you could upload your images into https://imgbb.com/ and share the link here).

    Best regards,
    Danny

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.