• I’ve just downloaded the get the image plug in and after searching through this support and some other forums I’m trying to figure out what to do next. I tried to open the readme.md file that was included in the download (didn’t see a readme.html file with step-by-step instructions as recommended in a review comment). Sorry this is such an elementary question, I’m new to these things and not really familiar with the loop and other things I saw in comments. Just want my images to show up with excerpts in my feeds. Thanks.

    http://ww.wp.xz.cn/plugins/get-the-image/

Viewing 1 replies (of 1 total)
  • Hi there, I had the same question as you in regards to making this plugin work the way I wanted. What stumped me was the “readme.md” file mentioned in the instructions. I didn’t notice the “md” at first and was looking at the text readme file, which of course does not contain anything about customizing how the plugin works.

    I was all set to give up and leave a negative comment here but then I noticed the “.md” reference again, googled what it was and found out that this type of file could be read in a text editor, so I opened it up in Notepad++ and saw all the code I was looking for.

    By default the plugin will look for a Custom Field first, but if you want it to look for something else, such as the first image in a post (which is what I wanted), the code for how to make this happen is included in the .md file. I’m not sure why the author couldn’t just include this in the readme.txt file, but hey, the plugin works so I’m happy now.

    bihill05: As far as basic usage you would need to open up your index.php file within the WordPress theme editor and then look around for where you want the plugin to insert the image, then copy this code and place it there:

    <?php get_the_image(); ?>

    You might have to go through some trial and error to get the image where you want it. If you want to do anything more complicated you’ll need to follow the instructions in the readme.md file.

    I hope this helps you and anyone else who was looking for the usage code and didn’t know what an .md file is!

Viewing 1 replies (of 1 total)

The topic ‘getting started with get the image’ is closed to new replies.