WordPress.org

Forums

Sunspot
[resolved] Thanks and question (2 posts)

  1. nicoblog
    Member
    Posted 1 year ago #

    Hi! Great theme! I have a question, on 2 posts column view how can i make the theme show the first image of the post instead of a featured image.
    I have my images hosted on flickr so it finds nothing.
    If it looked for the first image instead a featured image it would show the image i need.
    Thanks for reply!

  2. I did some searching, and found a few tutorials on how to extract the first image in a post and display it:

    http://css-tricks.com/snippets/wordpress/get-the-first-image-from-a-post/

    http://www.wprecipes.com/how-to-get-the-first-image-from-the-post-and-display-it

    https://gist.github.com/brajeshwar/1205901

    If you try any of these tutorials, be sure to set up a child theme first, so your tweaks won't be overwritten when updating the theme. Here are some guides in case you haven't made one before:

    http://codex.wordpress.org/Child_Themes
    http://op111.net/53/
    http://vimeo.com/49770088

    Hope this points you in the right direction.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.