How to downgrade plugin?
If that plugin is hosted on wordpress.org, go to the plugin page, click on the developers tab, and select an older version. Example for JetPack.
If that plugin is hosted on wordpress.org, go to the plugin page, click on the developers tab, and select an older version. Example for JetPack.
That plugin you have is not using the WordPress Shortcode API as it should be. There is not a single add_shortcode to be found. It has basically cooked up its own shortcode ‘feature’ by hooking a preg_replace_calback into the_content define(“categoryThumbnailList_REGEXP”, “/\[categorythumbnaillist ([[:print:]]+)\]/”); define(“categoryThumbnailList_TARGET”, “###CATTHMBLST###”); function categoryThumbnailList_callback($listCatId) { And: function categoryThumbnailList($content) { return (preg_replace_callback(categoryThumbnailList_REGEXP, ‘categoryThumbnailList_callback’, $content)); … Read more
Regenerate Thumbnails won’t do this for you. It simply builds all new sizes from your upload archives. The next image insertions will have the correct image source. For your past posts, you need to run a search and replace in the database. Of course, you need to make a proper backup and test the search … Read more
My guess is that your problem is here: if (is_product_category(‘b2b’)) Taking a look at the Woocommerce Documention for Conditional Tags is_product_category() will return true on product category archives. Therefore, it will never be true on the single product page. What I think you need instead is has_term() which checks a post for a particular term. … Read more
Check whether the cycle.js file is included and should be above this code in the jQuery(‘#news-ticker’).cycle also make sure jquery library is included once, some of the plugins include its separate jquery file which creates such conflicts. Regards.
To check if a plugin is installed and activated, use the is_plugin_active() function. Note that you need to include this function first on the front-end before you can use it: include_once ABSPATH.’wp-admin/includes/plugin.php’; Avoid function_exists() for doing the check. Plugins may refactor their code and a previously existing function might disappear. You never know.
OK Thanks all I found the answer update_option( ‘WPLANG’, ‘ar’ );
Typical Plugin Structure Generally speaking WordPress plugins are located at /wp-content/plugins/ they are not typically installed within the /wp-content/themes/… directory tree. If your theme is installing the plugin (wp e-commerce) under it’s own directory then you’ll need to work with your theme provider to work out how to update/upgrade. For a typical install of WP … Read more
I think you don’t have to use any plugin for that, check out: http://codex.wordpress.org/Function_Reference/wp_nav_menu and use $depth to control the levels you want to display.
Depends on your plugin. I prefer to use plugins with the minimal functionality that meets my needs. Less configuration options, less documentation to read, and hopefully less bugs. You also need to think on the upgrade process. If you make a change in a big plugin I should look into upgrading it even if the … Read more