Disable Bootstrap in Wordpress Admin Panel - wordpress

I installed woocommerce and the product data tabs are invisible because of a bootstrap style conflict.
I don't know why wordpress takes enqueued styles and applies them to the admin panel.
How do I prevent an enqueued style from being applied to wp-admin?

I can assure you WooCommerce does not use nor load Twitter Bootstrap in either front-end or back-end of WordPress. In fact, in order to wrap WooCommerce templates in Twitter Bootstrap classes, one would need to install a special plugin for it: WooCommerce TwitterBootstrap (which looks abandoned).
It must be some other plugin that's loading it. Are you sure it's Twitter Bootstrap that's causing the conflict? Please note there are a lot of WooCommerce extensions which are in fact separate plugins.
You can view a full list of installed plugins in WordPress dashboard. If you want to find the culprit, disable them one by one.

By default, WooCommerce plugin doesn't use Bootstrap and shouldn't load the styles or scripts in your WordPress dashboard.
You have a plugin or theme that make it to load the Bootstrap framework in your WordPress. Try to disable the active plugins one by one or check in their source code which styles or scripts they load. I will suggest to check the functions.php file of your theme too.

Related

Is full Angular theme allowed in WordPress marketplaces?

I interested if I spend time and energy on creating a full Angular theme for WordPress, then is it allowed to sell on famous WordPress theme marketplaces?
Since the full Angular theme does not follow WordPress theme hierarchy and maybe there are conflicts with lots of WordPress plugins, going to be accepted these type of themes are very difficult.
Have you seen any such templates?
Is there any way to pass theme review tests for Angular themes?
There doesn't appear to be anything that explicitly prevents an Angular theme.
https://make.wordpress.org/themes/handbook/review/
The main items would be ensuring content creation in WordPress is routed properly and displayed with the Angular theme.
You could use the Xo for Angular plugin to provide all the necessary integrations.
https://wordpress.org/plugins/xo-for-angular/
Xo also allows the dynamic insertion of wp_head and wp_footer into your index so other plugins are still compatible with your Angular theme.
Here is an example theme built using Xo for Angular which I plan to submit to the WordPress themes repository soon.
https://github.com/WarriorRocker/angular-xo-material
I am the author of the plugin and theme above.

Css modified after wordpress update

I have updated my WordPress version. The style of the css is modified. I have a backup version. Should I take the oldest file for plugins and theme in order to resolve that issue?
you should have a child theme and put your custom css in the css-file from your child-theme.
Your child-theme would not touch from any update and your custom code is save
Taken from the WordPress Codex:
WARNING: The upgrade process will affect all files and folders included in the main WordPress installation. This includes all the core files used to run WordPress. If you have made any modifications to those files, your changes will be lost.
When you do any theme changes you should always put your changes in either a custom theme you have made yourself (so only you update it), or if you're using someone else's theme, create a child theme.
More information about child themes can be found here:
A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme.
As for plugins, they don't work in the same way so you'll need to make sure that any plugins you change are your own otherwise you'll lose the changes when you update them.
Lastly, you can also use the WordPress Customiser (Appearance > Customize in the dashboard) if you don't want a child theme but want to insert custom CSS. That allows you to edit CSS safely within the dashboard and keep your changes safe even when you update things.

Bootstrap in a plugin conflicts with whole page Wordpress

So I am writing a plugin for WordPress. It uses Bootstrap via link rel tag. Once I am done, I make a shortcode of the plugin and insert into the page I want. Then the wordpress bootstrap conflicts with the plugins' bootstrap.
Question: is it possible to somehow make them not conflict and keep my plugin style seperate from wordpress theme style?
Thanks in advance.
Perhaps you can check if the current wordpress theme has bootstrap.css registered or enqueued and if it does don't add bootstrap rel link.
I've seen a solution to check for bootstrap in the theme here. Which can help get you started.

Overwriting Builder WooCommerce Templates from Child Theme

I'm having some issues overwriting a Builder WooCommerce (a Themify plugin that interacts with WooCommerce http://themify.me/addons/woocommerce) template from with a child theme. My child theme is set up and working, and I can successfully overwrite the WooCommerce product page images from (childTheme/woocommerce/single-product/product-image.php). That all works great, but when I try and overwrite a template within the Builder WooCommerce Plugin (product listing template) nothing seems to happen.
I've copied the appropriate template file into (childTheme/builder-woocommerce/template-products-list.php) and made modifications, but they are not coming through at all. Is it for some reason why overriding this plugin doesn't work?
I contacted Themify support, and was told:
Child theme can only save theme files. Builder woocommerce is a addon/plugin. It is not possible to save plugin files through child theme. You can copy customized files manually and replace it with the updated file after plugin update.
Unfortunately, it doesn't seem possible to make changes to any template file within this plugin from a child theme.

How to make a custom theme with plugins in WordPress?

I have created my own theme in WordPress. In that theme i'm using other plugins ( jQuery Photo slider ). Now I want to use this theme for a different website. Can i save plugins with the theme? First off, is this even possible?
This is my first attempt in WordPress.
You are not allowed to add plugins along with your theme, but you can always send a readme along with the theme, telling the user what plugins you want them to use, or you could just zip the plugins located in the plugin folder and make that as a custom extra choice to apply when using your theme.

Resources