Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #969865

    Hello Support
    I visited a clients web site today and noticed all the ajax portfolios I have set up to show his dive courses stopped working as expected :(
    Instead of opening the portfolio items the “ajax portfolio way” clicking the items open the portfolio in a page.
    Also, in the left top corner of all the portfolio galleries 3 icons are now visible (left, right, close) – see picture attached,

    Icons that should not show up

    I tried to debug but cant find any JS or other errors.
    Thanks,
    Gregor

    #970743

    Hey gregorh,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #970781

    Hello Victoria, sent!

    Thanks a lot!
    Gregor

    #970985

    Hi,

    Thanks for that, though I get a “locked-out screen” by WordFence. Could you deactivate the plugins until we have had a look at your site?

    Best regards,
    Rikard

    #971057

    Hello Rikard, Ok, its deactivated.

    Thanks a lot!
    Gregor

    #971200

    Hi,

    Could you please check the logins once again? I was not able to login :)

    Cheers!
    Yigit

    #971203

    Sorry, please try again with the same credentials I gave you earlier

    #971220

    Hi gregorh,

    Best regards,
    Victoria

    #971285

    Hello Victoria,
    Thanks a lot, I deleted the two portfolio.php files and added the custom changed I did for the client directly to the updated file in
    enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php and it works fine like this
    BUT
    When I place a copy of portfolio.php with my changes into:
    enfold-child/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php and reset the portfolio.php to original state my custom code changes does not get recognized (in the child theme!!)??!!

    How can I have a copy of portfolio.php with custom code active without touching the file in the master theme?

    #971289

    Ok I found out!!

    in my child themes functions.php I already had following code:

    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
    	$template_url = get_stylesheet_directory();
        	array_unshift($paths, $template_url.'/shortcodes/');
    
    	return $paths;
    }

    so I copied the modified (new) portfolio.php back into the enfold-child/shortcodes/ folder and now it works as expected!!!

    Thanks for your help!
    Gregor

    #971316

    Hi,

    Glad Victoria could help! :)
    Let us know if you have any other questions or issues!

    Best regards,
    Yigit

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Ajax portfolio stopped working’ is closed to new replies.