Trouble queering posts dynamically with author_name= (current BP) ‘nicename’
-
I am trying to dynamically filter the query post using the filter author_name=’nicename’. The code I used is..
query_posts( ‘author_name=bp_displayed_user_username()’);
I have tried MANY different combinations including setting up functions and inserting variables as the ‘nicename’ with no luck. Has anyone had success with filtering this query post in this way? Thanks in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Trouble queering posts dynamically with author_name= (current BP) ‘nicename’’ is closed to new replies.