• 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 » rel=”category tag” Error : Fix for HTML5 WordPress Themes

By Abhishek Ghosh June 26, 2012 5:41 pm Updated on June 26, 2012

rel=”category tag” Error : Fix for HTML5 WordPress Themes

Advertisement

rel=category tag Error often shows up in HTML5 Themes of WordPress. Here is a trick to quickly fix this issue within few minutes.

 

Background behind rel=category tag Error

 

rel=category tag Error comes as  rel=category tag is not a valid HTML5 syntax. It is suitable for xHTML Transitional. It is matter of fact, Transitional probably performs better for WordPress, may be due to poor coding of the HTML5 themes or something else.

Whatever the reason is, we need to fix this  rel=category tag Error.

Advertisement

---

 

Quickfix for rel=category tag Error

This snippet should work fine for all. Here is the code you actually need :

 

add_filter( ‘the_category’, ‘add_nofollow_cat’ );
function add_nofollow_cat( $text ) {
$text = str_replace(‘rel=”category tag”‘, “”, $text); return $text;
}

 

 

rel=category tag Error

If any copyright text appears after the end of the last } , delete the text after the end of last }.

Now, there are two ways to add this PHP code. One is by adding it to active Theme’s (or child theme’s) fuctions.php file or to add on specific template files.

Adding to fuctions.php is shortcut, but it is better to be avoided as it can add up other problems as reported by WordPress users in WordPress forum. So you have to find the template file for your theme and have to add this snippet to get rid of rel=category tag error.

Signature

This Article Has Been Shared 297 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 rel=”category tag” Error : Fix for HTML5 WordPress Themes

  • Highlight text in WordPress post with css rounded border effect

    Create rounded border text highlight effect in Wordpress or Blogger posts with nifty CSS codes.

  • Certain rules on color, formatting and content of a blog

    Here are some points that will help a new blogger to get an idea about color contrast, text formatting of his or her blog.

  • Create your own custom WordPress mobile theme

    After reading this guide you can create your own custom wordpress theme with logo for major mobile phone browsers.

  • Usage of elegant and light typography to speed up your website

    Typography is an important part of web designing. We can use light typographical designs and CSS to spice up the website’s look.

  • CSS Tick Marks and Wrong Marks – How To Add In Easy Steps

    CSS Tick Marks and Wrong Marks are very easy to add in WordPress or Blogger Blog and sometimes it is very essential part of a copy-writing to use these icons.

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

  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021
  • What You Can Control with a Smartwatch and ESP32 February 23, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "rel=”category tag” Error : Fix for HTML5 WordPress Themes," in The Customize Windows, June 26, 2012, March 1, 2021, https://thecustomizewindows.com/2012/06/relcategory-tag-error-fix-for-html5-wordpress-themes/.

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