WordPress.org

Ready to get started?Download WordPress

Forums

Better WordPress Recent Comments
[resolved] Simply Using BWP Recent Comments (14 posts)

  1. thatsgame1
    Member
    Posted 1 year ago #

    I'm excited that I found this just having a hard time getting it to work. I downloaded, installed, activated, am using shortcode [bwp-rc] but nothing displays. I prefer not use widgets.

    What am I missing?

    Thank you

    http://wordpress.org/extend/plugins/bwp-recent-comments/

  2. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Do you use default settings or have your own?

  3. thatsgame1
    Member
    Posted 1 year ago #

    Used default settings. tallyconnection. below Highlights section.

    WordPress 2.9.1

  4. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Is the part after Highlights inside a post/page? If it's not the shortcode will not work.

  5. thatsgame1
    Member
    Posted 1 year ago #

    the shortcode is inside home.php which is a page under "Appearance" then "Editor". Is that considered a page?

  6. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    No it's not considered a page. I suggest you use the template function instead (fyi: http://betterwp.net/wordpress-plugins/bwp-recent-comments/#template_functions)

  7. thatsgame1
    Member
    Posted 1 year ago #

    When I put:

    <?php bwp_get_recent_comments(array('instance' => 'page', 'separate' => true, 'post_type' => 'page', 'comment_type' => 'comment')); ?>

    I get "No recent comment found."

  8. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Try this:

    <?php bwp_get_recent_comments(array('comment_type' => 'comment')); ?>

  9. thatsgame1
    Member
    Posted 1 year ago #

    Thanks that worked. Question though. Before you sent that I have been testing this:

    <?php
    $page_id = 275676; // The number here relates to the WordPress page ID you want to show up and assigns it to a variable
    $page_data = get_page( $page_id ); // This defines a new variable with your Page ID number
    $content = apply_filters('the_content', $page_data->post_content); // This apply a filter so the content is treated as it should be from WordPress
    $title = $page_data->post_title; // This gets the post title and assigns it to a variable
    echo $content; // This makes our page content show up
    ?>

    I like that it lets users navigate between recent comments without taking them off the front page. I created a "page" then added the shortcode. That pages id is 275676.

    With the code you gave me uses aren't able to click "Older" and navigate anywhere. How would I set of comments to display? I see in the settings of the plugin but they don't seem to change (always shows 5).

    Thanks again for your help

  10. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Can you give me a link to the page you're showing page_id 275676?

  11. thatsgame1
    Member
    Posted 1 year ago #

  12. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    What browser did you use to test? It is working fine for me here using Firefox.

  13. thatsgame1
    Member
    Posted 1 year ago #

    Google Chrome, IE and FireFox. I left comments on front page. There are two sets of them. First set is this code:

    <?php
    $page_id = 275676; // The number here relates to the WordPress page ID you want to show up and assigns it to a variable
    $page_data = get_page( $page_id ); // This defines a new variable with your Page ID number
    $content = apply_filters('the_content', $page_data->post_content); // This apply a filter so the content is treated as it should be from WordPress
    $title = $page_data->post_title; // This gets the post title and assigns it to a variable
    echo $content; // This makes our page content show up
    ?>

    2nd set is the code you gave me:
    <?php bwp_get_recent_comments(array('comment_type' => 'comment')); ?>

    The second set doesn't let me click the "Older" link to look through older comments.

    I'll leave both up so you can see it.

    Thanks again for your help.

  14. Khang Minh
    Member
    Plugin Author

    Posted 1 year ago #

    Weird, I tried IE, Chrome too and they both worked fine. Maybe you should create a screencast for me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic