Results 1 to 2 of 2

Thread: Prioritizing content in search

  1. #1
    scotte is offline Hello World
    Join Date
    Jul 2011
    Posts
    3

    Default Prioritizing content in search

    Is there anyway to prioritize my pages over my posts when a user searches for something? I.e. I want my pages to be at the top of the search results and my posts to be below them.

    Thanks!

    -SE

  2. #2
    chipbennett's Avatar
    chipbennett is offline WordPress Legend
    Join Date
    Feb 2009
    Location
    St. Louis, MO
    Posts
    1,997

    Default

    You could output two separate, custom Loops: the first one querying Pages, and the second one querying Posts.
    WP TurnKey - Turn-Key WordPress installation and maintenance services
    WordPress user since 2005 | @chip_bennett | chipbennett.net | cbnet Plugins

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •