I have set up a question to query 80 posts per page based on a date date but for this page 2 does not load me. It always says a 404 error. I do not really know where I went wrong. This is the code. Thanks in advance for help
& lt; Div class = "mainvideoscon" & gt; & Lt; Div class = "videosallcenter" & gt; & Lt ;? Php $ paged = get_query_var ('paged')? Get_query_var ('paged'): 1; $ Args = array ('post_type' = & gt; array ('post', 'video', 'featured', 'spotlight'), 'page' = & gt; $ paged); $ Wp_query = New WP_Query ($ Args); If (has_posts ()): while ($ wp_query-> is_poz ()): $ wp_query-> The_post (); If ($ CURRENT_DATE = get_the_date ('dm-y')!) {Echo '
No comments:
Post a Comment