Important notice: we will respond to all open ticket requests up until November the 1st. After this date, we will be unable to process the ticket requests here on Ticksy.

Okay
  Public Ticket #599866
Post Image should link to post
Closed

Comments

  • Creative Runway started the conversation

    For the "Related Posts" area that appears below each blog post, only the Title text can be clicked on, not the image. In the next update, can you include the ability for the image to also be clickable and link to the post?

  •  46
    Elated replied

    Hello,

    By default, the featured image in Related Blog section is not a link.

    But you can make one small modification in one theme file to make it link to single post as well.

    Locate this file:

    wp-content\\themes\\tomasdaisy\\framework\\modules\\blog\\templates\\single\\parts\\related-posts.php

    and inside it, find following piece of code http://screencast.com/t/zRKUAZJW59x

    <?php if ( has_post_thumbnail() ) :
                            the_post_thumbnail();
                        endif; ?>

    and just change it with this

    <?php if ( has_post_thumbnail() ) : ?>
                        <a href=\"<?php the_permalink(); ?>\" title=\"<?php the_title_attribute(); ?>\">
                            <?php the_post_thumbnail(); ?>
                            </a>
                        <?php endif; ?>

    so it looks like this now: http://screencast.com/t/XrPMIy9xcDG

    And that\'s it :)

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • Creative Runway replied

    Thank you for this. I tried doing this using the child-theme so it would be update-proof. I uploaded a related-post.php file to my child theme folder, but it doesn\'t seem to work. I\'ve attached a screenshot. Please let me know if you have any ideas of how to make this work using the child theme. Thanks!

  •  46
    Elated replied

    Hello again,

    Did you follow the same path inside child theme folder?

    You need to paste this changed file in:

    wp-content\\themes\\tomasdaisy-child\\framework\\modules\\blog\\templates\\single\\parts\\related-posts.php


    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.

  • Creative Runway replied

    I did not follow the same path. I didn\'t know I needed to do that. But I went back through and fixed that - I created the same path inside the child theme folder, then added the file there. It worked! I can now click on the related post image to link to the post. Thank you.

  •  46
    Elated replied

    Glad to hear that - you\'re welcome!

    Yes, whenever pasting some template file inside child theme folder, that file needs to keep the same name as in original parent theme, and also to keep the same path!

    We hope it’s not too much trouble, but we’d really appreciate it if you could rate our theme on ThemeForest. Just visit the following link and select five stars next to our theme’s name: http://themeforest.net/downloads. This way you’ll be helping us improve our support services and make them even more efficient.

    Greetings,

    Elated Themes is part of Qode Interactive – the home of 300+ premium WordPress themes.

    Don’t forget to sign up for our newsletter and be the first to find out all the latest news.