Skip to:
Content
Pages
Categories
Search
Top
Bottom

Finding the footer in php files


  • convictedvapour
    Participant

    @chronicbubble

    Hi,

    Can anyone tell me where I can find the footer of bbpress please so I can add html text at the base across the whole of the bbpress forums and pages etc.

    Can’t find it and looked for footer.php?

    Regards,

    Gareth

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

  • schwarzkopf.club
    Participant

    @schwarzkopfclub

    i think it was a class called “entry-footer”


    convictedvapour
    Participant

    @chronicbubble

    @schwarzkopfclub thank you will look into it!


    convictedvapour
    Participant

    @chronicbubble

    @schwarzkopfclub Thanks you have been a legend and set me well on my way. Also gave me the terms to google and find a plugin that will help generally also:

    What The File is the best tool to find out what template parts are used to display the page you’re currently viewing!:

    https://wordpress.org/plugins/what-the-file/

    Also on the codex:

    Getting Started in Modifying the Main bbPress Template

    Thanks again,

    Gareth


    convictedvapour
    Participant

    @chronicbubble

    Right then after some trial and error:

    You can add into the footer on the main bbpress forum page by editing the following file:

    \wp-content\plugins\bbpress\templates\default\bbpress\content-archive-forum.php

    Just add whatever you need where I have put <p>Example text here</p> on the following code

    <?php endif; ?>
    <p>Example text here</p>
    <?php do_action( 'bbp_template_after_forums_index' ); ?>
    </div>

    Hope this helps others who need this advice!

    Regards,

    Gareth


    convictedvapour
    Participant

    @chronicbubble

    What I was mainly after was adding the little yellow text notice box that’s there on creating or replying topics. Like the one that states Your account has the ability to post unrestricted HTML content. within the yellow notice box.

    If you want the same you can add this is using my example above. Just replace Example text here. text with your own custom notice. Hope this helps someone out!

    <div class="bbp-template-notice">
    <p><?php _e( 'Example text here.', 'bbpress' ); ?></p>
    </div>

    Regards,

    Gareth

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