-
AuthorPosts
-
October 29, 2014 at 6:04 pm #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!October 31, 2014 at 1:35 am #343823Hey 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.
October 31, 2014 at 11:21 am #343939Hi 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 PicWaiting for your reply and thanks again
AlexandraNovember 2, 2014 at 2:58 am #344770Hi!
Can you send us a link so we can take a closer look? You can set it as private if you wish.
Regards,
ElliottNovember 3, 2014 at 10:31 am #345180This reply has been marked as private.November 3, 2014 at 5:57 pm #345395Hey!
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.
November 4, 2014 at 10:41 am #345797Thanks 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:)November 5, 2014 at 3:58 pm #346580Hi!
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.
November 5, 2014 at 5:47 pm #346672Hi,
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!November 6, 2014 at 4:16 pm #347144Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.