• 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 » Add Itemprop image Schema in WordPress Posts

By Abhishek Ghosh October 8, 2013 6:27 pm Updated on July 1, 2016

Add Itemprop image Schema in WordPress Posts

Advertisement

Add Itemprop image Schema in WordPress Posts regardless of your type of Theme or Theme Framework – its do-it-yourself guide without keeping hit or miss chance. We are supplying enough information for getting Itemprop image Schema in WordPress Posts in various ways, its not really that easy. There are hundreds of Themes, Theme Frameworks, Plugins which alters the default expected way WordPress works. Although Itemprop image Schema is possibly not that important at this moment, you might want a full schema things for your posts.

 

Itemprop image Schema : Basics of the DIY work

 

As said above, there is no ideal Plugin or Theme Framework that adds Itemprop image Schema nicely, our recommended Itemprop Plugin will not work here. So we need some basic PHP, WordPress functions, so that the custom data is added as meta, its a kind of compromise, but will work. The basics of this do-it-yourself work is depending on your skill, but these are important guides for the path :

 

  1. Showing Open Graph Protocol og image, og description Properly
  2. Rich Pins Pinterest for WordPress

Yes, you need either a modifiable plugin or change something in your functions.php file of Theme or Child Theme. Second one is difficult to say – it hugely differs. Plus browsers still needs some HTML data in normal, traditional way.

Advertisement

---

 

Itemprop image Schema : Understanding the Problems and Effective Snippets

 

The schema of image is here :

 

Vim
1
http://schema.org/image

 

So, properties of URL and Thing will come in to count. For practical purpose, we need :

 

  1. The itemprop markup itself
  2. The url of the image
  3. The url of the post
  4. May be description (= Excerpt)
  5. May be Author
  6. May be copyright
  7. May be dimensions
Add Itemprop image Schema in WordPress Posts

First method is to try to alter the image.php (or something named like that) of your theme or template where you will find to echo (The PHP function, notthe normal meaning) the href=”%s” to :

 

Vim
1
echo apply_filters( 'Theme-Name_single_image_html', sprintf( '%s', $image_link, $image_title, $image ), $post->ID );

 

Quite unfortunately, there is no universal code – the parameters are too much varied.

 

Second way is to run SQL querry :

 

Its quite risky and you must know or rather master posts like this one – Indispensable MySQL queries for custom fields in WordPress.

We like to get HTML5 figure thing too, so a bit coding, either you can use as plugin or add it to functions.php file of theme :

Credits are given in the gist. Other complex way will be to return value in JSON format – kind of double filtering. Its too complicated to think though!

This Article Has Been Shared 275 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 Add Itemprop image Schema in WordPress Posts

  • WP Super Cache With Rackspace Cloud Files CDN (Open Cloud)

    WP Super Cache With Rackspace Cloud Files CDN guide is an update due to change of technology by using Open Cloud.The Streaming Media need to be used separately.

  • Showing Open Graph Protocol og image, og description Properly

    Showing Open Graph Protocol og image, og description properly can be a challenge – either proper post specific og image is not shown or description is chopped.

  • Podcast and WordPress : Tips

    Podcast and WordPress can make the older posts more lively again. A small introduction Podcast can increase the conversion. Here is a detailed guide.

  • Choosing WordPress and HTML Template for a Website

    Choosing WordPress and HTML Template for a Website is not really that easy that it might sound. This quite difficult as both has limitations of their own.

  • Post Specific Widget with Semantic Markup for WordPress

    Post specific widget with Semantic Markup for WordPress is a kind of template Plugin for more flexibility. You can create infobox like Wikipedia.

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 (21K Followers)
  • Twitter (5.3k 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

  • How Online Casinos Are Utilizing Smart Data for Personalisation April 22, 2021
  • 5 Tech Tools to Help With Business Growth April 22, 2021
  • Corona Pandemic as Cloud Adoption Driver April 20, 2021
  • How to Save Electricity Consumption During the Pandemic April 20, 2021
  • Best Powerpoint Templates for Communicating IoT Concepts April 17, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Add Itemprop image Schema in WordPress Posts," in The Customize Windows, October 8, 2013, April 23, 2021, https://thecustomizewindows.com/2013/10/add-itemprop-image-schema-in-wordpress-posts/.

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