Timeline for Page featured image not showing on home page
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2016 at 10:20 | vote | accept | Abdul Rehman | ||
Jul 10, 2016 at 12:45 | comment | added | knif3r |
the_post_thumbnail can be used for page featured image too, but you will need to call it outside of the loop, (this also apply to the_title() , the_description() etc..) In your code you call it in the loop and it will retrieve posts images, call it before if( have_posts) {
|
|
Jul 10, 2016 at 10:52 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jun 10, 2016 at 1:34 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
May 10, 2016 at 5:39 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 8, 2014 at 13:31 | history | edited | Abdul Rehman | CC BY-SA 3.0 |
added 582 characters in body
|
Dec 7, 2014 at 14:21 | answer | added | Dan | timeline score: 0 | |
Dec 7, 2014 at 13:40 | comment | added | Pieter Goosen |
the_post_thumbnail displays the featured image for a given single post. What do you define as the "page featured image"
|
|
Dec 7, 2014 at 13:36 | history | edited | Pieter Goosen | CC BY-SA 3.0 |
added 30 characters in body
|
Dec 7, 2014 at 13:06 | history | asked | Abdul Rehman | CC BY-SA 3.0 |