Skip to main content
10 events
when toggle format what by license comment
Jan 18, 2014 at 23:01 comment added Kirsty Marks basically in the console, where i can see errors its coming up with an error saying forbidden. And slider image is defined :(
Jan 18, 2014 at 23:00 comment added Pat J Forbidden error? Not sure what you mean. Also, not sure what "something trippy" might be. Is sliderimage a defined size in your theme/plugin?
Jan 18, 2014 at 22:31 comment added Kirsty Marks i removed the get bit and it generated the main image, but not the thumbnails and did something trippy lol! :S
Jan 18, 2014 at 22:26 comment added Kirsty Marks im assuming i add this whole code to my sidebar, as adding the first part to the functions didnt pull the image :S
Jan 18, 2014 at 22:25 comment added Kirsty Marks hi pat, its coming up with a forbidden error now... is it the case i cant hardcode this in wordpress unlike the plugin you can prebuy?
Jan 18, 2014 at 22:20 comment added Pat J Whoops, it's get_the_post_thumbnail(), not get_post_thumbnail(). I've updated my answer.
Jan 18, 2014 at 22:19 history edited Pat J CC BY-SA 3.0
get_post_thumbnail() != get_the_post_thumbnail()
Jan 18, 2014 at 22:07 comment added Kirsty Marks i posted the featured image bit into my functions and the other bit into my sidebar file
Jan 18, 2014 at 22:06 comment added Kirsty Marks Hi Pat i tried this at it came up with a fatal error: undefined function get_post_thumbnail()
Jan 18, 2014 at 21:59 history answered Pat J CC BY-SA 3.0