New Landing How can we help? Themeforest Theme Support Flexform Comments in pages doesn' work

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Flexform
  • #318904
    foodfreaks
    Member
    Post count: 46

    Hi support team

    in a topic from 2013 in this forum I red that comments in pages are not supported with flexform. Is there any change or a change planned? In the post from 2013 you refer to a code but forgot to write down the code. Could you please describe what I need to do to have comments under a page?

    Thanks for your support and the nice theme,
    Christian

    #318997
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Not sure if possible. Will forward to the development team.

    -Rui

    #319052
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @foodfreaks,

    To add comments, all you need to do is edit the page.php file, and add this code:

    <?php if ( comments_open() ) { ?>
    <div class="<?php echo $comments_wrap_class; ?>">
    	<div id="comment-area" class="<?php echo $comments_class; ?>">
    		<?php comments_template( '', true ); ?>
    	</div>
    </div>
    <?php } ?>

    This would typically go below the_content(); (line 108)

    – Ed

    #319059
    foodfreaks
    Member
    Post count: 46

    Thanks, it works perfectly!

    Great support!
    Christian

    #319207
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Thanks Ed.

    -Rui

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register