Viewing 2 posts - 31 through 32 (of 32 total)
  • Author
    Posts
  • #1130480

    Thanks, Ismael. There are two return true lines — one after the other — replacing the first one seemed to do the trick, like this:

    	if( defined( 'DOING_AJAX' ) && DOING_AJAX )
    	{
    			if(!is_admin() && is_page(1059)) 
    			{
    				return true;
    			} 
    	}
    	
    	return true;
    }

    Please let me know if that doesn’t seem right, to you. Otherwise, thanks again!

    #1130798

    Hi,

    Thank you for the update.

    We were actually referring to the last return statement but if it works that way, then you can leave it as it is.

    Best regards,
    Ismael

Viewing 2 posts - 31 through 32 (of 32 total)
  • The topic ‘trouble with the_content(); and Advanced Layout Editor’ is closed to new replies.