Results 1 to 2 of 2

Thread: display user's recent posts in sidebar not working on search page

  1. #1
    Thread Starter
    Amateur jns120's Avatar
    Join Date
    Aug 2010
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    display user's recent posts in sidebar not working on search page

    If a user is logged in I would like to display a list of their recent posts in the sidebar. I have coded it and it works on all pages except for the search results page. On that page it seems it takes whatever search param is passed in the url and applies it to the custom query.

    So for example I want to display a user's recent posts on a page with "/?s=mechanic". In the query to return that user's posts it filters it based on that search term.

    Is there any way to nullify whatever is in the url as a search param?

    thanks

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,978
    Thanks
    170
    Thanked 3,407 Times in 3,278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Thumbnail photo, CP Recent Blog Posts Widget
    By lcolley in forum Report ClassiPress Bugs
    Replies: 7
    Last Post: December 30th, 2011, 12:28 PM
  2. Remove user's url field on posting ads and User's profile
    By Heroes in forum ClassiPress General Discussion
    Replies: 6
    Last Post: June 3rd, 2009, 06:14 AM