Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #342853

    Hi,

    On the blog page, I choose in the enfold options, the single author, big preview Pic. I would like to add the link “read more” under the pictures. Can you please tell me which code I should add and where?

    Secondly, is it possible to make the comment section appears on the blog page below each post ?

    Waiting for your reply,
    thanks a lot!

    #343823

    Hey alexoua!

    Try adding this on line 95 in /enfold/includes/loop-index.php,

    if (!is_single()){ echo do_shortcode('[av_button label = "Read more" position = "left" link = "'.get_permalink().'"]'); }

    Let us know if that works for you.

    Regards,
    Elliott

    • This reply was modified 10 years ago by Elliott.
    #343939

    Hi thanks for your reply.

    The code works. However I want the link after the content and not before the content. In brief I’d like :
    1 – Post Title
    2 – Big Pic
    3 – Link “Read More”

    With your code line adding on the 95 line I got ;
    1 – Link “Read More”
    2 – Post Title
    3 – Big Pic

    Waiting for your reply and thanks again
    Alexandra

    #344770

    Hi!

    Can you send us a link so we can take a closer look? You can set it as private if you wish.

    Regards,
    Elliott

    #345180
    This reply has been marked as private.
    #345395

    Hey!

    You don’t have any featured images set so if you want it to display beneath the images you have in your excerpt then try moving it down to line 189 so it’s right above this,

    echo '<footer class="entry-footer">';
    

    Best regards,
    Elliott

    • This reply was modified 10 years ago by Elliott.
    #345797

    Thanks Elliott !
    Just one last question.
    I’m using a child theme.
    When I add the code on the parent theme, it’s working perfectly.
    When I add it on the child theme, it’s not working ???
    Is it normal ???
    Thank you so much for your help:)

    #346580

    Hi!

    It’s working fine on my XAMPP setup. Are you sure you have copied the file to your child theme? Try clearing your browser cache and any caching related plugins you might have installed.

    Regards,
    Elliott

    • This reply was modified 10 years ago by Elliott.
    #346672

    Hi,
    Sorry, but I copy again the loop-index.php file into the child theme, I cleared my browser and even try on another mac, and it’s still not working.
    Can you help me please? Would you have an access to my server?
    Thanks!

    #347144

    Hey!

    Make sure you do the edit on the file after copying over to your child theme. Send us a WordPress and FTP login if your still having problems and we’ll take a look. Make sure to mark your reply as private.

    Best regards,
    Elliott

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