Hi, I have the following code in my custom post template: if(in_the_loop()) { error_log('we are in loop'); } else { error_log('we are not in loop'); }
Liked On: October 6th, 2015, 07:54 AM