Gallery Post Format

wp_reset_query() restores the $wp_query and global post data to the original main query. This function should be called after query_posts(), if you must use that function. As noted in the examples below, it’s heavily encouraged to use the pre_get_posts filter to alter query parameters before the query is made.

1 comment
Leave a Reply

Your email address will not be published. Required fields are marked *

.cata-page-title, .page-header-wrap {background-color: #e49497;}.cata-page-title, .cata-page-title .page-header-wrap {min-height: 250px; }.cata-page-title .page-header-wrap .pagetitle-contents .title-subtitle *, .cata-page-title .page-header-wrap .pagetitle-contents .cata-breadcrumbs, .cata-page-title .page-header-wrap .pagetitle-contents .cata-breadcrumbs *, .cata-autofade-text .fading-texts-container { color:#FFFFFF !important; }.cata-page-title .page-header-wrap { background-image: url(http://onelove.catanisthemes.com/wp-content/themes/onelove/images/default/bg-page-title.jpg); }