Skip to:
Content
Pages
Categories
Search
Top
Bottom

change the name of the forum into a link back to site?

  • Hi,

    beginning programmer here. trying to make the forum name a link back to my site. I went into the config.php page and just changed the forum name to a link and this works fine, but has the unintended result of making the page titles also equal “ link ” is there another way to do this?

    Thanks,

    -s

Viewing 3 replies - 1 through 3 (of 3 total)
  • It would be easier to do the following if you want to change your title back in config.php and then download your header.php from your template folder and do something like this:

    <h1><a href="<?php bb_option('uri'); ?>"><?php bb_option('name'); ?></a></h1>

    Then save the file and upload to /my-templates/ so if you make a mistake, you can delete it and bbPress will use the original!

    Trent

    not sure if I understand that. I forgot to put the backticks around my links code which I’m sure didn’t help. the code you provided is already contained in the header.php file in templates. The link as is is to mysite/forum

    but I’d like to make one that goes to mysite. Or even better, the end link would be like this:

    <a href="http://mysite/">My Site </a> -- <a href="http://mysite/forum"> Discussion Forum</a>


    chrishajer
    Participant

    @chrishajer

    Take a look at http://www.riversideinfo.org/forum and see if the two links at the top (“Website Home” and “Forum Home”) are what you want. If they are, look at the source and steal away.

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