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
    kwenzi
    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
    Veena
    Moderator
    #19760
    kwenzi
    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
    kwenzi
    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
    Raghavendra
    Moderator

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

    #19923
    Raghavendra
    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
    kwenzi
    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.

    #20834
    kwenzi
    Member

    Comments are gone since the last template update.

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

    #27517
    asapelearning
    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
    Veena
    Moderator

    Hi Jennifer,

    Which theme you are using?

    #27533
    asapelearning
    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
    Veena
    Moderator

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

Viewing 12 posts - 1 through 12 (of 12 total)
  • The forum ‘Fusion Theme Support’ is closed to new topics and replies.