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
1 Answer
Reset to default 0get_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
版权声明:本文标题:How to make post title to appear after an image? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741968357a2407684.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论