{"id":987780,"date":"2015-07-20T06:26:40","date_gmt":"2015-07-20T13:26:40","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/"},"modified":"2015-08-04T07:05:04","modified_gmt":"2015-08-04T14:05:04","slug":"how-to-display-the-place-on-my-own-home-page","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/","title":{"rendered":"How to display the place on my own home page ?"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I have my own home page where I display 3 news and also 3 events.<br \/>\nTo show my 3 events I use the following code :<\/p>\n<pre><code>\t\t\t&lt;?php query_posts(array( &#039;post_type&#039; =&gt; &#039;tribe_events&#039;,&#039;showposts&#039; =&gt; 3 ));  ?&gt;\n\t\t\t&lt;?php while (have_posts()) : the_post(); ?&gt;\n\t\t\t&lt;article class=&quot;calendar-accueil&quot;&gt;\n\t\t\t\t&lt;header&gt;\n\t\t\t\t\t&lt;p&gt;&lt;?php the_date(); ?&gt;&lt;\/p&gt;\n\t\t\t\t&lt;\/header&gt;\n\t\t\t\t&lt;section&gt;\n\t\t\t\t\t&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\n\t\t\t\t\t&lt;ul&gt;\n\t\t\t\t\t\t&lt;li&gt;Place&lt;\/li&gt;\n\t\t\t\t\t\t&lt;li&gt;D\u00e9tail&lt;\/li&gt;\n\t\t\t\t\t&lt;\/ul&gt;\n\t\t\t\t\t&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;Plus d&#039;infos&lt;\/a&gt;\n\t\t\t\t&lt;\/section&gt;\n\t\t\t&lt;\/article&gt;\n\t\t    &lt;?php endwhile; ?&gt;\n\t\t\t&lt;?php wp_reset_query(); ?&gt;\t<\/code><\/pre>\n<p>Which php code I must use to show the place which as been already registered ?<br \/>\nThank you.<\/p>\n","protected":false},"template":"","class_list":["post-987780","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to display the place on my own home page ? -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to display the place on my own home page ? -\" \/>\n<meta property=\"og:description\" content=\"Hello, I have my own home page where I display 3 news and also 3 events. To show my 3 events I use the following code : &lt;?php query_posts(array( &#039;post_type&#039; =&gt; &#039;tribe_events&#039;,&#039;showposts&#039; =&gt; 3 )); ?&gt; &lt;?php while (have_posts()) : the_post(); ?&gt; &lt;article class=&quot;calendar-accueil&quot;&gt; &lt;header&gt; &lt;p&gt;&lt;?php the_date(); ?&gt;&lt;\/p&gt; &lt;\/header&gt; &lt;section&gt; &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt; &lt;ul&gt; &lt;li&gt;Place&lt;\/li&gt; [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-04T14:05:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/\",\"name\":\"How to display the place on my own home page ? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-07-20T13:26:40+00:00\",\"dateModified\":\"2015-08-04T14:05:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to display the place on my own home page ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to display the place on my own home page ? -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/","og_locale":"en_US","og_type":"article","og_title":"How to display the place on my own home page ? -","og_description":"Hello, I have my own home page where I display 3 news and also 3 events. To show my 3 events I use the following code : &lt;?php query_posts(array( &#039;post_type&#039; =&gt; &#039;tribe_events&#039;,&#039;showposts&#039; =&gt; 3 )); ?&gt; &lt;?php while (have_posts()) : the_post(); ?&gt; &lt;article class=&quot;calendar-accueil&quot;&gt; &lt;header&gt; &lt;p&gt;&lt;?php the_date(); ?&gt;&lt;\/p&gt; &lt;\/header&gt; &lt;section&gt; &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt; &lt;ul&gt; &lt;li&gt;Place&lt;\/li&gt; [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/","article_modified_time":"2015-08-04T14:05:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/","name":"How to display the place on my own home page ? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-07-20T13:26:40+00:00","dateModified":"2015-08-04T14:05:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/how-to-display-the-place-on-my-own-home-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"How to display the place on my own home page ?"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/987780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/987780\/revisions"}],"predecessor-version":[{"id":987906,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/987780\/revisions\/987906"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=987780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}