Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1104348

    Hey Enfold-Team,

    we use modern blog layout on our website. How can we change the link on the Post Image?
    We will set the Link on the blog-post Image to Blog Post and not to author page.

    https://jmp.sh/SAwnWHu

    Thanks for your help!

    Tobias

    #1105340

    Hey Tobias,

    Thank you for using Enfold.

    You can edit the includes > loop-index.php file. Look for this code around line 181:

    $blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>";
    

    Set the href attribute to “get_permalink()”. Or replace the code with:

    $link = get_permalink();
                    $blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>";
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.