How to include plugin without activation?

WP_PLUGIN_DIR.’/pluginName/’ will give you the absolute path to the directory of the plugin. EDIT After comment Plugins are plugins, theme files are theme files. Lets not confuse the two. You cannot copy a plugin in the theme directory – because stuff does not work like that. After careful editing you can include the plugin as … Read more

Recommended tools for Theme Development with SASS [closed]

You can create a WordPress theme development environment in Windows VPS. You’ll need the following tools: Text Editors Aptana Studio 3 Netbeans Notepad++ Local WordPress Development Environments XAMPP InstantWP Debugging Tools Firebug Theme Check Debug Bar Plugin & Theme Development Tools Theme Demo Bar Responsive Select Menu Less & Sass PressTrends Font Awesome

Filter, or any way to dynamically change theme screenshot image?

From quick look WP seems to process array of theme data in a way that is used for both PHP and JS sides. Result passes through wp_prepare_themes_for_js filter, which seems like a suitable place to override screenshot URL as necessary. This worked in my dev install: add_filter( ‘wp_prepare_themes_for_js’, function ( $themes ) { $themes[‘r-test’][‘screenshot’][0] = … Read more

Include Max mega menu Plugin into theme

If you include a plugin directly inside a theme then it will be rejected by both the WordPress.org theme directory and ThemeForest. You should use TGMPA for including plugins with themes: http://tgmpluginactivation.com/ Further reading: http://code.tutsplus.com/tutorials/using-the-tgm-plugin-activation-library-in-your-themes–cms-20901 Using TGMPA means the plugin remains a plugin, WordPress loads it in the normal ‘plugin’ way, and users will get … Read more