Skip to:
Content
Pages
Categories
Search
Top
Bottom

Theaded comments and BP 1.2 Defuault Theme??

  • Avatar of Avi M
    Avi M
    Participant

    @avim

    Just noticed that comments to our blog posts don’t seem to be threading in the 1.2 default theme. There is of threading available elsewhere on the theme, so I know Default 1.2 is capable of doing this. Do I need to activate the ability for blog comments somewhere or is it simply that blog comments lack the feature?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Avatar of Avi M
    Avi M
    Participant

    @avim

    Update:

    I found the setting in the Discussion Settings are and they are enabled so I guess it’s an issue with the theme. Anyone know of an easy way to add this feature to the theme?

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    This is probably missing from the header.php file

    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

    Avatar of Avi M
    Avi M
    Participant

    @avim

    Thanks mod can you plz tell what file I need to dorp this in? Also do I add it to your child theme or the main BP Deafaul theme?

    Last time I checked, the theme was enabled for threaded comments but the CSS styling was missing from an element.

    Avatar of Avi M
    Avi M
    Participant

    @avim

    Hi Paul thanks for the response.

    So for the novice like myself how do I fix that?

    Avatar of Avi M
    Avi M
    Participant

    @avim

    Anyone?

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Turn on threaded comments in WP admin >> discussion.

    CSS, adjust accordingly.

    ol.commentlist .children {

    margin-left: 30px;

    }

    Avatar of Avi M
    Avi M
    Participant

    @avim

    Thanks mo

    I have threaded comments turned off but I am not sure where to rop the code? is in the comments php file or somewhere else?

    Avatar of @modemlooper
    @modemlooper
    Moderator

    @modemlooper

    Create a folder called bp-custom in wp-content/themes . In this folder create a file called style.css

    add this to the style.css file. Then go into your admin and activate this theme.

    /*
    Theme Name: BuddyPress Custom
    Theme URI: http://example.org
    Description: Custom theme for BuddyPress.
    Version: 1.0
    Author: John Doe
    Author URI: http://example.org/
    Template: bp-default
    Tags: buddypress
    */

    /* Inherit the default theme styles */
    @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/default.css );

    /* Inherit the default theme adminbar styles */
    @import url( ../../plugins/buddypress/bp-themes/bp-default/_inc/css/adminbar.css );

    /* change the number higher or lower to adjust the indentation of threads */
    ol.commentlist .children {
    margin-left: 30px;
    }

    Avatar of Avi M
    Avi M
    Participant

    @avim

    Thanks will do and report back!

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.