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

    #269712

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

    #269838

    Hi 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

    #269840

    Hey Tommy!

    Are you using the latest version of Enfold?

    Cheers!
    Josue

    #269842

    Hi Josue,

    Yes, i am using the latest version of Enfold.

    Best regards,

    Tommy

    #269845

    Hi,

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

    #269847
    This reply has been marked as private.
    #269850

    Hi!

    Can you create me a temporary FTP account?

    Best regards,
    Josue

    #269866
    This reply has been marked as private.
    #269868

    When 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,
    Josue

    #269871
    This reply has been marked as private.
    #269872

    You could try re-installing a fresh copy of Enfold via FTP.

    Cheers!
    Josue

    #269873

    If i re-installing a fresh cope of Enfold, will my website change? i mean will lose the data?

    #269875

    Have 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,
    Josue

    #269891

    Hi 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

    #269894

    Try using this one:
    https://www.dropbox.com/s/ozbtlebgl79zr6o/functions.php

    If 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,
    Josue

    #269900

    Hi 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

    #269906

    Can you post a link to the page where the portfolio grid is?

    Regards,
    Josue

    #269909
    This reply has been marked as private.
    #269930

    The 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,
    Josue

    #269934

    Hi 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

    #270155

    Hey!

    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

Viewing 22 posts - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.