Thanks howdy, i am a begginer and i am learning how WordPress plugins works, but i understand that I have to use is_home or is_front_page, what i don’t know is how to translate in code, what i need to do.
I will try to explain better, when loads the first page of the website shows a popup, but when I navigate to another pages, i don’t want to load the or if i have another type of popup i want that the popup shows in all pages.
The checkbox will control enable or desable where the popup will appear.
This code it’s from a friend but I think that it’s something wrong and i don’t know how to fix that.
Bcworks, i didn’t mean to change WordPress, so it’s wrong to return something in this case?
“init” fires on every page request” – i didn’t know about that, where i can learn about it?
“There is no reason to get option if it’s not a front page request.”
The popup will load in the homepage, but the checkbox will change so can load in other pages.
Thank you.