WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Anytheme Lock Theme

This plugin is made to help developers to lock the design of the WP site, and the end user cannot change this design very easy.

Why do you force me to change the php code?

Just for one and the only reason:

Because this plugin is made to help developers to lock the design of the WP site, and the end user cannot change this design very easy.

Where I find the correct template, stylesheet and theme vars?

In plugin code, by default the locked theme is Twenty Ten

<?php
$anytheme_lock_theme = 'Twenty Ten'; 
$anytheme_lock_stylesheet = 'twentyten'; 
$anytheme_lock_template = 'twentyten'; 
?>

If you want to set another lock theme you just have to modify these vars.

<?php
$anytheme_lock_theme = 'The name of new lock theme';
$anytheme_lock_stylesheet = 'folder-name-of-theme-from-wp-content/themes';
$anytheme_lock_template = 'folder-name-of-theme-from-wp-content/themes';
?>

*** usually the template and stylesheet have the same name

Requires: 3.5 or higher
Compatible up to: 3.5.2
Last Updated: 2013-3-17
Downloads: 1,405

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2
100,2,2
100,2,2
100,1,1
100,2,2
100,2,2
100,1,1
100,1,1
100,1,1