Tagged: portfolio category
-
AuthorPosts
-
July 15, 2017 at 2:57 am #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)
July 15, 2017 at 6:43 pm #821763Hey 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,
VictoriaJuly 18, 2017 at 2:10 am #823050Hi,
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?
July 20, 2017 at 3:41 pm #824640Hi 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,
VictoriaJuly 20, 2017 at 6:25 pm #824770Sorry 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?July 24, 2017 at 10:50 pm #829247Hi,
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 workBest regards,
BasilisJuly 24, 2017 at 11:11 pm #829257Basilis,
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?
July 28, 2017 at 6:36 am #830904Hi,
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,
IsmaelJuly 28, 2017 at 9:01 pm #831290Perfect. Thank you!
July 30, 2017 at 10:15 am #831775Hi! 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 -
AuthorPosts
- The topic ‘Show portfolio category name as title on portfolio category archive page’ is closed to new replies.