wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
query_posts › WordPress Function
Seit1.5.0
Veraltetn/v
› query_posts ( $query )
Parameter: |
|
Gibt zurück: |
|
Definiert in: |
|
Codex: |
Sets up The Loop with query parameters.
Note: This function will completely override the main query and isn't intended for use by plugins or themes. Its overly-simplistic approach to modifying the main query can be problematic and should be avoided wherever possible. In most cases, there are better, more performant options for modifying the main query such as via the {@see 'pre_get_posts'} action within WP_Query. This must not be used within the WordPress Loop.