adsense

How to Include Different WordPress Footers





1. Log in to your site's control panel and access your WordPress directory. Click 'wp-content,' then choose 'images.' Create a folder called 'footers.' Upload any images you want to appear within the footer section of the Web page into this folder.
2. Sign in to the WordPress dashboard. Choose 'Editor' from the 'Appearance' tab and click the name of the 'style.css' file to open and edit it.

3. Scroll down to the /*** Footer ***/ section of the stylesheet and paste in the following code:#footer {background: URL('/images/footers/rotate.php')no-repeat bottom center; }Save the CSS file.
4. Open 'footer.php' and paste the following code anywhere within the document:
This code instructs the footer to display a random image from the footers folder whenever someone visits. Save the file.
5. Visit the blog in a new tab or window. Reload repeatedly to see the different footer images that appear.

Comments

0 Responses to "How to Include Different WordPress Footers"

Post a Comment

Popular Posts

About