WordPress.org

Ready to get started?Download WordPress

Forums

bbPress
Recent post boxes (2 posts)

  1. pmmg
    Member
    Posted 2 years ago #

    Okay...so I am new to WordPress, PHP, coding and all of it :)

    I have a small site and on it I have BBPress forums.

    I am trying to use the 'BBPress reply list widget'.

    This code:

    <li>
    
    <?php
    $author_link = bbp_get_reply_author_link( array( 'type' => 'both', 'size' => 14 ) );
    $reply_link  = '<a class="bbp-reply-topic-title" href="' . esc_url( bbp_get_reply_url() ) . '" title="' . bbp_get_reply_excerpt( bbp_get_reply_id(), 50 ) . '">' . bbp_get_reply_topic_title() . '</a>';
    
    /* translators: bbpress replies widget: 1: reply author, 2: reply link, 3: reply date, 4: reply time */
    
    printf( _x( $show_date == 'on' ? '%1$s on %2$s, %3$s, %4$s' : '%1$s on %2$s', 'widgets', 'bbpress' ), $author_link, $reply_link, get_the_date(), get_the_time() );
    ?>
    
    </li>

    is producing strange results on my WordPress page.

    Where as it should produce a nice box with all the text contained.

    [ Avi, username on topic, march 20, 2012 at 6:15pm ] <--Clickable

    it is instead posting all of that in separate boxes,

    [ Avi ] <--clickable
    [Username ] <--clickable
    on
    [ topic ] <--clickable
    march 20, 2012 at 6:15 pm

    Well, I would like one clickable box and not three separate ones running vertically down the sidebar.

    If anyone could help me with this, or educate me a little, I would greatly appreciate it.

    (I hope that makes sense. I apologize, but I dont see how I can post a screen shot)

    http://wordpress.org/extend/plugins/bbpress/

  2. pmmg
    Member
    Posted 2 years ago #

    Edit...and actually, i dont much care if clicking on the avi or username redirects to the profile page. I really just want it to go to the new post in the forum thread.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic