Featured image in post on Metro theme

Community Forums Forums General Discussion Featured image in post on Metro theme

This topic is: resolved

This topic contains 14 replies, has 5 voices, and was last updated by  devnick 1 year ago.

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #47831

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Hi!

    New here…

    I’m trying to get my featured images inside each blog post, under the title. Right now I only see them on my index.

    Any help would be appreciated.

    Thanks!

    #47832

    RobG
    Participant
    Post count: 1036

    Hello Can you provide a link to your website so I may take a look?


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #47833

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Hi! Thanks for the quick reply.

    Right now I’m working on the site locally, but it works just like the demo:

    http://demo.studiopress.com/metro/

    I need a way to make the featured image appear automatically under the blog post title, like this:

    http://demo.studiopress.com/metro/featured-story-3/

    Thanks agains!

    #47838

    RobG
    Participant
    Post count: 1036

    There should be an option when you’re in your WordPress editor to add a feature image to your post. You will need to upload that image of your choice in to your media library and set it as your featured image for that post.

    Hope this helps.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #47844

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Yes, I can set a featured image but it is not inserted into the post automatically as I would like. Is there any way to do that?

    Thank you

    #47850

    RobG
    Participant
    Post count: 1036

    What Theme are you using?


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #47855

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Metro

    #47857

    braddalton
    Participant
    Post count: 8797

    Please copy this code from the view raw link and paste it at the end of your child themes functions.php file using a text editor.

    You can change the conditional tag in the code if needed.

    Note: The code uses the old XHTML loop hooks


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #47868

    RobG
    Participant
    Post count: 1036

    Hi Brad should this already be in his theme? I would think he would be able to set the featured image with the metro theme.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    • This reply was modified 1 year ago by  RobG.
    • This reply was modified 1 year ago by  RobG.
    • This reply was modified 1 year ago by  RobG.
    • This reply was modified 1 year ago by  RobG.
    #47875

    braddalton
    Participant
    Post count: 8797

    Hi Rob

    Most themes don’t include this feature however some do.

    The Metro theme he is using doesn’t.

    He wants the featured image displayed on single posts after the post title which is what the code does.

    He could insert the image manually on all posts or use the code to do it automatically.

    The code enables the user to have more control over the featured post image on single posts as it includes a conditional tag, hook and div class for adding styling in the child themes style.css file rather than inline.

    This provides more control for positioning in different locations and control over which posts in specific categories the image displays. Far more powerful than simply inserting an image manually.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #47879

    RobG
    Participant
    Post count: 1036

    Hey Brad thanks for taking the time to explain, I was also thinking he could do this manually but I did not think this is what he was hopping to accomplish….Thank you for helping out as well my friend.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    #47899

    nicosawicki@gmail.com
    Participant
    Post count: 11

    Worked great!!

    Thank you so much

    #47930

    scoe
    Participant
    Post count: 51

    Thank you Brad. Useful.

    #47979

    braddalton
    Participant
    Post count: 8797

    You’re welcome.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #48100

    devnick
    Participant
    Post count: 12

    Brad,

    Somewhat frustrating as this is not mentioned when you purchase or choose the theme.

    So Thanks!

Viewing 15 posts - 1 through 15 (of 15 total)

The topic ‘Featured image in post on Metro theme’ is closed to new replies.