Hi,
I've openend comments for certain pages, but in the frontend, there is no comment form shown.
I used the tip from the CORONA forum here and replaced in my page.php of VELVET
this
<div class='template-page content'>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/
$avia_config['size'] = 'page';
get_template_part( 'includes/loop', 'page' );
?>
with this:
<div class='template-page content'>
<?php
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/
$avia_config['size'] = 'page';
get_template_part( 'includes/loop', 'page' );
//wordpress function that loads the comments template "comments.php"
comments_template( '/includes/comments.php');
?>
Although the comments are set as allowed on certain pages, where I do not use a dynamic template on, no comment form is shown.
Is this part of code, that I have fetched from the CORONA forum wrong for the VELVET theme?
How can I have comments on certain pages (without dynamic templates used), too?
Thanks.














