Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #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 (../).

    #524979

    Hey Synergi!

    I think your wanting the /enfold/single-portfolio.php file. That is the template used for displaying the single portfolio posts.

    Cheers!
    Elliott

    #525371

    Hello 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.

    #525392

    I just tried editing the file, and nothing changes. Anybody with a solution to this?

    #526265

    Hi!

    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!
    Elliott

    #526271

    Great 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.

    #526615

    Hi,

    What code are you trying and where?

    Regards,
    Rikard

    #526625

    enfold/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, 1 month ago by Synergi.
    #527752

    Hi!

    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!
    Josue

    #528318

    Yes 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.

    #528324

    Thing is, single-portfolio.php is never used if ALB is enabled. Glad you managed to found a way though.

    Regards,
    Josue

    #528336

    All right, thank you!

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Edit Portfolio template’ is closed to new replies.