This plugin lock the site at specific theme. You can activate any theme you want, the site will look like the locked theme.
Into the code of plugin there are 3 php variables.
- Those vars set the lock theme.
- Once installed as a WordPress plugin, the lock theme is the only active theme that your site see.
More information can be found at
To install, simple extract the ‘anytheme-lock-theme.php’ file into your ‘wp-content/plugins/’ directory and activate the plugin.
You should make sure your lock theme exist.
- 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
Contributors & Developers
“Anytheme Lock Theme” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
No changelog information