Hello and thank you for your feedback.
What is the review plugin that conflicts? If it is a free one, I can do some local tests to see if I can figure out the problem.
edit: sorry, my bad. I just noticed that you mention the name (WP Review) in your post’s title. I will do some tests later on the day and I will let you know for any news.
Thanks Girogos
Much appreciated. Look forward to the results. Yes, it’s free and available on the WP Repository.
I believe I (sort of) figured this out. WP Review loads some scripts and styles in the entire admin. One specific style (jquery-ui.css) messes with the classes of Slash Admin and hides the content of the tabs even when they should be visible.
A hackish workaround is to add the following code to your child theme’s functions.php:
/*
Fixes a conflict between Slash Admin and WP Review plugin
Read more at: https://wordpress.org/support/topic/issue-with-wp-review-plugin
*/
function slash_admin_load_admin_scripts() {
global $pagenow;
if( $pagenow != 'tools.php' )
return;
wp_deregister_style('plugin_name-admin-ui-css');
}
add_action('admin_enqueue_scripts', 'slash_admin_load_admin_scripts');
The above will remove the specific style from tools.php, the section under which Slash Admin is. This shouldn’t cause you any trouble with the other plugin, because those styles don’t seem to being used on that section anyway.
Perhaps in some future release I will change the plugin’s admin panel, in order to not get affected by such issues. At the moment, though, the function above should help you.
Please let me know if it works.
Hi Giorgos
That didn’t seem to work, I still cannot access the admin panel as I’d like to – it still does the same thing.
I’ve tried adding the code to my functions.php (child theme), when that didn’t work – I tried adding it as an independent plugin.
Any further ideas? If not, I’ll wait to use this plugin until it is fixed.
I can by all means setup a login for you to my admin panel if you wish?
Many thanks for the quick reply Giorgos.
I’ve added your account and requested the credentials be sent to the email address above. If you don’t get the credentials through – let me know.
Your help with this is greatly appreciated.
Thanks in advance.
I think I fixed it. Check it to confirm.
The function that I send you earlier worked as expected. Did you, by any chance, add it to the timeliner/functions.php instead of the functions.php? The correct one is the latter and is titled as “Theme Functions”. That would explain why it didn’t work at the first time.
Also, keep in mind that I edited the parent theme, since that was your active theme. That means that with your next theme update you will loose the modification and you will need to add it again. That’s why it is considered a good practice to use a child theme. I saw a child theme installed but it wasn’t active. Unless you have a specific reason to do otherwise, I suggest that you activate your child theme.
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
*Looks.* It really bugs me that moderators need a form letter for this…
@gsarig I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean well but please never ask for credentials on these forums.
Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.
If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.
Please be aware that repeatedly asking for credentials will result in us asking you to repeatedly stop before escalating up to the plugins team.
OK Jan, got it. In fact, though, I didn’t initially ask for credentials and wasn’t going to do so. The user himself asked me if I could login and check his site and I accepted.
Anyway, I understand what you are saying and I agree that you are right. It won’t happen again.
Hi Jan
Yes, it was me that offered the login to Giorgos – apologies if I broke any rules. I’ll bear that in mind next time.
Giorgos did no wrong there.
@gsarig – It’s working great now – many thanks! Look forward to the next update!
Keep up the great work!