{"id":1015,"date":"2020-11-23T14:11:30","date_gmt":"2020-11-23T14:11:30","guid":{"rendered":"http:\/\/spiritmeat.net\/tiehome\/"},"modified":"2026-04-14T00:55:56","modified_gmt":"2026-04-13T23:55:56","slug":"tiehome","status":"publish","type":"page","link":"https:\/\/spiritmeat.net\/fr\/","title":{"rendered":"Maison"},"content":{"rendered":"<p>&#8216;post&#8217;, &#8216;posts_per_page&#8217; =&gt; 1, &#8216;post_status&#8217; =&gt; &#8216;publish&#8217;, &#8216;date_query&#8217; =&gt; [ [ &#8216;year&#8217; =&gt; (int) wp_date(&#8216;Y&#8217;, strtotime($today)), &#8216;month&#8217; =&gt; (int) wp_date(&#8216;m&#8217;, strtotime($today)), &#8216;day&#8217; =&gt; (int) wp_date(&#8216;d&#8217;, strtotime($today)), ], ], ]); if (!$today_query-&gt;have_posts()) { \/\/ Fallback to the latest published devotional $today_query = new WP_Query([ &#8216;post_type&#8217; =&gt; &#8216;post&#8217;, &#8216;posts_per_page&#8217; =&gt; 1, &#8216;post_status&#8217; =&gt; &#8216;publish&#8217;, ]); } ?&gt;<br><\/p>\n\n\n\n<p>Today\u2019s Devotional<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>        &lt;?php if ($today_query-&gt;have_posts()) : $today_query-&gt;the_post(); ?&gt;\n            &lt;article class=&quot;sm-today&quot;&gt;\n                &lt;h1 class=&quot;sm-title&quot;&gt;\n                    &lt;a href=&quot;\/fr\/&lt;\/?php the_permalink(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;\n                &lt;\/h1&gt;\n\n                &lt;div class=&quot;sm-meta&quot;&gt;\n                    &lt;time datetime=&quot;&lt;?php echo esc_attr(get_the_date(&#039;c&#039;)); ?&gt;&quot;&gt;\n                        &lt;?php echo esc_html(get_the_date(&#039;j F Y&#039;)); ?&gt;\n                    &lt;\/time&gt;\n                &lt;\/div&gt;\n\n                &lt;div class=&quot;sm-excerpt&quot;&gt;\n                    &lt;?php the_excerpt(); ?&gt;\n                &lt;\/div&gt;\n\n                &lt;p class=&quot;sm-actions&quot;&gt;\n                    &lt;a class=&quot;sm-button&quot; href=&quot;\/fr\/&lt;\/?php the_permalink(); ?&gt;&quot;&gt;Read today&rsquo;s devotional&lt;\/a&gt;\n                &lt;\/p&gt;\n            &lt;\/article&gt;\n        &lt;?php endif; wp_reset_postdata(); ?&gt;\n    &lt;\/div&gt;\n&lt;\/section&gt;\n\n&lt;section class=&quot;sm-home-secondary&quot;&gt;\n    &lt;div class=&quot;sm-wrap sm-grid&quot;&gt;\n        &lt;div&gt;\n            &lt;h2&gt;Recent devotionals&lt;\/h2&gt;\n            &lt;?php\n            $recent = new WP_Query([\n                &#039;post_type&#039;      =&gt; &#039;post&#039;,\n                &#039;posts_per_page&#039; =&gt; 6,\n                &#039;post_status&#039;    =&gt; &#039;publish&#039;,\n                &#039;offset&#039;         =&gt; 1,\n            ]);\n\n            if ($recent-&gt;have_posts()) :\n                echo &#039;&lt;ul class=&quot;sm-list&quot;&gt;&#039;;\n                while ($recent-&gt;have_posts()) : $recent-&gt;the_post();\n                    echo &#039;&lt;li&gt;&lt;a href=&quot;&#039; . esc_url(get_permalink()) . &#039;&quot;&gt;&#039; . esc_html(get_the_title()) . &#039;&lt;\/a&gt;&lt;\/li&gt;&#039;;\n                endwhile;\n                echo &#039;&lt;\/ul&gt;&#039;;\n            endif;\n            wp_reset_postdata();\n            ?&gt;\n        &lt;\/div&gt;\n\n        &lt;aside class=&quot;sm-home-aside&quot;&gt;\n            &lt;h2&gt;Stay connected&lt;\/h2&gt;\n            &lt;?php echo do_shortcode(&#039;[spiritmeat_subscribe]&#039;); ?&gt;\n\n            &lt;div class=&quot;sm-live-box&quot;&gt;\n                &lt;h3&gt;Watch live&lt;\/h3&gt;\n                &lt;?php echo do_shortcode(&#039;[spiritmeat_live]&#039;); ?&gt;\n            &lt;\/div&gt;\n        &lt;\/aside&gt;\n    &lt;\/div&gt;\n&lt;\/section&gt;<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>&#8216;post&#8217;, &#8216;posts_per_page&#8217; =&gt; 1, &#8216;post_status&#8217; =&gt; &#8216;publish&#8217;, &#8216;date_query&#8217; =&gt; [ [ &#8216;year&#8217; =&gt; (int) wp_date(&#8216;Y&#8217;, strtotime($today)), &#8216;month&#8217; =&gt; (int) wp_date(&#8216;m&#8217;, strtotime($today)), &#8216;day&#8217; =&gt; (int) wp_date(&#8216;d&#8217;, strtotime($today)), ], ], ]); if (!$today_query-&gt;have_posts()) { \/\/ Fallback to the latest published devotional $today_query = new WP_Query([ &#8216;post_type&#8217; =&gt; &#8216;post&#8217;, &#8216;posts_per_page&#8217; =&gt; 1, &#8216;post_status&#8217; =&gt; &#8216;publish&#8217;, ]); } ?&gt; [&hellip;]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1015","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/pages\/1015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/comments?post=1015"}],"version-history":[{"count":3,"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/pages\/1015\/revisions"}],"predecessor-version":[{"id":8112,"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/pages\/1015\/revisions\/8112"}],"wp:attachment":[{"href":"https:\/\/spiritmeat.net\/fr\/wp-json\/wp\/v2\/media?parent=1015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}