Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Change “add new topic” link?


chrishajer
Participant

@chrishajer

2. of my reply covers your second problem.

<?php bb_new_topic_link('Add New Essay'); ?>

bb_new_topic_link is called without parameters in your front-page.php template file, but if you pass it the string ‘Add New Essay’ you will see the text in your displayed site change. You are overriding the default text which is in the bbPress core.

The reason you don’t find it in a template file is because it’s not there. The function is there, and is called without parameters. The default text is in the core, but you can override it in your template.

1. I cannot help you with and I questioned the desire to even do something like that. Why would you want an “add new” page indexed when it has no content? What benefit does it give your site?

I imagine you could probably do something to change that using mod_rewrite and your .htaccess file, but I don’t know how to do that.

Skip to toolbar