Featured Image on single event page?

WordPress Event Management, Calendars & Registration Forums General Question Featured Image on single event page?

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 11 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5632

    Is there a way to display the featured image on a single event page, at the top, floated right?

    nickverde
    #5636

    Hi Nick,

    Yup, just copy the single-event.php into your theme and edit it there. You can see this page for full information.

    You want to use the function the_post_thumbnail() (see codex ) to display the post thumbnail (you can use has_post_thumbnail() to check that it actually has a thumbnail). You’ll need to call that function inside some div element with the appropriate styling applied to it – the details will depend on your theme.

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.