168 posts
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Pakistan
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
MsTrends says

Title says it all. Just wondering if there is any plugin which scan code of the whole theme and than decide, which older versions of WordPress are able to run the theme?

894 posts
  • Europe
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
  • Most Wanted Bounty Winner
  • Envato Studio (Microlancer) Beta Tester
  • Grew a moustache for the Envato Movember competition
infuse01 says

ASFIK there is no such plugin. But anyway – that would be the wrong direction. In any case you should look to always have the latest Version of WP running and have compatible themes and plugins.

168 posts
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • Pakistan
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
MsTrends says

yes its right, we should always have latest installation of wordpress. But i’m asking this plugin for theme authors. So that theme authors does not have to manually test their theme on each version of wordpress separately. And a theme support how many wp versions, this is the one thing which authors have to define while uploading theme.

However, not sure if buyers give much weight to this specification.

506 posts
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • United Kingdom
Gareth_Gillman says

The best way to make a theme backwards compatible is to run an if statement on any functions which have been introduced since 3.0 e.g.

 <?php if(function-exists ('nav-menu')) {
   // wp-nav-menu code here
 } else {
 // wp link pages code here
} ??

This will then basically make your theme backwards compatible incase someone is running a seriously out of date version (which they shouldn’t but always good to test for it).

I am launching a WP theme which has the above code, as I know far too well a lot of WP users don’t upgrade (one of my clients was still on 2.4 until recently).

104 posts
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
naspos says

There is a plugin it is called Theme Check:

http://wordpress.org/extend/plugins/theme-check/
by
by
by
by
by
by