Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #203563

    Hi
    I have a problem and I really can’t find from where it happens :
    Comments only show on the blog articles but don’t show on pages.

    For example, here’s an article and everything is fine
    http://test.lille-danse.fr/les-accessoires-de-la-danse-orientale

    but for pages, comments doesn’t show !
    I can check or uncheck the “show comments” box, it doesn’t change anything !
    For example, a page where comments are activated :
    http://test.lille-danse.fr/livre-dor/
    => Nothing shows…

    My site is for now available at http://www.test.lille-danse.fr

    Thank you for any of your ideas !!

    #203605

    Hey odeya!

    This will only work if you’re not using the Advance Layout Builder for your pages. Edit page.php, find this code:

    $avia_config['size'] = avia_layout_class( 'main' , false) == 'entry_without_sidebar' ? '' : 'entry_with_sidebar';
                        get_template_part( 'includes/loop', 'page' );

    Below, add this code:

    //wordpress function that loads the comments template "comments.php"
                            comments_template( '/includes/comments.php');

    Edit the page then make sure that the Allow Comments option under Discussions box is enabled.

    Cheers!
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Comments don't show on pages but show on blog, i wan't them everywhere !’ is closed to new replies.