Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Tessa –

    I don’t think there’s much I could do to troubleshoot from logging in to the site. It sounds like the theme on your client’s site is not calling the comments_template function to load the comment form, but that’s just a guess.

    If it’s a publicly-available theme, can you post the name and a link? If you’d rather not share it, feel free send it along to david at generalthreat dot com.

    – David

    I’m having the same problem.

    Forum topics are created fine, but the link to the topic does not appear at the bottom of any of my posts. I’ve set everything up as per the screenshots in the plugin folder and tried with the 2014, 2013 and 2012 themes, but no joy on either the index page or single post display pages.

    With regard to your reply to Tessa above, I’m not seeing a call to “comments_template();” in the theme file I’m expecting it to be in: content.php. Am I looking in the right place?

    Given that WP seems to be ignoring my settings, is there a shortcode, or a code snippet I can insert into a template to force your plugin to make the forum topic links appear?

    PS: further to previous:

    I did try directly embedding a code snippet from the plugin directly into the content.php template file, just to see if there was communication happening between BBPress Topics for Posts and WP as a whole:

    <?php
    global $post, $bbp_post_topics;
    $settings = $bbp_post_topics->get_topic_options_for_post( $post->ID );
    ?>
    <a href="<?php bbp_topic_permalink( $bbp_post_topics->topic_ID ); ?>"><?php printf($settings['text']['link-text'],$post->post_title) ?></a>

    Weirdly enough, that generated what looked like the link to the forum post as desired… except that the URL generated by bbp_topic_permalink( $bbp_post_topics->topic_ID ) was actually a link to the single post page for the article, rather than the topic in the forum. PHP ain’t my strong point, so I wasn’t able to suss out why calling the bbp_topic_permalink() function outside of the plugin returned the post URL rather than the topic URL or an ‘undefined’ error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Comments not showing up on posts’ is closed to new replies.