Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change default text when not logged in


  • paripari
    Participant

    @paripari

    Hi guys

    Please see attached screenshot. When not logged into the forum, there is the standard message “You must be logged in to create new topics”

    I want to change that text and add a link there to signup to my membership page, i used the explore inspection tool, and think i pin pointed it to this file ” bbp-template-notice” BUT i cant find that file any where…

    Please advice

    HELP

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

  • paripari
    Participant

    @paripari

    No One??


    Robin W
    Moderator

    @robin-w

    sorry 8 hours on a Saturday evening is being a bit hopeful !


    Robin W
    Moderator

    @robin-w

    that text is in

    \templates\default\bbpress\form-topic.php

    and you’ll probably also want

    \templates\default\bbpress\form-reply.php

    for replies

    you’ll probably want to put revised versions in your child theme

    Functions files and child themes – explained !

    You can copy all the templates across, but you only need to copy those that you want to change, and it is better just to do this, as then you know which you have altered.

    so if you wanted to amend form-topic.php you would do the following

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php
    bbPress will now use this template instead of the original
    and you can amend this


    Robin W
    Moderator

    @robin-w

    Shame that having berated us for not answering sooner, you haven’t acknowledged an answer after 18 hours.

    Hope my effort helped, but will never know I s’pose.


    paripari
    Participant

    @paripari

    I am very sorry for late answer. Dealing with 3 small childrens can be time consuming and they take all my energy.

    But anyway yes that exactly did the trick… Thank you so much
    This one is resolved.
    Cheers
    Hamid


    Robin W
    Moderator

    @robin-w

    great – glad you are fixed !

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar