Skip to:
Content
Pages
Categories
Search
Top
Bottom

Author specific custom post in profile

  • HI i have BuddyPress 1.5 running on genesis child theme Lifestyle . I have created a custom post type called listing , Where users can post their business information , Which will be displayed like a directory .Now i need to pull the listing (my custom post type ) for specific users and display it in their profile . There is a default tab called post in individual member page. I think this does the same function . I need something like this that filters only the specific user’s listing(my custom post type ).Please someone guide me .Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)

  • modemlooper
    Moderator

    @modemlooper

    Not a BuddyPress issue. You need to query a WordPress loop for that user and post type. Curious as to why you chose custom post type and not a BuddyPress component?

    I am using gravity forms to fetch the directory data from user . The fields in gravity form are mapped with the custom fields of custom post type ‘listing’ ,the one i mentioned above. Therefore when the user fill the gravity form , it will dynamically create a post .Now i need to list this post in user’s profile.Sorry if i am not clear .To put it shortly, I need to display a custom post in user’s profile.


    modemlooper
    Moderator

    @modemlooper

    On the profile tab? Query a loop on the profile.php template file to out put that users posts. Google how to loop through WordPress custom posts.


    4ella
    Participant

    @4ella

    Did you make it work @logeshmba ?


    4ella
    Participant

    @4ella

    I have noticed now that this is 2 ys. old thread 🙁

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Author specific custom post in profile’ is closed to new replies.
Skip to toolbar