no search result with page having only specific cats


 

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




no search result with page having only specific cats

Add a New Topic Reply to Post
UserPost

10:42 am
October 30, 2007


Dieter Deramoudt

Guest

Hello,

 I have a site ( www.vanmonckhoven.be ) which has on its main page 2 sets of WP posts based on 2 categories

 first part of the page is a list of posts with cat=4

second part of the page is a list of posts with cat =5

 

e.g. I do a <?php if ( have_posts() ) : query_posts($query_string .'&cat=4'); while ( have_posts() ) : the_post(); ?> to filter on the posts..

 

It seems that my specific behaviour prevents form displaying search results from the plugin.

Any idea to bypass that ? 

11:28 am
October 30, 2007


Jean-Luc

Admin

posts 220

Hi Dieter,

I am not sure to understand what you are trying to achieve. By using query_posts, you control which posts show up (query_posts description). Why do you use query_posts if you want to see all kinds of posts and pages ?

Met vriendelijke groeten,

Jean-Luc

Add a New Topic Reply to Post


Reply to Topic: no search result with page having only specific cats

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 5 + 8        (Required)

Topic Reply:


 

WebStats1


About the InternetOfficer.com forum

Currently Online:

2 Guests

Maximum Online: 20

Forums:

Groups: 2

Forums: 7

Topics: 103

Posts: 492

Members:

There are 25 members

There are 94 guests


Jean-Luc has made 220 posts

Top Posters:

Steve - 14

angelko - 4

cwei - 4

Kinglui - 3

vtroymck - 3

Administrator: Jean-Luc | Moderators: Jean-Luc


© Simple:Press Forum - Version 3.1.2 (Build 340)