Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1040069

    Dear Enfold team,

    For a project I am looking for a portfolio item hook. I would like to show the category name under the title. Can you help me in this.

    See Screenshot for the result what I want.

    Thx!

    #1040182

    Hey FullPixel,

    There is no hook available to add that category there.
    However you can override the Portfolio Grid in the child theme, you can check in our documentation on how to override it: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#add-elements-to-alb
    The file you need to override and you’ll need to copy from is enfold > config-templatebuilder > avia-shortcodes > portfolio > portfolio.php
    Then find this code in line 652:

    $output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".$excerpt."</div>" : '';

    above it you can add your category, just place it inside the $output variable. Hope this helps.

    Best regards,
    Nikko

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