Skip to:
Content
Pages
Categories
Search
Top
Bottom

Which is the file to edit the layout?


  • ordresser
    Participant

    @ordresser

    I want to put something underneath the main content (the left column) on threads. Which is the file I need to edit?

    Thanks

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

  • Robin W
    Moderator

    @robin-w

    can you post a link to a screenshot of where you would like this


    ordresser
    Participant

    @ordresser

    Around here, below the thread


    Robin W
    Moderator

    @robin-w

    The file is form-topic.php

    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

    However the form has an action hook you can link to

    <?php do_action( 'bbp_theme_after_topic_form' ); ?>

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