Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #921775

    Hey,

    http://www.elleagnes.se
    I want to show comments like this under the blog post
    Comments
    How can I do that?

    Thanks
    Charlotte

    #921812

    Hey Charlotte,

    Do you mean under the post excerpt?

    Best regards,
    Jordan Shannon

    #921816

    Hi Jordan
    I mean under the each blog post on the main page like this

    Comments

    #922200

    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

    #922241

    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

    #922569

    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

    #924252

    Hi Jordan,

    thanks for your reply.
    Yes, I am running a child theme. What code shall I add?

    /Charlotte

    #925035

    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

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