Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gisesonia

    (@gisesonia)

    I don’t know If it’s the best solution create the plugin like this, If it’s the right place to put a condition.

    My friend saids that init doesn’t solve, só he changes to wp, he said that wasn’t load when he uses that code, so that was why it’s not working.

    Thread Starter gisesonia

    (@gisesonia)

    It’s a static page, not the posts pages, the first pages that loads.

    Thread Starter gisesonia

    (@gisesonia)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)