Image links

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #97984
    Marisa Espada


    When someone clicks on the images it points to # instead of the actual blog post. As everyone tends to click more on the images than on the titles, how can I fix this? Can someone help please.



    I could help you fix it as I’ve had this issue. You would have to edit the code though in the themes if your comfortable with that. Under the path to the folder wp-content/themes/magazine-o/ocean-themes/widgets/widget-news-layouts.php. You have to edit that file everywhere there is (It’s in the file six times):

    From this:

    <a class="image-link" href="#">

    To this:

    <a class="image-link" href="<?php the_permalink(); ?>">
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.