Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #821518

    I’m trying to display the name of a given portfolio category on the portfolio category archive page and have tried multiple ways to get there. According to this post: https://kriesi.at/support/topic/show-portfolio-category-on-portfolio-pages/#post-540059
    category names do not automatically display on archive pages and they show a solution. That solution does not work for me. Its not even the right page template.

    The page template that my portfolio category page is using is: taxonomy-portfolio_entries.php

    The portfolio description shows correctly.

    How can I get the portfolio category name to display on the portfolio category archive page? (taxonomy-portfolio_entries.php)

    #821763

    Hey psstudiosinc,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? The solution in the post above is not using a template, you can use that anywhere, please check it again.

    Best regards,
    Victoria

    #823050

    Hi,

    I’m using the following method to display categories and tags on the single portfolio item: (here called project type and project attribute)
    method:
    https://kriesi.at/support/topic/show-categories-and-tags-in-portfolio/

    However, when I click through to a category archive page, no category title exists.

    How can I add the category title to the category archive page?

    #824640

    Hi psstudiosinc,

    I am still not sure what you want to achieve. I don’t see categories on the tag/classrooms page. Is it the title of the page that you wan to have there?

    Best regards,
    Victoria

    #824770

    Sorry for the confusion.

    I want the category name/title to appear on the category archive page. See private remarks…
    How can I add the category title to the category archive page?

    #829247

    Hi,

    You can edit the portfolio archive code and load there the portfolio name.
    If you do not know how to do it, you can always hire a freelancer who will create the child theme for you and make that work

    Best regards,
    Basilis

    #829257

    Basilis,

    I am a developer. This site uses a child theme already. I have given you (enfold support) access to the back end of the site. Please see previous messages in this thread.

    I’m looking for you to help guide me on how to achieve my goal of adding the category title to the category archive page. What method can I use to add the category title to the category archive page?

    #830904

    Hi,

    Thank you for the update.

    Please edit the taxonomy-portfolio_entries.php file, look for this code around line 24:

    
    <div class="entry-content-wrapper clearfix">
    

    Below, add this code:

    <?php
                            ob_start();
                            single_term_title();
                            $title = ob_get_clean();
                            echo "
    <h3 class='post-title tag-page-post-type-title'>".$title."</h3>
    ";
                            ?>

    Best regards,
    Ismael

    #831290

    Perfect. Thank you!

    #831775

    Hi! We’re glad that the team was able to help you! We’ll close this topic now. For any other questions or issues, feel free to post them here on the forum and we will do our best to assist you.

    For your information, you can also take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/

    We’d also appreciate it if you can take a moment to review our theme if you haven’t already. https://themeforest.net/downloads

    Thank you for using Enfold.
    Cheers!
    Sarah

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Show portfolio category name as title on portfolio category archive page’ is closed to new replies.