sourpatch (@sourpatch)

Forum Replies Created

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

  • sourpatch
    Participant

    @sourpatch

    hi thank you for the quick response, helps a lot when you are trying to work your way through a problem. I must first say though I am new to this wordpress php bbpress thing.

    SO you mentioned I use bbpress-functions.php? Can you be more specific I know you already are but I would like to know the exact steps to take if you will.

    I know changing the following code in bbpress.php for the plugins>bbpress file. but if I change this than the updates will delete the changes I make so therefore I need to make a child theme. So where do I paste the following code in bbpress-functions.php?

    public static function register_post_types() {

    // Define local variable(s)
    $post_type = array();

    /** Forums ************************************************************/

    // Forum labels
    $post_type[‘labels’] = array(
    ‘name’ => __( ‘Enchanted’, ‘bbpress’ ),
    ‘menu_name’ => __( ‘Enchanted’, ‘bbpress’ ),
    ‘singular_name’ => __( ‘Forum’, ‘bbpress’ ),
    ‘all_items’ => __( ‘All Forums’, ‘bbpress’ ),
    ‘add_new’ => __( ‘New Forum’, ‘bbpress’ ),
    ‘add_new_item’ => __( ‘Create New Forum’, ‘bbpress’ ),
    ‘edit’ => __( ‘Edit’, ‘bbpress’ ),
    ‘edit_item’ => __( ‘Edit Forum’, ‘bbpress’ ),
    ‘new_item’ => __( ‘New Forum’, ‘bbpress’ ),
    ‘view’ => __( ‘View Forum’, ‘bbpress’ ),
    ‘view_item’ => __( ‘View Forum’, ‘bbpress’ ),
    ‘search_items’ => __( ‘Search Forums’, ‘bbpress’ ),
    ‘not_found’ => __( ‘No forums found’, ‘bbpress’ ),
    ‘not_found_in_trash’ => __( ‘No forums found in Trash’, ‘bbpress’ ),
    ‘parent_item_colon’ => __( ‘Parent Forum:’, ‘bbpress’ )
    );

    In reply to: page.php as template

    sourpatch
    Participant

    @sourpatch

    how would I implement the bbpress.php file if I don’t want it to get erased in updates? do I copy the bbpress.php and edit and put it in the child theme folder?

    also where is settings > bbpress
    I have settings > forum
    do I modify the slugs?

    • This reply was modified 11 years, 4 months ago by sourpatch.
    • This reply was modified 11 years, 4 months ago by sourpatch.
    • This reply was modified 11 years, 4 months ago by sourpatch.
    • This reply was modified 11 years, 4 months ago by sourpatch.
    In reply to: page.php as template

    sourpatch
    Participant

    @sourpatch

    Do I make the bbpress.php and put it in the wordpress theme folder or the bbpress theme folder? Can there be two bbpress.php files will one override the other?

    sorry I should use the edit, didn’t realize, I’m not sure if this was wrong way to use the forum

    • This reply was modified 11 years, 4 months ago by sourpatch.
    • This reply was modified 11 years, 4 months ago by sourpatch.
    In reply to: page.php as template

    sourpatch
    Participant

    @sourpatch

    So can anyone explain to me how I can edit the bbpress.php file and change the forum labels, like the word forum and topic to another word. Do I make a bbpress.php file and put it in my child theme? I duplicated the bbpress.php file and edited it now where should I place it? or is this the wrong approach?

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