Putting pop up in Wordpress?

1 replies
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.
#pop #putting #wordpress
  • Profile picture of the author Damien Roche
    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>.
    Signature
    >> Seasoned Web Developer (CSS, JavaScript, PHP, Ruby) <<
    Available for Fixed Fee Projects and Hourly ($40/hr)
    {{ DiscussionBoard.errors[1821247].message }}

Trending Topics