<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>Add &quot;last updated&quot; to footer &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/add-last-updated-to-footer/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/feed/</link>
		<description></description>
		<lastBuildDate>Thu, 16 Oct 2025 19:46:14 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282396</guid>
					<title><![CDATA[Add &quot;last updated&quot; to footer]]></title>
					<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282396</link>
					<pubDate>Tue, 26 May 2015 20:27:35 +0000</pubDate>
					<dc:creator>rikclaessens</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>How can I put a small text &#8216;Last updated: DD-MM-YYYY&#8217; in the footer, where the date DD-MM-YYYY is updated automatically, according to the date of latest changes to <em>any</em> of the pages on the website? So just one date on all of the subpages and the homepage.</p>
<p>Thanks alot!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282421</guid>
					<title><![CDATA[Reply To: Add &quot;last updated&quot; to footer]]></title>
					<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282421</link>
					<pubDate>Tue, 26 May 2015 21:06:52 +0000</pubDate>
					<dc:creator>Nico</dc:creator>

					<description>
						<![CDATA[
						<p>Hi There,</p>
<p>Would you mind sharing us your URL so we could take a closer look on your setup.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282824</guid>
					<title><![CDATA[Reply To: Add &quot;last updated&quot; to footer]]></title>
					<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282824</link>
					<pubDate>Wed, 27 May 2015 11:16:55 +0000</pubDate>
					<dc:creator>rikclaessens</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the quick reply.</p>
<p>Our URL is (temporarily): <a href="http://khd.rikclaessens.nl/" rel="nofollow">http://khd.rikclaessens.nl/</a></p>
<p>On the bottom, there&#8217;s already a placeholder in Dutch: &#8216;Laatste update: xx-xx-xxxx&#8217;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282864</guid>
					<title><![CDATA[Reply To: Add &quot;last updated&quot; to footer]]></title>
					<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-282864</link>
					<pubDate>Wed, 27 May 2015 12:01:17 +0000</pubDate>
					<dc:creator>Paul R</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>You can add this in your child theme&#8217;s functions.php</p>
<pre><code>
function site_last_updated($d = &#039;&#039;) {
    $recent = new WP_Query(&quot;showposts=1&amp;orderby=modified&amp;post_status=publish&amp;post_type=any&quot;);
    if ( $recent-&gt;have_posts() ) {
        while ( $recent-&gt;have_posts() ) {
            $recent-&gt;the_post();
            $last_update = get_the_modified_date($d);
        }
        echo $last_update;
    }
    else
        echo &#039;No posts.&#039;;
}
</code></pre>
<p>Then create file wp-footer.php in wp-content/themes/x-child/framework/views/ethos and copy the code below into that file</p>
<pre><code>
&lt;?php

// =============================================================================
// VIEWS/ETHOS/WP-FOOTER.PHP
// -----------------------------------------------------------------------------
// Footer output for Ethos.
// =============================================================================

?&gt;

  &lt;?php x_get_view( &#039;global&#039;, &#039;_header&#039;, &#039;widget-areas&#039; ); ?&gt;
  &lt;?php x_get_view( &#039;global&#039;, &#039;_footer&#039;, &#039;scroll-top&#039; ); ?&gt;
  &lt;?php x_get_view( &#039;global&#039;, &#039;_footer&#039;, &#039;widget-areas&#039; ); ?&gt;

  &lt;?php if ( x_get_option( &#039;x_footer_bottom_display&#039;, &#039;1&#039; ) == &#039;1&#039; ) : ?&gt;

    &lt;footer class=&quot;x-colophon bottom&quot; role=&quot;contentinfo&quot;&gt;
      &lt;div class=&quot;x-container max width&quot;&gt;

        &lt;?php if ( x_get_option( &#039;x_footer_content_display&#039;, &#039;1&#039; ) == &#039;1&#039; ) : ?&gt;
          &lt;div class=&quot;x-colophon-content&quot;&gt;
            &lt;?php echo x_get_option( &#039;x_footer_content&#039; ); ?&gt;
          &lt;/div&gt;
        &lt;?php endif; ?&gt;
        &lt;div class=&quot;last-updated&quot;&gt;&lt;?php echo site_last_updated(&#039;&#039;) ?&gt;&lt;/div&gt;

        &lt;?php if ( x_get_option( &#039;x_footer_menu_display&#039;, &#039;1&#039; ) == &#039;1&#039; ) : ?&gt;
          &lt;?php x_get_view( &#039;global&#039;, &#039;_nav&#039;, &#039;footer&#039; ); ?&gt;
        &lt;?php endif; ?&gt;

        &lt;?php if ( x_get_option( &#039;x_footer_social_display&#039;, &#039;1&#039; ) == &#039;1&#039; ) : ?&gt;
          &lt;?php x_social_global(); ?&gt;
        &lt;?php endif; ?&gt;

      &lt;/div&gt;
    &lt;/footer&gt;

  &lt;?php endif; ?&gt;

&lt;?php x_get_view( &#039;global&#039;, &#039;_footer&#039; ); ?&gt;
</code></pre>
<p>After that add the code below in custom &gt; css box in the customizer.</p>
<pre><code>
.x-colophon.bottom .last-updated {
    display:block;
    clear:both;
    float:none;
    overflow:hidden;
    text-align:center;
}
</code></pre>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-283417</guid>
					<title><![CDATA[Reply To: Add &quot;last updated&quot; to footer]]></title>
					<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-283417</link>
					<pubDate>Wed, 27 May 2015 21:24:55 +0000</pubDate>
					<dc:creator>rikclaessens</dc:creator>

					<description>
						<![CDATA[
						<p>Works perfectly, thanks for the quick help!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-283678</guid>
					<title><![CDATA[Reply To: Add &quot;last updated&quot; to footer]]></title>
					<link>https://theme.co/archive/forums/topic/add-last-updated-to-footer/#post-283678</link>
					<pubDate>Thu, 28 May 2015 00:34:30 +0000</pubDate>
					<dc:creator>Lely</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome.</p>
<p>Cheers!<br />
X</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

