January 24, 2012 at 7:28 pm #8459
I’d like to ask the following question:
how can I assign a costum template to a portfolio item? The “Layout” menu is not available on the “Edit Portfolio Entry” page . It’s availabe for single posts though.
In case it’s not possible to create custom templates for portfolio items:
How can I add the “Heading” that is used for all other pages to the portfolio items php template? I’d like to keep the layout consistent and currently the portfolio item doesn’t follow the layout of the other pages.
-n-January 25, 2012 at 2:59 pm #61428January 30, 2012 at 5:04 pm #61429January 30, 2012 at 11:58 pm #61430
Me too please. I’ve tried to add a custom sidebar to the page displaying the portfolio but it is being ignored.February 1, 2012 at 5:24 am #61431
sorry for the delay. My fault.
It’s currently not possible to assign custom templates to single portfolio pages, however, you can edit the template file. This can be found in
For example, you can add a piece to the title here:
<?php echo "<h1 class='post-title portfolio-single-post-title'>".get_the_title()."</h1>"; ?>
Make sure to keep a backup before you go in and remove/edit things, you might accidentally remove something important without noticing.February 1, 2012 at 2:52 pm #61432
thanks for your reply. Can you give some help to give the single portfolio page more structure and make it fit the design of the other templates of the theme. Currently the single portfolio page just looks like a generic post page.
Is it e.g. possible to publish the code of the single portfolio page of the angular theme ?
-n-February 2, 2012 at 10:48 pm #61433
This is exactly what I’m trying to do. I even previously posted a question about it. If you get it working before me please post the solution. I will do the same.
Cheers jkFebruary 3, 2012 at 3:30 am #61434
I don’t have the angular source code available. Maybe you can publish the code of the single portfolio item here and/or the support team can give some advice.February 6, 2012 at 4:47 pm #61435February 9, 2012 at 3:22 am #61436
Well, the single portfolio page uses the single-portfolio.php and the includesloop-portfolio-single.php file as the main elements. You can edit these to change the order of things or even to change classes. It’s beyond the scope of the support forum to create you a custom layout for this.
The topic ‘assign custom template to portfolio item’ is closed to new replies.