Closed marutim closed 5 years ago
Participants: @nishitlangaliya , @ravinderk
Topic: Discussion regarding https://github.com/impress-org/give/issues/3708
Result: I found that Philanthropy theme is removing our wp-content/plugins/give/assets/dist/css/admin.css
in their theme 'philanthropy-parent\theme-includes\hooks.php' line no 6879 by making our filter give_load_admin_styles
false. So currently moving this issue to blocked and will discuss about this on tomorrow call.
@DevinWalker , I found that in philanthropy-parent\theme-includes\hooks.php'
line no 6396 they have written '_the_core_filter_fix_give_plugin_assets' function for https://github.com/WordImpress/Give/issues/466 this issue to avoid conflict with theme.
@nishitlangaliya has confirmed that removing or commenting out the following lines should restore the Give styles:
philanthropy-parent\theme-includes\hooks.php
at line 6874
:
if ( ! function_exists( 'the_core_give_load_admin_styles' ) ) :
function the_core_give_load_admin_styles() {
return false;
}
endif;
add_filter( 'give_load_admin_styles', 'the_core_give_load_admin_styles' );
@mathetos @marutim Please follow up with the customer to let them know that the Philanthropy theme is removing Give styles as the result of a CSS conflict from two years ago. This old issue explains why they felt the need to remove Give styles.
Today I reached out to the ThemeFuse developers in a new issue to ask them to allow Give styles to be enqueued. In the meantime, removing or commenting out the action above should restore Give styles.
@kevinwhoffman @nishitlangaliya Thanks Guys.
I will follow up with the user and share the details with them.
Current Behavior
Currently, the Give admin section totally breaks when the philanthropy theme is activated. Philanthropy is from one of the popular theme makers themefuse.
There are no console errors suggesting any conflicts.
Expected Behavior
Give plugin should work nicely with the theme
Steps to Reproduce
Theme file is available via internal Google Drive
Visuals
Related
HS Link: https://secure.helpscout.net/conversation/669048309/26085/ https://secure.helpscout.net/conversation/665257962/25736?folderId=1457790
Acceptance Criteria
Environment
The theme was even breaking the "Get system info" tool, so I have to switch to twenty seventeen theme to copy the details