Putting pop up in Wordpress?

by 1 replies
1
Does anyone know how to put a strategic pop up (from 1shoppingcart) into a Wordpress site?

Basically it gives me a piece of code I need to put in the <head> </head> section, another that goes in the <body> tag, and another that goes right before the </body>

This makes perfect sense for a normal page, but I have no clue how to put this into Wordpress so that it shows up on all pages/posts.
#programming #pop #putting #wordpress
  • Hmm.. it really depends on your theme. With the vanilla install, you would go to your wordpress themes directory and the current theme. Usually here:

    wp-content/themes/

    Then, go to header.php for the <head></head> part - if you're lucky, that may lead to a <body> just before the file ends - in which case you can insert your second block there.

    If not, again, depending on your theme, you may have to open all the files which correspond to each 'type' of page on your site - like homepage, archive, search results, static page etc.

    Then open the footer.php file for the footer block which should feature the end of the body tag </body>.

Next Topics on Trending Feed

  • 1

    Does anyone know how to put a strategic pop up (from 1shoppingcart) into a Wordpress site? Basically it gives me a piece of code I need to put in the <head> </head> section, another that goes in the <body> tag, and another that goes right before the </body>