• 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 435 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

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 28, 2023, https://thecustomizewindows.com/2012/10/last-modified-date-wordpress-for-posts-plus-rel-tags-for-genesis/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT