[buddypress-trac] [BuddyPress Trac] #8281: Query Var values for page and pagename

buddypress-trac noreply at wordpress.org
Sat May 9 05:52:44 UTC 2020


#8281: Query Var values for page and pagename
--------------------------+------------------------------
 Reporter:  vapvarun      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Messages      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by imath):

 * keywords:  reporter-feedback => has-patch


Comment:

 HI,

 I believe the best way to achieve your goal is to be able to pass your
 meta data into the function to get the thread to be able to manage it in
 JavaScript.

 The patch is adding 2 filters as otherwise it's a bit complex to get the
 thread ID. And here's an example of use of one of the filter:
 https://gist.github.com/imath/b9f68e2a0754d7296c6abdbd16d62816

 Using template overrides, you can specify how to render the information >
 https://gist.github.com/imath/b9f68e2a0754d7296c6abdbd16d62816#file-index-
 php-L250

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8281#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list