Wootton SEO
  • Home
  • About
  • Services
    • SEO
    • Web Design
    • Social Media
    • Paid Search
    • Content Writing
    • Online Reputation
  • Case Studies
  • Resources
    • SEO News & Blog
    • Tutorials
    • Code Snippets
  • Contact

Code Snippets

A collection of code snippets for web developers!
  • Home
  • Code Snippets
  • Most Recent Update Time In WordPress
    by Peter Wootton | 17 july 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • advertisement
    Most Recent Update Time In WordPress
    by Peter Wootton | 03 July 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • fashion
    Most Recent Update Time In WordPress
    by Peter Wootton | 22 June 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • branding
    Most Recent Update Time In WordPress
    by Peter Wootton | 02 June 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • Graphic Design
    Most Recent Update Time In WordPress
    by Peter Wootton | 13 May 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • unique
    Most Recent Update Time In WordPress
    by Peter Wootton | 29 April 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • branding
    Most Recent Update Time In WordPress
    by Peter Wootton | 18 April 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • Graphic Design
    Most Recent Update Time In WordPress
    by Peter Wootton | 11 April 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • fashion
    Most Recent Update Time In WordPress
    by Peter Wootton | 31 March 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • Graphic Design
    Most Recent Update Time In WordPress
    by Peter Wootton | 09 March 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • branding
    Most Recent Update Time In WordPress
    by Peter Wootton | 20 February 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • unique
    Most Recent Update Time In WordPress
    by Peter Wootton | 14 January 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • inspiration
    Most Recent Update Time In WordPress
    by Peter Wootton | 02 June 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • fashion
    Most Recent Update Time In WordPress
    by Peter Wootton | 22 June 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • design
    Most Recent Update Time In WordPress
    by Peter Wootton | 31 March 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • concepts
    Most Recent Update Time In WordPress
    by Peter Wootton | 20 April 2017

    This simple function will return the date and time of the last update to your WordPress website. Paste this code in the functions.php file for your theme: function get_last_update_date($format = ‘r’) { global $wpdb; $timestamp = $wpdb->get_var( “SELECT post_modified FROM $wpdb->posts ORDER BY post_modified DESC LIMIT 1” ); return date($format, strtotime( $timestamp )); } Call the function

  • Prev
  • 1
  • 2
  • 3
  • Next
Manchester Based SEO Consultants
On Social Networks
About Wootton SEO

Peter Wootton is a Manchester based SEO Consultant who has been doing SEO over a decade.

He has extensive knowledge in all aspects of SEO and has built up a wealth of experience in not only SEO but a range of digital marketing services including: Reputation Management, Web Development, Social Media Marketing & Pay Per Click Advertising.

Latest SEO News
  • 16 Ways You Can Improve Traffic Conversions On Your Site
    16 Ways You Can Impr... 25th Feb 2021 | by Peter Wootton
  • A Guide to Combining Colours & Colour Schemes For Great Web Design
    A Guide to Combining... 25th Feb 2021 | by Peter Wootton
  • Responsive Design Is a Way Forward, Not for Everyone Though
    Responsive Design Is... 25th Feb 2021 | by Peter Wootton
Subscribe To Our Newsletter

Do you want to learn fresh, new marketing tactics that actually work?

Just enter your email address below to subscribe to my newsletter.

Follow Our Instagram
    WOOTTON SEO IS RATED 5 OUT OF 5 BASED ON 10 REVIEWS.
    © 2019 WOOTTON SEO | SEO MANCHESTER
    Posting....