173 posts
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
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
  • Has sold $1,000+ on Envato Market
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Has been part of the Envato Community for over 3 years
+5 more
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.

173 posts
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Has been part of the Envato Community for over 4 years
+2 more
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.

654 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 1+ members
  • Provided great contribution to our forums
  • Has been a beta tester for an Envato feature
+4 more
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).

106 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 50+ items on Envato Market
naspos says

There is a plugin it is called Theme Check:

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