-
AuthorPosts
-
May 25, 2014 at 9:56 am #269645
Hi,
There is no Portfolio Gird setting that can select open the portfolio on a new page or on the same page when click the title of the portfolio item. I want to open the portfolio on a new page when people click the title of each portfolio, but the default is open in the same page.
Please kindly help me,
Best regards,
Tommy
May 25, 2014 at 6:26 pm #269712Hey Tommy!
Add this to your theme functions.php:
function custom_link_structure($link_markup){ $link_markup[0] .= "target='_blank'"; return $link_markup; } add_filter('avf_portfolio_custom_image_container', 'custom_link_structure', 10, 1);
Cheers!
JosueMay 26, 2014 at 1:04 am #269838Hi Josue,
Thanks for your reply.
But when i add this to the functions.php, my website turn to be blank, all are blank, have nothing, i don’t know how to solve this because i can’t setting anything, please help me!
Best regards,
Tommy
May 26, 2014 at 1:06 am #269840Hey Tommy!
Are you using the latest version of Enfold?
Cheers!
JosueMay 26, 2014 at 1:21 am #269842Hi Josue,
Yes, i am using the latest version of Enfold.
Best regards,
Tommy
May 26, 2014 at 1:36 am #269845Hi,
Can you post a link to your website please?
Do you have access to your PHP error log (check in the root directory of your WP install)?
Regards,
JosueMay 26, 2014 at 1:52 am #269847This reply has been marked as private.May 26, 2014 at 2:07 am #269850Hi!
Can you create me a temporary FTP account?
Best regards,
JosueMay 26, 2014 at 3:11 am #269866This reply has been marked as private.May 26, 2014 at 3:26 am #269868When a blank page appears is because something went wrong with the PHP execution, the code i provided worked fine on my end, but not on yours and that’s probably because you don’t have the same PHP configuration as i do.
Please revert the change in functions.php so your site is accessible again, i’d try to look for another solution.
Best regards,
JosueMay 26, 2014 at 3:41 am #269871This reply has been marked as private.May 26, 2014 at 3:46 am #269872You could try re-installing a fresh copy of Enfold via FTP.
Cheers!
JosueMay 26, 2014 at 3:52 am #269873If i re-installing a fresh cope of Enfold, will my website change? i mean will lose the data?
May 26, 2014 at 3:58 am #269875Have you modified any other theme file? if the answer is no then no, you won’t lose anything, you can re-install safely. All your data is stored in the database.
Regards,
JosueMay 26, 2014 at 4:32 am #269891Hi Josue,
I just deleted the functions.php in the wp-includes filed by mistake, now the site is not workable, how can i solve this, could you please send me one so that i can upload this again.
Best regards,
Tommy
May 26, 2014 at 4:44 am #269894Try using this one:
https://www.dropbox.com/s/ozbtlebgl79zr6o/functions.phpIf that doesn’t work you can always download a copy of WordPress from here (replace everything except for the wp-content folder):
http://wordpress.org/Best regards,
JosueMay 26, 2014 at 4:51 am #269900Hi Josue,
Thanks, my website has been revised, it can be open now.
But now, the original problem haven’t been solved, that I want to open the portfolio on a new page when people click the title of each portfolio, please help me.
Best regards,
Tommy
May 26, 2014 at 4:59 am #269906Can you post a link to the page where the portfolio grid is?
Regards,
JosueMay 26, 2014 at 5:07 am #269909This reply has been marked as private.May 26, 2014 at 5:54 am #269930The grid links are opening the images of the portfolio items (as lightbox), not the actual portfolio items, you may need to change that setting first.
Regards,
JosueMay 26, 2014 at 5:59 am #269934Hi Josue,
Yes, the images are opening as a lightbox, but i mean the Title under the images, when click the Title of each one, it will open the actual portfolio item in the same page, i want it to be in a new page.
Best regards,
Tommy
May 26, 2014 at 5:03 pm #270155Hey!
Please go to Enfold/config-templatebuilder/avia-shortcodes and open portfolio.php file and find first code here and change it with second code http://pastebin.com/wmXjbfBg
Cheers!
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.