• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Last Modified Date WordPress for Posts Plus Rel Tags for Genesis

By Abhishek Ghosh October 23, 2012 6:06 pm Updated on October 23, 2012

Last Modified Date WordPress for Posts Plus Rel Tags for Genesis

Advertisement

Last Modified Date WordPress for Posts is quite easy to show. For Genesis it is more easy, here is tips for both Genesis and others plus Rel Tags for Genesis. Last Modified Date WordPress for Posts is a default WordPress function. Last Modified Date WordPress for Posts, especially for Genesis, is very important as this is the only xfn data (rel=updated) that is absent by default in Genesis and Google Rich Snippet Testing Tool find this error.

Last Modified Date WordPress for Posts : Introduction and Function Reference, Related References

WordPress actually has many functions those are not known by many users. Rich Snippets and Organization of Schemas is the key to rapid indexing and higher SERP, to some extent for now and will be of more importance within a year. Here is the Function Reference on WordPress Codex for Last Modified Date WordPress for Posts :

 

Vim
1
http://codex.wordpress.org/Function_Reference/the_modified_date

 

 

We have made two separate categories – those who use Genesis Framework and those who do not use Genesis in Sub Headers. Do not apply both at the same time. Last Modified Date WordPress for Posts for Non Genesis Framework users quite obviously will work for Genesis users as well, but the reverse obviously is not true.

Advertisement

---

 

Last Modified Date WordPress for Posts : For Non Genesis Framework Users

 

The default usage is to insert this kind of PHP call within WordPress post loop :

 

Vim
1
<p>Last modified: <?php the_modified_date(); ?></p>

 

You can use any related plugin those are already available in WordPress Plugin to implement the basic function. Or you can add this kind of PHP snippet (snippet reference – wpbeginner.com) to show Custom Last Modified Date by editing your theme’s single.php or page.php or both (depends on the theme) :

 

Vim
1
2
3
<p>Last modified date: <?php
the_modified_date();
?></p>

 

You can, for example use any WordPress Plugin which will insert the snippet as PHP, usually people will like to show it at the end of the post or in byline.  You can use more PHP functions to call the post title and make it looking attractive so that, in summary the end result will be like :

 

This article on Last Modified Date WordPress for Posts Plus Rel Tags for Genesis was last modified on 10.23.2012.

 

The blue texts, for example are pulled by PHP functions.

 

Last Modified Date WordPress for Posts with Rel Tags for Genesis

 

Last Modified Date WordPress for Posts Plus Rel Tags for Genesis

 

Brian Gardner’s nice Genesis Simple Hooks plugin can insert anything. There is wide documentation available  in official site, forum and in third party blogs. Basically you have to execute the PHP function at genesis_after_post_content Hook. For example, techiknow.com gave an example snippet to add such Last Modified Date :

 

Vim
1
2
3
4
5
6
7
<?php $u_time = get_the_time('U');
$u_modified_time = get_the_modified_time('U');
if($u_modified_time != $u_time) {
echo "Last updated on ";
the_modified_time('l, j F Y g:i A');
echo " IST .";
} ?>

 

These, however has no rich snippets. It is a simple HTML output. To force the rel tag, you have to add a function or modify a function in the child theme and add the rel and span class accordingly. It is exactly like editing the byline. You can check Brian Gardner’s blog or Genesis forum for modifying an existing function in child theme’s function.php file. As We do not have all Genesis Child themes (we have only two paid, both are older and the free ones for sure) plus your choice of location of output might vary,  it depends whether your child theme whether you need to remove and add the  genesis_after_post_content Hook or modify the byline. Semantically, editing the byline probably will be logical. In case you want to use schema.org’s itemprop, Last Modified Date WordPress for Posts should be referred as dateModified. (Ref : http://schema.org/CreativeWork). This is all about your Last Modified Date WordPress for Posts Plus Rel Tags for Genesis.

 

Abhishek-Ghosh

This Article Has Been Shared 688 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Last Modified Date WordPress for Posts Plus Rel Tags for Genesis

  • Dublin core, Google and SEO

    What is Dublin core? Does Google reads Dublin core? Has Dublin core any effect on SEO? Many questions are answered about Dublin core through the knowledge gathered throughout the Internet.

  • 100 Tips for Building and Maintaining a Successful Blog

    100 Tips for Building and Maintaining a Successful Blog is the 2500th article published on this website.Free Infographic is also included so that you print it.

  • Rich Pins Pinterest for WordPress : Easy Tips & Tricks

    Rich Pins has been introduced by Pinterest. Here are the easy ways how you can use for WordPress to validate your rich pins and apply to get them on Pinterest.

  • Guide to optimize content of your blog for mobile devices

    After the launch of Apple’s iPhone, it has indeed brought done a real boost to the smartphone market, followed and surpassed in many ways by Android and to some extent iPad, with more and more users nowadays browse the web via mobile devices.

  • Fix WordPress RSS Feed Not Updating Problem

    Fix WordPress RSS feed not updating problem by following this logical guide. The problem can arise from various points and only a logical checkup will work. Normally all of us uses Google Feedburner Service and some kind of redirection towards the Feedburner’s URL – either via Plugin, Theme or .htaccess rules. The situation is complicated […]

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Arduino : Independently Blink Multiple LED January 18, 2021
  • What is a Loosely Coupled System? January 17, 2021
  • How To Repack Installed Software on Debian/Ubuntu January 16, 2021
  • Components of Agile Software Development January 15, 2021
  • What is Conway’s Law? January 14, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Last Modified Date WordPress for Posts Plus Rel Tags for Genesis," in The Customize Windows, October 23, 2012, January 19, 2021, https://thecustomizewindows.com/2012/10/last-modified-date-wordpress-for-posts-plus-rel-tags-for-genesis/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy