You are on page 1of 10
91872019 How to Display Last Updated Date in Newspaper WordPress Theme. How to Display Last Updated Date in Newspaper WordPress Theme Py Maha area = Ls ‘There are lots of tutorials avallable on how to display the last usdated/modified date in WordPress. ‘These are basically general tutorials which you can apply to several themes. However, there are some themes in which it’s hard to find where to make modifications to show the last updated date. We also encountered the same problem in Newspaper WorePress theme but luckily after messing around with the code, finally we've found a solution. So here's what to do: “This post may contain affllate links & we will be compensated if you make a purchase after clicking fon our links” [Read Mare Here] Algo read: Find Competitors Organic Keywords for Free Easy Navigation Steps to Display Last Updated Date in Newspaper WordPress Theme How to Create WordPress Blog on BlueHost in 5 Minutes )) WorDPRE — : Pere et ara, Eau Recently Tagdiv hac to change the whole structure of the theme to comply with the new standards for WordPress Themes enforce by Envato, In doing so they have to keep just the basic functionality of the theme in the code and allow other heavy files to load from plugins if activated by the users. hitps:hwwlochrval comast updated date-newspaper- thera! sno erate How to Display Last Updated Date in Newspaper WordPress Theme: % ® Hence the file structure changed for the newer version of Newspaper Theme, We have two files that wwe need to edit to show the last updated date on the homepage as well as post. And further down this post, we wil refer them as File 1 & lle 2 Select the Appropriate Version & Proceed For Newspaper Theme 9.7 or Newer File 1: wp-content/plugins/td-composer/legacy/commen/wp_booster/té_module_single_base.php : wp-content/plugins/td-composer/legacy/eommon/wp_oester/té_module.php For Newspaper Theme 9.6.1 or Older File 1: wp-content/themes/Newspaper/includes/wp_booster/td_module_single_base.php File 2: wo-content/themes/Newspaper/includes/wp_booster/td_module.php hps:twotecirvalconastpdatee-date-newspapersheme! 210 91872019 How to Display Last Updated Date in Newspaper WordPress Theme. 1. Open File 1 and find the code that looks like this. x Std_article_date_unix = get_the_time(U;, sthis->post->10); AND 44, Now repeat the step for File 2 and you'll be able to see the last updated date on the Homepage 100. What We Just Did? + File 2 contains the general functions & code of the Newspaper theme, It is generally used by the homepage. + Fle 1 is almost the same as File 2 however it contains general functions & code for post page. + We basically changed the get_the_time() function to get_the_madified_time(). You can read more about these functions on WordPress Documentation. What are the Benefits of Showing Last Updated Date? + As we know that Google shows the date of the articles in the search result, + Suppose you have written an article about two years ago. ‘+ But when you update your article, stil it wil show the same timestamp in the search result and also on the post. + The visitor will think that it may be an outdated article and will most probably fing other blogs or website ‘+ Hence this may increase your CTR end reduce your Bounce Rate. + You can check out the image below. Although the article was posted on 16 February 2015. After updating the article, the date changes to 21 August 2016. E.coogle Search Results Shows Last Updated Date We hope that this article helped you in customizing your theme to show the last modified date on Newspaper theme. If you have any doubts or problems you can throw it in the comment section below. hitps:hwwlochrval comast updated date-newspaper- thera! ano erate How to Display Last Updated Date in Newspaper WordPress Theme. Mehul Boricha htps:hwwyclochtival comastupdated-date-newspaper ano erate How to Display Last Updated Date in Newspaper WordPress Theme. hitps:hwwlochrval comast updated date-newspaper- thera! sno erate How to Display Last Updated Date in Newspaper WordPress Theme. hitps:hwwlochrval comast updated date-newspaper- thera! eno erate How to Display Last Updated Date in Newspaper WordPress Theme. hitps:hwwlochrval comast updated date-newspaper- thera! m0 erate How to Display Last Updated Date in Newspaper WordPress Theme. hitps:hwwlochrval comast updated date-newspaper- thera! ano erate How to Display Last Updated Date in Newspaper WordPress Theme. hitps:hwwlochrval comast updated date-newspaper- thera! sno erate How to Display Last Updated Date in Newspaper WordPress Theme. hitps:hwwlochrval comast updated date-newspaper- thera! s0n0

You might also like