• Resolved aparente001

    (@aparente001)


    I built a custom theme using Blank Three Column by blankthemes.com (which I don’t plan to do again, since I just discovered the theme is free but support is not — they don’t even have a user support forum). I enabled comments in the admin settings, but there is no mention of comments on any of my pages. I checked page.php and found

    if( get_option('of_pages_comments') == 'true') { ?>
    				<?php comments_template( '', true );

    And I found a file called comments.php but nothing called comments_template. Is that the problem?

    I can’t provide a link to the site because it’s still in development on my machine. However, I can show additional code if you need it. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter aparente001

    (@aparente001)

    Hmm, can’t seem to edit my post. Here’s a better paste of the code:

    <?php /* Enable/disable comments in pages */
    	if( get_option('of_pages_comments') == 'true') { ?>
    	<?php comments_template( '', true ); ?>
    	<?php } ?>

    I’m sorry but as you appear to be using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from www.ads-software.com here.

    Thread Starter aparente001

    (@aparente001)

    I guess I’ll have to start over and not base my theme on anything from blankthemes.com. Do you have a suggestion? I need a left sidebar and a right sidebar. Thank you.

    Try using the tag filter on https://www.ads-software.com/extend/themes/ to just browse 3-column themes.

    Thread Starter aparente001

    (@aparente001)

    Thank you.

    Thread Starter aparente001

    (@aparente001)

    Just to wrap this up. I did the filter thing you suggested and looked at how one of the themes I found there called the comments template. I made a simple change to my page.php and voilà, my comments form is now appearing. I replaced

    `<?php /* Enable/disable comments in pages */
    if( get_option(‘of_pages_comments’) == ‘true’) { ?>
    <?php comments_template( ”, true ); ?>
    <?php } ?>`

    with

    <?php comments_template( '', true ); ?>

    I don’t understand this code well enough to say why this fixed it, but it did, and I’m happy.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘help, no comments!’ is closed to new replies.