Tagged: new window, portfolio grid
-
AuthorPosts
-
July 3, 2017 at 5:00 pm #815964
Dear support team,
I was looking around in order to have the portfolio grid items, opening in a new window.
I found a lot of your advice about changing the portfolio.php file,
but all your indications about where and what to change, are not as they used to be.
Meaning if you said “replace x with y”, I couldn’t find exactly X as you described it.
So I am not sure what to change.Maybe the code changed since then..it was 2014 or so.
:) Hopefully it’s still possible.
Thank you very much in advance,
And thank you for your lovely theme!
Elad.July 3, 2017 at 7:50 pm #816037Hey VJLoops-GT!
Did you try this solution? It should work with the current version.
If it doesn’t work for you, can you give us temporary admin access into your website so we can take a closer look? You can put the login info in the Private Content of your reply.
Best regards,
SarahJuly 3, 2017 at 8:20 pm #816044Hey Sarah,
Thank you for your answer.I just couldn’t find the line to change in php file…
I look for
$output .= “<h3 class=’grid-entry-title entry-title’ $markup>“.$title.”</h3>”;In the portfolio.php file, and get 0 results.
July 3, 2017 at 9:11 pm #816061Hi,
It’s line 513. :) Try searching for
grid-entry-title entry-title
instead.Best regards,
SarahJuly 3, 2017 at 9:19 pm #816064Hey Sarah,
Thank you so much,
I found the line, but I think I have the wrong replacement line.
I got my info from this post: https://kriesi.at/support/topic/how-to-open-portfolio-custom-link-in-a-new-window/However, after replacing those lines, all I got was “h2” titles, and the links still open in the same window :)
maybe it’s too old of a post? and the syntax has changed?thanks again and sorry for the long process.
Elad.July 4, 2017 at 6:01 am #816165Hi there, Elad
May I request that you try the solution here instead: https://kriesi.at/support/topic/portfolio-grid-links-not-opening-in-new-window/#post-346592
This works with the current version, and does not require you to replace code in portfolio.php.
Best regards,
SarahJuly 4, 2017 at 10:50 am #816238Hey Sarah,
That works like a charm!
Thank you for being so great and for your lovely support!Have a lovely day,
Elad.July 4, 2017 at 12:24 pm #816288Hi Elad,
Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJuly 4, 2017 at 12:40 pm #816297you can definitely close it- thank you again!
July 4, 2017 at 3:50 pm #816382You’re welcome! For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you.
By the way, we’d 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 ‘Opening portfolio grid link in a new window’ is closed to new replies.