Hey,
http://www.elleagnes.se
I want to show comments like this under the blog post
How can I do that?
Thanks
Charlotte
Hey Charlotte,
Do you mean under the post excerpt?
Best regards,
Jordan Shannon
Hi Jordan
I mean under the each blog post on the main page like this
Hi,
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,
Ismael
Hi 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
Charlotte
Hi,
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 Shannon
Hi Jordan,
thanks for your reply.
Yes, I am running a child theme. What code shall I add?
/Charlotte
Hi,
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