#1744 closed enhancement (wontfix)
Custom headers code field
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Back-end | Keywords: | |
Cc: | sooskriszta |
Description ¶
bbPress should have provision for a custom header code field. Perhaps this can be in
Wordpress admin > Settings > Forums
Maybe provide 3 text boxes, one each for:
- Forums custom header code (should apply to forum root too)
- Topics custom header code
- Replies custom header code
bbPress should then insert the respective snippets in the header on forum, topic and reply pages.
In one snap of the finger, this would make bbPress customization so much more powerful.
Pull Requests
- Loading…
Change History (7)
#1
@
13 years ago
- Milestone Awaiting Review deleted
- Priority changed from high to normal
- Resolution set to wontfix
- Status changed from new to closed
#2
@
13 years ago
How about capturing the data, and making it available to the themes on forum pages in a variable, so that they can use/support it if they desire.
As you know, I am not a coder, but my suspicion is that themes will have trouble identifying forum pages separately. And theme developers may be unwilling to do something specifically for bbPress.
If however, there is a WordPress variable that can be made available to them for each page, and the page basically decided whether to provide the value or not (e.g. for forum pages, bbPress can provide the value), then all theme developers need to do is put the variable in their header. If there's a value in it, great, if not, great as well.
What do you think?
#3
@
13 years ago
I'm a little fuzzy on what you're referring to for header, and what the intended purpose of this idea is exactly. Can you provide me with a current need that you're trying to fill, or a problem that you're trying to solve?
#4
@
13 years ago
When I say header, I mean the part between <head></head> tags on the page.
There could easily be numerous applications for this, such as including an additional stylesheet file, using a style tweak, using better meta description tags, adding an additional script, adding og properties, etc.
#5
@
13 years ago
Based on my recent education at WordPress Trac, what I am asking is that:
- In Wordpress admin > Settings > Forums, you provide 3 textboxes Forums custom header code (should apply to forum root too), Topics custom header code, and Replies custom header code
- Pass these values to theme via wp_head action hook for relevant pages http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
This is a non-trivial feature request, more than one snap a finger.
This type of enhancement is theme dependent, and as such should be built into the theme that supports it.
Closing as wontfix.