I made a wordpress theme and I take some advantage from advance custom field plugin. Now I wand to distribute my plugin and also wano give on wordpress plugin directory.
But there is one problem. if I want to get all feature of my theme. Than need obviously ACF Plugin.
Now I wan, if anybody install my theme. Than ACF plugin wil automaticlly.
is there ny system/way/function? if anybody intall my theme, than acf plugin will install automaticaly.
thank
You can include the free version of ACF within a theme (or the PRO version if you are selling a premium theme). Check this page.
Related
I have developed a WordPress site using custom HTML using plugins like ACF Pro, Contact Form 7, and woocommerce. Now I want to export the complete theme and install it somewhere else. Please suggest me a plugin and to export that and import to another fresh WordPress. It would have been better if things work exactly like paid plugins, I mean once I install this theme to any fresh WordPress, I get a new option that says install plugins and install demo content. I searched a lot but didn't find anything on how to start this. Kindly help. Thanks in advance.
You need to write functions that will request unnecessary plugins, i think there is no plugin to automate that functionality.
One example for this is TGM Plugin, link.
An easy way to transfer/copy WordPress-Websites is the AllInOne WP Migration PlugIn.
I have updated woocommerce from version 2.6.8 to latest version 3.3.3. I have so many customization in woocommerce folder that are integrated with theme. But after I update the woocommerce the files is not working.
I have already latest version of wordpress 4.9.4
You need to change original theme woocommerce folder in your current theme folder than recheck your customized code and than check those files in woocommerce template folder, and also check your code and compare with woocommerce template.
I don't know how much you customize in how many files you customize, so i can not say properly that what code you should change.
Thanks
After I installed the demo content in wordpress. I'm not able to see the content. Instead of that, the shotcode is shown.
It could be because you haven't install or activated the plugins came with theme. If your theme use some kind of visual builder to create pages. Please install and activate that plugin.
My question might sound stupid but is there any way where I can create a WP plugin which when placed in Plugins folder does not appear in WP Admin Console and WP Admins/Users can't deactivate it from UI?
What you're searching is called "must-use plugin" or "mu-plugin". An mu-plugin is a plugin that is automatically activated when you install it, and it cannot be deactivated.
Basically, an mu-plugin is like a normal plugin. The only difference is that you will install it in wp-content/mu-plugins instead of wp-content/plugins. I wrote a complete guide to mu-plugins on SitePoint if you're interested.
How to remove WooCommerce plugin dependency from Wootique theme? When I activate Wootique theme and click on "visit site" in wordpress it shows a message "WooCommerce must be installed".
actually, You can't!
you must have to install "WooCommerce plugin", if you are using this Theme,
because the theme's source code is referring to WooCommerce plugin's functionality for displaying category wise products.
see here for details
hope this will help you
There should be a php if ( function_exists('woo-something') call in the functions.php file. Look into it, that's how wordpress themes check for installed products.
You may resolve it easily or may have to do some serious editing, I can't say since I don't have the theme.