admin管理员组

文章数量:1314504

Normally, the post title is at the top of the page in wordpress. I would like the post title to appear after adding an image to my blog.

I have already created a custom post template. I would like your help to know what code needs to be added to that template PHP file to make this possible.

You can have a look at this blog created by me. I would like to have something exactly like this. below the post title, if the date of post published, author name can appear it would be great. /intercom-inspiration-blog-style/

Normally, the post title is at the top of the page in wordpress. I would like the post title to appear after adding an image to my blog.

I have already created a custom post template. I would like your help to know what code needs to be added to that template PHP file to make this possible.

You can have a look at this blog created by me. I would like to have something exactly like this. below the post title, if the date of post published, author name can appear it would be great. https://pimpthat.site/intercom-inspiration-blog-style/

Share Improve this question asked Nov 24, 2020 at 9:31 Saiyokeshwar ManojkrishnaSaiyokeshwar Manojkrishna 1 1
  • This would go a lot better if you included the code from your template, that was someone could show you were to insert the code for the thumbnail, title and author. (The author would probably have to be added in the entry-meta tag that lists the date and categories, but that varies from theme to theme and you may want to output the entire thing yourself.) – Tony Djukic Commented Nov 27, 2020 at 16:02
Add a comment  | 

1 Answer 1

Reset to default 0

get_the_post_thumbnail() and get_the_title() have to be switched in order in the PHP file.

本文标签: How to make post title to appear after an image