More tag with custom title link and image
I am trying to get my more tags to display not only the title of the post but a picture as well.
here is what i am using right now
the_content(“Read the rest of ” . get_the_title(”, ”, false));
and from reading the codec i know i have to add
alt=”read more” title=”Read More…” />
someplace…i just cant seem to figure out where to add that snipet of code, or perhaps i am not able to figure out the proper syntax.
My suspicion is that the img src tag goes inside the content() someplace, but i cant seem to get the two (title in the more and image) to work at the same time.
Every time i do it gives me an sql error (?) or keeps the page from loading anything at all.
Any help would be greatly appreciated.
- The topic ‘More tag with custom title link and image’ is closed to new replies.