im have installed a plugin caled “twenty twenty. if i update the page and view directly, the plugin works. But when i use the portfolio menu and then i click on the page, the part with the plugin doesn’t work. can you please please pleassse help me?
for any additional scripts/plugins you have added to portfolio single pages, you need to call your custom functions each time an ajax request is completed, to do this, edit js/main.js and find line : 465;
// wait for images to be loaded
p.imagesLoaded(function() {
//your custom function here :
$(".twentytwenty").twentytwenty();
Thanx for your quick response man :) i have changed the main.js but now it only is loading the pages and nothing else look please : http://albertafrikyan.nl/
we have eliminated the error on the console now, i also noticed it appears when we resize the browser,
– now update the first code piece i gave you as;
// wait for images to be loaded
p.imagesLoaded(function() {
//your custom function here :
$(".twentytwenty").twentytwenty();
$(window).trigger('resize');
setTimeout(function() { $(".twentytwenty").twentytwenty(); }, 500);