Tagged: category/archive pages, portfolio items, sidebar
-
AuthorPosts
-
October 16, 2025 at 7:27 pm #1490304
Hello,
I’m looking for instructions on how to edit the category/archive templates for Portfolio Items.When I create categories for Portfolio Items, those category pages are automatically generated. They include “Archive:” in the title and the sidebar appears to be a default with Pages, Categories, and Archive for Posts (not Portfolio Items).
I’m confused as to why a custom post type already in the theme doesn’t have it’s own set of controls for single posts, category pages, etc. (if there is an area to control all this, I cannot find it).
I attempted to use the Blog Layout settings to specify a specific page, then adjust the layout settings on that page to use a custom widget, but that doesn’t affect the categories/archive template for Portfolio Items. I used a Portfolio Grid on that page (which, oddly, has no controls for column/row padding). How does one control the spacing in between the entries?
If there is a clear area to customize the Portfolio Items category/archive pages (adjust title, layout, sidebar settings, etc.), please provide instructions. IF NOT, would you consider providing controls in Theme Options for this custom post type (just like the Blog)?
I changed the sidebar settings to have a specific widget area for “Archives”, but that only affects the blog, and not the Portfolio Items category/archive pages.
Any assistance/guidance would be greatly appreciated.
October 17, 2025 at 6:16 am #1490313Hey milkrow,
Thank you for the inquiry.
The sidebar on archive or category pages for custom post types, such as Portfolio, can be controlled in Enfold > Sidebar Settings > Sidebar On Archive Pages settings. Aside from this option, there are no other settings to adjust the appearance of the sidebar, so you will need to use custom css modifications. To control the widgets in the sidebar, go to the Appearance > Widgets and look for the Displayed Everywhere widget area.
Best regards,
IsmaelOctober 17, 2025 at 4:50 pm #1490353I believe I understand those instructions. However, I still have questions on how to edit the template in question.
I believe the correct template is taxonomy-portfolio_entries.php. I made a few adjustments to it…but I’d like to further customize the template.
1. I would like to remove “Archive: ” from the title (It’s NOT an “archive”. It’s a category. If I could append it somehow…like with a data attribute?
2. I would like to have some control over the layout, can this template use a page with a custom layout (like the way the Blog page can be set to a custom page)?
3. When this grid first loads, on hover, the image-overlay appears as a thin strip at the top. I could not determine how to eliminate this with css.With regard to the Sidebar, thank you for providing more clarity there!
I went to Enfold > Sidebar Settings > Sidebar On Archive Pages and chose Right Sidebar. That works.I also set Separate Sidebars For Blog And Archive Pages to Show separate Archive Sidebar on Archive Pages. That works. It exposes the Sidebar Archives widget area.
Then, I added the navigation menu widget to the Sidebar Archives widget area, but it does not display (that’s how I realized that this has to be a totally different template file: taxonomy-portfolio_entries.php). Rather, a default: Pages, Categories, Archive widget set is shown.
I don’t think its the right solution to set that navigation menu widget to Display Everywhere because that would affect other pages where I may want to have a sidebar with different widgets in the sidebar…is that the ONLY way?
Thank you for any advice (and for your patience), I really appreciate it.
October 20, 2025 at 7:17 am #1490387Hi,
Thank you for the update.
1.) You can add this filter in the functions.php file to replace “Archive” in the main title:
add_filter('avf_which_archive_output','avf_change_which_archive', 10, 3); function avf_change_which_archive($output) { if(is_tax('portfolio_entries')){ $output = __('REPLACE THIS TEXT:','avia_framework'); } return $output; }2.) Unfortunately, it’s not possible to replace it with a custom layout without significant modifications to the theme.
3.) We can’t reproduce the same issue on our installation — please provide a screenshot.
4.) For the widgets, you can install plugins such as Widget Logic to control the visibility of the widgets.
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelOctober 20, 2025 at 4:12 pm #1490411Hi Ismael,
Thank you for all the assistance with my questions.I understand the concern about long threads. However, I believe all of these topics are directly relevant to the subject, “How to edit the Portfolio Items Category/Archive Template and Sidebar Settings”. In fact, on the whole, most subjects and language in these support threads are less verbose. I often get “no results” when I search this forum. “How to…” articles that have more details would be helpful.
It’s unfortunate that the theme provides facility for a custom post type, but no controls for the layout of the category page similar to the blog, particularly with regard to the category template.
In #3 above, you asked for a screenshot of the issue seen at https://libbiemark.com/artworks/1960s/. I created a new thread per your request.
Thank you again for your assistance.
-
This reply was modified 2 weeks, 3 days ago by
milkrow.
October 21, 2025 at 6:45 am #1490435Hi,
Thank you for following up.
For #3, please continue on this thread: https://kriesi.at/support/topic/alignment-issues-with-image-overlay-overlay-type-external-on-hover/
Another solution for your category pages is to use redirection. You can create a custom page using the Advanced Layout Builder, then set up a 301 redirect from the category page to that custom page. Please check any of these plugins.
— https://wordpress.org/plugins/eps-301-redirects/
— https://wordpress.org/plugins/redirection/Let us know if you need more info.
Best regards,
IsmaelOctober 21, 2025 at 2:38 pm #1490464That’s an interesting approach. I’ll have a look at that. Thank you!
KC
October 22, 2025 at 7:04 am #1490492 -
This reply was modified 2 weeks, 3 days ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
