Viewing 6 replies - 1 through 6 (of 6 total)
  • I would set up featured images for each post. After reading the wp codex, you will be able to just insert the featured image code into the place of the title, then in your CSS you will want the title to be hidden.

    This way each image will be changed based on the post. I don’t remember the featured image code, but it’s out there with many tutorials.

    Thread Starter rruffrruff

    (@rruffrruff)

    Good idea. This seems simple enough but I can’t figure out exactly how to accomplish this. I’m still a newbie! I found this article that seems like a solution but it references the code of another theme that doesn’t match up to mine.

    Without editing any code, I can insert a featured image on a page that shows below the page title, I’m just not sure how to move it to display in place of the title.

    Can you point me in the right direction? Thanks!

    Here’s my CSS:

    [ 2,103 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin ]

    As you are using a commercial theme, you should look to the creator for support: http://mintthemes.com/support/ — it’s part of what you paid for.

    Thread Starter rruffrruff

    (@rruffrruff)

    I’ve contacted them twice but they say they only provide support to make the theme work as they designed it, no help in making any changes.

    It seems I could just add code on the page.php to put the featured image in place of the title if there is one. I just don’t know how to do that…

    You would need to edit the header.php file — that creates the header on each template. page.php uses the header.php file.

    You may be able to figure it out by looking at the header.php file for a theme that already has the featured image as you would like it. Have you looked at the Codex on theme development?

    Or post your header.php code using pastebin — and someone may help you with it.

    Thread Starter rruffrruff

    (@rruffrruff)

    Here’s my header.php file:

    http://pastebin.com/bZBBHFxp

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

The topic ‘Image in Page Title’ is closed to new replies.