Missing Comments Flag in Pillar Pages
learningleanil opened this issue · 4 comments
You hopefully remember that I am one of the Pillar Page Wordpress plugin's greatest fans! I'm in the middle of creating a new Inbound Marketing Optimized website that uses the plugin (maybe too much :-) and I just discovered - all the Custom Post Types created with the Pillar Page Plugin lack the code to display Comments. Allow Pingbacks & Trackbacks are included but not the "Discussion Flag"
I tried to figure out how to modify your code so that it adds "Discussion"
e.g.
/* If comments are open or we have at least one comment, load up the comment template */
if ( comments_open() || '0' != get_comments_number() ) {
comments_template();
}
Any suggestions? In which of your files should I attempt to modify the code to include this insertion of the Comment Template?
Thanks in advance for any & all assistance extended! Yoel
Hi Yoel,
can you please try to extend the array at pillar-pages.php#L112 with comments
?
So that it looks like:
'supports' => [
'title',
'editor',
'author',
'thumbnail',
'excerpt',
'trackbacks',
'custom-fields',
'revisions',
'post-formats',
'comments',
],
Thanks for testing. Added in the newest version.