Ceci est la page index, vous n'avez rien à faire ici

PROPRIETES DE L'OBJET WP_Query

object(WP_Query)#600 (55) { ["query"]=> array(1) { ["attachment_id"]=> string(6) "524353" } ["query_vars"]=> array(65) { ["attachment_id"]=> int(524353) ["error"]=> string(0) "" ["m"]=> string(0) "" ["p"]=> int(524353) ["post_parent"]=> string(0) "" ["subpost"]=> string(0) "" ["subpost_id"]=> string(0) "" ["attachment"]=> string(0) "" ["name"]=> string(0) "" ["pagename"]=> string(0) "" ["page_id"]=> int(0) ["second"]=> string(0) "" ["minute"]=> string(0) "" ["hour"]=> string(0) "" ["day"]=> int(0) ["monthnum"]=> int(0) ["year"]=> int(0) ["w"]=> int(0) ["category_name"]=> string(0) "" ["tag"]=> string(0) "" ["cat"]=> string(0) "" ["tag_id"]=> string(0) "" ["author"]=> string(0) "" ["author_name"]=> string(0) "" ["feed"]=> string(0) "" ["tb"]=> string(0) "" ["paged"]=> int(0) ["meta_key"]=> string(0) "" ["meta_value"]=> string(0) "" ["preview"]=> string(0) "" ["s"]=> string(0) "" ["sentence"]=> string(0) "" ["title"]=> string(0) "" ["fields"]=> string(0) "" ["menu_order"]=> string(0) "" ["embed"]=> string(0) "" ["category__in"]=> array(0) { } ["category__not_in"]=> array(0) { } ["category__and"]=> array(0) { } ["post__in"]=> array(0) { } ["post__not_in"]=> array(0) { } ["post_name__in"]=> array(0) { } ["tag__in"]=> array(0) { } ["tag__not_in"]=> array(0) { } ["tag__and"]=> array(0) { } ["tag_slug__in"]=> array(0) { } ["tag_slug__and"]=> array(0) { } ["post_parent__in"]=> array(0) { } ["post_parent__not_in"]=> array(0) { } ["author__in"]=> array(0) { } ["author__not_in"]=> array(0) { } ["search_columns"]=> array(0) { } ["ignore_sticky_posts"]=> bool(false) ["suppress_filters"]=> bool(false) ["cache_results"]=> bool(true) ["update_post_term_cache"]=> bool(true) ["update_menu_item_cache"]=> bool(false) ["lazy_load_term_meta"]=> bool(true) ["update_post_meta_cache"]=> bool(true) ["post_type"]=> string(0) "" ["posts_per_page"]=> int(20) ["nopaging"]=> bool(false) ["comments_per_page"]=> string(2) "50" ["no_found_rows"]=> bool(false) ["order"]=> string(4) "DESC" } ["tax_query"]=> NULL ["meta_query"]=> object(WP_Meta_Query)#334 (9) { ["queries"]=> array(0) { } ["relation"]=> NULL ["meta_table"]=> NULL ["meta_id_column"]=> NULL ["primary_table"]=> NULL ["primary_id_column"]=> NULL ["table_aliases":protected]=> array(0) { } ["clauses":protected]=> array(0) { } ["has_or_relation":protected]=> bool(false) } ["date_query"]=> bool(false) ["queried_object"]=> object(WP_Post)#626 (24) { ["ID"]=> int(524353) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2019-09-27 17:11:19" ["post_date_gmt"]=> string(19) "2019-09-27 15:11:19" ["post_content"]=> string(0) "" ["post_title"]=> string(11) "tourlaville" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "inherit" ["comment_status"]=> string(4) "open" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(11) "tourlaville" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2019-09-27 17:11:19" ["post_modified_gmt"]=> string(19) "2019-09-27 15:11:19" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(422312) ["guid"]=> string(74) "https://www.penet-plastiques.fr/wp-content/uploads/2019/04/tourlaville.jpg" ["menu_order"]=> int(0) ["post_type"]=> string(10) "attachment" ["post_mime_type"]=> string(10) "image/jpeg" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } ["queried_object_id"]=> int(524353) ["request"]=> string(193) "SELECT mod855_posts.* FROM mod855_posts WHERE 1=1 AND mod855_posts.ID = 524353 AND mod855_posts.post_type = 'attachment' ORDER BY mod855_posts.post_date DESC " ["posts"]=> &array(1) { [0]=> object(WP_Post)#626 (24) { ["ID"]=> int(524353) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2019-09-27 17:11:19" ["post_date_gmt"]=> string(19) "2019-09-27 15:11:19" ["post_content"]=> string(0) "" ["post_title"]=> string(11) "tourlaville" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "inherit" ["comment_status"]=> string(4) "open" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(11) "tourlaville" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2019-09-27 17:11:19" ["post_modified_gmt"]=> string(19) "2019-09-27 15:11:19" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(422312) ["guid"]=> string(74) "https://www.penet-plastiques.fr/wp-content/uploads/2019/04/tourlaville.jpg" ["menu_order"]=> int(0) ["post_type"]=> string(10) "attachment" ["post_mime_type"]=> string(10) "image/jpeg" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } } ["post_count"]=> int(1) ["current_post"]=> int(-1) ["before_loop"]=> bool(true) ["in_the_loop"]=> bool(false) ["post"]=> object(WP_Post)#626 (24) { ["ID"]=> int(524353) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2019-09-27 17:11:19" ["post_date_gmt"]=> string(19) "2019-09-27 15:11:19" ["post_content"]=> string(0) "" ["post_title"]=> string(11) "tourlaville" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "inherit" ["comment_status"]=> string(4) "open" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(11) "tourlaville" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2019-09-27 17:11:19" ["post_modified_gmt"]=> string(19) "2019-09-27 15:11:19" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(422312) ["guid"]=> string(74) "https://www.penet-plastiques.fr/wp-content/uploads/2019/04/tourlaville.jpg" ["menu_order"]=> int(0) ["post_type"]=> string(10) "attachment" ["post_mime_type"]=> string(10) "image/jpeg" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } ["comment_count"]=> int(0) ["current_comment"]=> int(-1) ["found_posts"]=> int(1) ["max_num_pages"]=> int(0) ["max_num_comment_pages"]=> int(0) ["is_single"]=> bool(true) ["is_preview"]=> bool(false) ["is_page"]=> bool(false) ["is_archive"]=> bool(false) ["is_date"]=> bool(false) ["is_year"]=> bool(false) ["is_month"]=> bool(false) ["is_day"]=> bool(false) ["is_time"]=> bool(false) ["is_author"]=> bool(false) ["is_category"]=> bool(false) ["is_tag"]=> bool(false) ["is_tax"]=> bool(false) ["is_search"]=> bool(false) ["is_feed"]=> bool(false) ["is_comment_feed"]=> bool(false) ["is_trackback"]=> bool(false) ["is_home"]=> bool(false) ["is_privacy_policy"]=> bool(false) ["is_404"]=> bool(false) ["is_embed"]=> bool(false) ["is_paged"]=> bool(false) ["is_admin"]=> bool(false) ["is_attachment"]=> bool(true) ["is_singular"]=> bool(true) ["is_robots"]=> bool(false) ["is_favicon"]=> bool(false) ["is_posts_page"]=> bool(false) ["is_post_type_archive"]=> bool(false) ["query_vars_hash":"WP_Query":private]=> string(32) "9c30d946f6fb4b568871ba1661188922" ["query_vars_changed":"WP_Query":private]=> bool(false) ["thumbnails_cached"]=> bool(false) ["allow_query_attachment_by_filename":protected]=> bool(false) ["stopwords":"WP_Query":private]=> NULL ["compat_fields":"WP_Query":private]=> array(2) { [0]=> string(15) "query_vars_hash" [1]=> string(18) "query_vars_changed" } ["compat_methods":"WP_Query":private]=> array(2) { [0]=> string(16) "init_query_flags" [1]=> string(15) "parse_tax_query" } }

METHODES DE L'OBJET WP_Query

array(59) { [0]=> string(4) "init" [1]=> string(16) "parse_query_vars" [2]=> string(15) "fill_query_vars" [3]=> string(11) "parse_query" [4]=> string(15) "parse_tax_query" [5]=> string(7) "set_404" [6]=> string(3) "get" [7]=> string(3) "set" [8]=> string(9) "get_posts" [9]=> string(9) "next_post" [10]=> string(8) "the_post" [11]=> string(10) "have_posts" [12]=> string(12) "rewind_posts" [13]=> string(12) "next_comment" [14]=> string(11) "the_comment" [15]=> string(13) "have_comments" [16]=> string(15) "rewind_comments" [17]=> string(5) "query" [18]=> string(18) "get_queried_object" [19]=> string(21) "get_queried_object_id" [20]=> string(11) "__construct" [21]=> string(5) "__get" [22]=> string(7) "__isset" [23]=> string(6) "__call" [24]=> string(10) "is_archive" [25]=> string(20) "is_post_type_archive" [26]=> string(13) "is_attachment" [27]=> string(9) "is_author" [28]=> string(11) "is_category" [29]=> string(6) "is_tag" [30]=> string(6) "is_tax" [31]=> string(17) "is_comments_popup" [32]=> string(7) "is_date" [33]=> string(6) "is_day" [34]=> string(7) "is_feed" [35]=> string(15) "is_comment_feed" [36]=> string(13) "is_front_page" [37]=> string(7) "is_home" [38]=> string(17) "is_privacy_policy" [39]=> string(8) "is_month" [40]=> string(7) "is_page" [41]=> string(8) "is_paged" [42]=> string(10) "is_preview" [43]=> string(9) "is_robots" [44]=> string(10) "is_favicon" [45]=> string(9) "is_search" [46]=> string(9) "is_single" [47]=> string(11) "is_singular" [48]=> string(7) "is_time" [49]=> string(12) "is_trackback" [50]=> string(7) "is_year" [51]=> string(6) "is_404" [52]=> string(8) "is_embed" [53]=> string(13) "is_main_query" [54]=> string(14) "setup_postdata" [55]=> string(17) "generate_postdata" [56]=> string(14) "reset_postdata" [57]=> string(18) "lazyload_term_meta" [58]=> string(21) "lazyload_comment_meta" }