• Resolved anepilep

    (@anepilep)


    Hi there,

    How can I change the title for only the main forum page from the default of “Forums”?

    I can’t find it anywhere in forums.php.

    Thank you!
    Kyle

    • This topic was modified 8 years ago by anepilep.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello @anepilep

    The title on the forum-overview page is the title you have given to the page which contains the [forum]-shortcode. ??

    Thread Starter anepilep

    (@anepilep)

    Thanks for your quick answer! Though I still can’t get it changed. I’m using the [forum] shortcode directly on my homepage. I have the page titled “Home” on WP side… but it’s still showing “Forum” directly above the forums. I don’t have a page created even called “Forum”.

    Any other thoughts?

    Thanks!
    Kyle

    Yworld

    (@yworld)

    @anepilep
    Remove from the screen class

    .class {
    display: none;
    }

    class -replaced by your

    • This reply was modified 8 years ago by Yworld.
    Plugin Author Asgaros

    (@asgaros)

    Hello @anepilep

    Ah okay, I thought you mean the browser title. The page title is set to “Forum” at the overview and gets replaced by forum/topic-name when you browser your forum. So this is intended.

    If you really want to change it, you can do it in the following file:
    asgaros-forum\includes\views\overview.php

    Just remove or edit this line of code:
    echo '<h1 class="main-title">'.__('Forum', 'asgaros-forum').'</h1>';

    Thread Starter anepilep

    (@anepilep)

    That did it! Thanks @asgaros

    I do want the forum categories to inherit the title as you intended, but just wanted to change the title of the root forum page. I was able to do so by just changing the ‘Forum’ section in the code you outlined.

    Thanks again!
    Kyle

    • This reply was modified 8 years ago by anepilep.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Root forum title – “Forums”’ is closed to new replies.