• I added 4 custom size images with links under the navigation bar. I am using a child theme for twenty eleven. Here is my site photomomentsforlife.com/wordpress. My problem is that I only want these to show up on the main page(home.) I placed the codes at the bottom of my header.php. Are they in the wrong place & if someone could please let me know where to place them. Here are the codes I used https://pastebin.com/tNhCBgfy. Thanks ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • You can just create a normal WordPress page via Pages -> Add new, upload your images via Media Manager and in Settings -> Reading set Front page displays -> a static page and select the page with images that you created. ??

    try to wrap the images code into a conditional statement using is_home() https://codex.www.ads-software.com/Conditional_Tags

    Thread Starter 51554456

    (@51554456-1)

    Thank you both for responding! Thanks Fire Truck I was hoping there would be a way to do it without anymore code! Would either of you be able to tell me how I can remove the space between the logo & header image? I have played around with sizing but could not seem to find the right thing. I would also like to know if there is a way to remove the border around the logo image.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I only want images to show up on main page!’ is closed to new replies.