• Resolved Amit Singh

    (@amitsksingh)


    Hi All,

    Let me explain what I want to achieve. I have created a blog page and have created categories of blog posts. What I want to the whenever latest post is published in a particular category, this as a specific layout to follow. That is

    Post tile then Exceprt
    and then featured image.

    Right now its title
    then featured image
    and then excerpt.

    Basically I want to move featured image under title on blog archive page for selected posts.

    • This topic was modified 3 years, 4 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
  • Depending on the CSS already being used, you could use CSS order. See https://developer.mozilla.org/en-US/docs/Web/CSS/order
    But it’s not very good for accessibility.
    You can make a child theme and your own blog page template. That would be home.php. If your theme has one, copy it and modify. If it doesn’t, copy index.php and modify. Or you might instead need to modify a template part for content.php or whatever your theme is using.
    Put an if statement for the particular category and rearrange the output how you want.

    Thread Starter Amit Singh

    (@amitsksingh)

    @joyously Yes, I have created my own template and working on that. Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Image on Blog Page’ is closed to new replies.