Archived

This topic is now archived and is closed to further replies.

  • 0

Adding An Image/Link/Button To The Front Page Of Blog Posts?

Question

Posted · Report post

I would like to add an image/link/button to the front page of the blog posts right below the 150x150 thumbnail image. There's an arrow pointing in the area of where I'd like to add something with "HERE" for description. What .PHP file or where do I modify to add my code? Thanks 25k0qvs.png

Share this post


Link to post
Share on other sites

3 answers to this question

Posted · Report post

You would have to edit _posts.php my advice would be to add a caption to the thumbnails since that would automatically go beneath the image anyway. You would just have to add the caption portion into the code. But really we can do anything here if you can be more specific on your needs.

Share this post


Link to post
Share on other sites

Posted · Report post

Hey cmunns, Thanks for the response. I'm using iBlogPro theme and would like to add a Twitter button, for instance... < a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="EXAMPLE">Tweet<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script > Not sure where to place inside the _posts.php file. Can u help me so it will appear near the bottom left corner and have it function properly. Thanks!

Share this post


Link to post
Share on other sites

Posted · Report post

It looks like that script is missing the closing link tag `` As far as placement is concerned you could place it in many spots but it depends on where you want it. e.g. single pages, post excerpts only, main blog page etc Double check the script and use the CSS class for the link to do the majority of the positioning.

Share this post


Link to post
Share on other sites