#2474 closed defect (bug) (wontfix)
Improve bbPress compatibility with Jetpack's 'Widget Visibility'
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.4.1 |
Component: | API - Widgets | Keywords: | |
Cc: | jeherve |
Description
Hi,
I'm trying to use the JetPack Widget Visibility option with bbPress, but it's impossibile to identify the first page in order to show some bbPress widget only on it. Even if would be possible to set it as a static page (the one used by bbPress with default guid "forums"), it doesn't recognize it until i deactivate bbPress. For all the other page Jetpack make it possibile to recognize bbPress forums, topics and replies by their different post types, so the only problematic page is the first one. I think this could be a bug because the page with guid "forums" should pass through JetPack Widget Visibility, but when bbPress is active it doesn't recognize it anymore.
Thanks.
Attachments (1)
Change History (16)
#1
follow-up:
↓ 4
@
11 years ago
- Summary changed from Impossible to identify the first page of the bbPress forum with "Jetpack Widget Visibility". to Improve bbPress compatibility with Jetpack's 'Widget Visibility'
- Version changed from 2.1 to 2.4.1
#2
follow-up:
↓ 3
@
11 years ago
Any luck with topics views? I suspect any theme comparability page probably has problems as we'll.
#3
in reply to:
↑ 2
@
11 years ago
Replying to johnjamesjacoby:
Any luck with topics views? I suspect any theme comparability page probably has problems as we'll.
Single Forums, Topics and Replies appear to work fine, just the root forums page is the issue.
#4
in reply to:
↑ 1
;
follow-up:
↓ 5
@
11 years ago
- Cc jeherve added
Replying to netweb:
http://example.com/forums
<- Standard bbPress - Only Widget Visibility option is if post type =forum
does not display any widgets.
http://example.com/forums
<- Using a WP page titledforums
and bbPress root slugforums
using Widget Visibility post type =forum
or page =forums
does not display any widgets.
http://example.com/forumpage
<- Using a WP page titledforumpage
and bbPress root slugforumpage
using Widget Visibility post type =forum
or page =forumpage
does not display any widgets.
I'm not really familiar with bbPress, so you'll excuse me if my question seems stupid.
How would you check for each one of these situations using standard conditional tags, or custom bbPress conditional tags? We might have to customize Jetpack to add bbPress compatibility.
#5
in reply to:
↑ 4
@
11 years ago
Replying to jeherve:
How would you check for each one of these situations using standard conditional tags, or custom bbPress conditional tags? We might have to customize Jetpack to add bbPress compatibility.
is_bbpress()
/trunk/includes/common/template-tags.php?rev=4919#L1012
#6
@
11 years ago
That also happen with http://ww2.bbpress.org/forums/view/no-replies/ and http://ww2.bbpress.org/forums/view/popular/
#7
@
11 years ago
Thanks! I created a ticket in the plugins trac, and we'll see about adding extra checks when bbPress is active:
#9
@
11 years ago
- Component changed from General to Widgets
- Milestone 2.6 deleted
- Resolution set to wontfix
- Status changed from new to closed
Closing this here, so we can focus on getting Jetpack to support this with bbPress's conditional tags.
#10
@
11 years ago
For the records, I discovered that the forum root is sensitive to visibility "page" is "archive page". Nothing about the two page views links.
#11
@
11 years ago
This would solve temporarily the issue.
Replace \wp-content\plugins\jetpack\modules\widget-visibility\widget-conditions.php with the attached one.
Anyway if you used the page is_archive page, as told before, this will affect also the forum root.
#12
@
11 years ago
- Resolution wontfix deleted
- Status changed from closed to reopened
Started a new ticket.
#14
@
11 years ago
@SGr33n Let's see what the Jetpack team come up with:
https://github.com/Automattic/jetpack/issues/315 and https://github.com/Automattic/jetpack/pull/167 and
https://github.com/Automattic/jetpack/pull/434
Confirmed, using bbPress with Jetpack's Widget Visibility you are not able to assign widgets to the bbPress root
/forums
, using a page titledforums
or a custom page eg.forumpage
using Jetpack's visibilty optionpost type
=forum
orpage
=forums
/forumpage
etc.http://example.com/forums
<- Standard bbPress - Only Widget Visibility option is if post type =forum
does not display any widgets.http://example.com/forums
<- Using a WP page titledforums
and bbPress root slugforums
using Widget Visibility post type =forum
or page =forums
does not display any widgets.http://example.com/forumpage
<- Using a WP page titledforumpage
and bbPress root slugforumpage
using Widget Visibility post type =forum
or page =forumpage
does not display any widgets.Single Forums, Topics and Replies appear to work fine, just the root forums page is the issue.