Tagged: 

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

    In angular the current default for related categories is something like “Related Entries”.

    I would actually like to display the Portfolio Category Title of all the Related posts at the bottom of the page. For example: Instead of “Related Entries” it would read “Additional Logo Entries”. Where “Logo” is the portfolio category for the currently displayed entry.

    Any help would be appreciated. Thanks Jason

    Here is the code I am looking to replace with the Category Name:

    $output .= avia_advanced_hr(__(Related Entries','avia_framework'));

    #73718

    Hey!

    Try to replace:

    $output .= avia_advanced_hr(__('Related Entries','avia_framework'));

    with:

    $output .= avia_advanced_hr($tags[0]);

    Best regards,

    Peter

    #73719

    Great thanks. That gave me the direction I needed.

    Here is the code that worked for me.

    $my_tag = $tags[0]->name;

    $output .= avia_advanced_hr($my_tag);

    #73720

    Hi,

    Glad that you found the solution. :)

    Cheers,

    Ismael

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

The topic ‘Display Related Portfolio Category Title (Name)’ is closed to new replies.