Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6102

    Hi, I have a question about Related posts in the Corona theme. It looks like the image shown in Related posts is the first featured image of the post (I use several images in the Fade slider). Is there a way to specify another image to be displayed in the Related posts instead? Perhaps with the use of custom fields?

    #52882

    Hey,

    you can change the slides array index – at the moment it’s set to 0 (first slide/element in the array). Open up includes/related-posts.php and search for all occurences of:

    $slides[0]['slideshow_image']

    Replace 0 with 1,2 etc. to use other images. If you’re familiar with php you can implement custom fields, etc. too – however this task is beyond the scope of this support forum.

    #52883

    Thanks, this was exactly what I was looking for!

    #52884

    Glad that I could help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Related posts in Corona’ is closed to new replies.