Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
The core of the WordPress query, the loop offers an easy way to access post information and display it on your website.
1
vote
2
answers
134
views
Page-loop is looping content from custom loops on the same site. How to avoid that?
first loops are fine but the third (the main page loop) is looping the content from one of the other two loops, not from the actual site!?! … i think this happens because the main page-loop is the last one on that page. how can i avoid that?
here's my code:
the first loop:
<? …
0
votes
1
answer
2k
views
Problem with different query loops (and "main loop") on category template page!
the first loop:
<div id="slider1">
<?php $args = array( 'post_type' => 'slider');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();? … end of #slider1 -->
the second loop:
<div id="topteaser">
<?php $args = array( 'post_type' => 'teaser');
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post();? …