-
AuthorPosts
-
March 5, 2018 at 8:56 pm #921775
Hey,
http://www.elleagnes.se
I want to show comments like this under the blog post

How can I do that?Thanks
CharlotteMarch 5, 2018 at 9:22 pm #921812Hey Charlotte,
Do you mean under the post excerpt?
Best regards,
Jordan ShannonMarch 5, 2018 at 9:25 pm #921816Hi Jordan
I mean under the each blog post on the main page like this
March 6, 2018 at 12:29 pm #922200Hi,
Did you disable the Blog Layout > Blog meta elements options? The “Blog Post Comment Count” element should display by default if the “Blog Styling” is set to “Modern Business” and “Blog Layout” is set to “Single author, big preview pic” option.
Best regards,
IsmaelMarch 6, 2018 at 1:22 pm #922241Hi Ismael,
Thanks for your email.
Yes, I have disabled it because I don’t want it next to the date and headline
I want it under the blog post and with the background like it is in the image.I also don’t want to display the number, just Comments
How can I do this?
Thanks
CharlotteMarch 6, 2018 at 11:29 pm #922569Hi,
Unfortunately, there is no feature for this, and so it will be a code customization of the raw files that you’ll need to make. Are you currently running a child theme?
Best regards,
Jordan ShannonMarch 9, 2018 at 4:50 am #924252Hi Jordan,
thanks for your reply.
Yes, I am running a child theme. What code shall I add?/Charlotte
March 10, 2018 at 10:08 pm #925035Hi,
You have to use the code that allows to load shortcodes from child themes
add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; }and then move the blog element to the child theme.
After you do that, you can do any modification to order of the files, remove elements etc.Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.
