How to enable comments on static pages

Support Forums for LiveMesh Themes & Plugins Forums Fusion Theme Support How to enable comments on static pages

Tagged: ,

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #19604
    Kwenzikwenzi
    Member

    I’ve created a static page (composite page) and I’ve enabled comments, however, comments are not showing (as they do in blog posts).

    I’m using the disqus comment plugin (which works for blog posts), but even without the discuss plugin, comments don’t seem to be working on pages.

    Just to be clear, I don’t want comments on all pages, but I need to activate comments on some specific pages. Ex. no comments on the home page, but allow comments on the FAQ page.

    Thanks,

    #19620
    VeenaVeena
    Moderator
    #19760
    Kwenzikwenzi
    Member

    I tried the config as described in the article but the problem remains.
    Can you try to add comments to a page using the fusion thème?

    #19768
    Kwenzikwenzi
    Member

    I noticed that comments are not shown when using the ‘composite page’ mode (i.e. including ‘page sections’). For a simple page using the default mode comments are working.

    This seems as a bug on the ‘composite page’ mode of the theme.

    #19886
    RaghavendraRaghavendra
    Moderator

    I am looking into this and will get back to you in next 24 hours. Sorry about the delay.

    #19923
    RaghavendraRaghavendra
    Moderator

    Thanks for waiting. Pls insert the following code into last but one line in template-composite-page.php file just above the get_footer() function call –

    
    

    If the comments template is stretching full width, pls change line number 23 of comments.php file to add inner class –

            
    .....
    #19957
    Kwenzikwenzi
    Member

    Thank you! It’s working now.
    I couldn’t manage to avoid comments stretching (using discus) with the modification in comments.php.

    So I finished putting the following in template-composite-page.php :

    
    
    <?php comments_template('/comments.php', true); // Loads the comments.php template. ?>

    With that change everything seems to be working.
    Thanks again.

    • This reply was modified 4 years, 8 months ago by Kwenzikwenzi.
    #20834
    Kwenzikwenzi
    Member

    Comments are gone since the last template update.

    Could you make sure this fix is included in future updates please ?

    #27517
    Asapelearningasapelearning
    Participant

    I can’t see comments now, and I have the latest version of the theme. Do you know if this was ever fixed?

    Thanks,
    Jennifer

    #27523
    VeenaVeena
    Moderator

    Hi Jennifer,

    Which theme you are using?

    #27533
    Asapelearningasapelearning
    Participant

    The Invent theme. I had to add code to my single.php file to get them to display on any page that had comments, not just composite pages.

    This is what I added on line 74 of single.php:

    					comments_template('/comments.php', true); // Loads the comments.php template
    

    It fixed my issue, but would be nice if it was fixed in the theme the next time an update is released.

    #27538
    VeenaVeena
    Moderator

    Sure we ll consider this and thanks for bringing this in to our notice.

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