Tagged: customization, Portfolio
-
AuthorPosts
-
October 26, 2015 at 2:54 pm #524906
Hello Kriesi,
I am trying to change the portfolio template, but I cannot find it, in the files (FTP).
I have tried looking at config-templatebuilder/avia-shortcodes/portfolio.php, but no luck.
Even if I try to change something in the code, it doesn’t show on the live site!
Any suggestions?
Basically, I want to add a “back” feature to the template (../).
October 26, 2015 at 4:03 pm #524979Hey Synergi!
I think your wanting the /enfold/single-portfolio.php file. That is the template used for displaying the single portfolio posts.
Cheers!
ElliottOctober 27, 2015 at 9:52 am #525371Hello Elliott, Thank you for the quick reply.
I will try and edit that file again, but previously, I did not see any changes. I am editing in the core theme files right now, just for testing purposes. When I can see a change, I will incorporate it into my child theme.
October 27, 2015 at 10:55 am #525392I just tried editing the file, and nothing changes. Anybody with a solution to this?
October 28, 2015 at 4:36 pm #526265Hi!
What is the exact changes your doing? If your using a caching plugin then be sure to clear it’s cache before viewing the frontend.
Cheers!
ElliottOctober 28, 2015 at 4:43 pm #526271Great with feedback. I am not using any cache plugin and my goal is to add a “return” button for navigational purposes. Right now, I am testing by merely adding a new class, but it doesn’t even show up in the source code.
October 29, 2015 at 9:50 am #526615October 29, 2015 at 10:15 am #526625enfold/single-portfolio.php ->
<div class='container'> <div class='Testclass'>.</div> <main class='template-page template-portfolio content <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'portfolio'));?>>
I am trying to add the Testclass, just to see if any changes are going through. It is in line 18.
- This reply was modified 9 years ago by Synergi.
October 30, 2015 at 11:15 pm #527752Hi!
Are you using Advanced Layout Builder for that portfolio? if so, none of the changes done in the single-portfolio.php will reflect because that is no the file being rendered.
Cheers!
JosueNovember 2, 2015 at 9:48 am #528318Yes I am, but that only applies to the content area, right? What if I added an element to the outside frame in the single-portfolio.php?
I however, solved the issue, just by adding my element using the advanced layout builder. It took some manual work, but it is fine for now.
November 2, 2015 at 10:08 am #528324Thing is, single-portfolio.php is never used if ALB is enabled. Glad you managed to found a way though.
Regards,
JosueNovember 2, 2015 at 10:37 am #528336All right, thank you!
-
AuthorPosts
- The topic ‘Edit Portfolio template’ is closed to new replies.