Forum Replies Created

Viewing 15 replies - 46 through 60 (of 89 total)
  • Thread Starter Michael Samson

    (@illuminice)

    I just tried the following code which actually had an effect, finally…

    add_filter( ‘show_admin_bar’, ‘__return_false’ );
    remove_action( ‘wp_footer’, ‘wp_admin_bar_render’, 1000 );

    Here’s the strange part though…

    The first line which should make the admin bar invisible is having absolutely no effect. It was only when I added this second line that the admin bar finally disappeared.

    I learned about this at this post:
    https://wpsites.org/hide-admin-bar-wordpress-10473/

    I’m still seeing some artifacts of the bar however…

    In the css I am seeing this:

    html {
    margin-top: 32px !important
    }

    This is not anywhere in the theme’s css, or my own. It seems to be there automatically for the admin bar itself. This is having the effect of pushing the body section of my site further down, and it’s not easy to override this because it already has an !important on it. I wonder where this is really coming from.

    I can also see the class “admin-bar” being called for under my body tag. This may or may not be theme related.

    Sigh… what a pain for something that should be simple to remove!

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hello,

    Thank you for the quick response…

    I added this to the functions.php file in my child theme and unfortunately it had no effect. I’ve actually tried many solutions like this already, and none of them have worked.

    Do you think this has something to do with the fact I’m trying to do this in the child theme? Keep in mind that I’m using this plugin as well, and it too isn’t working.

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    That’s probably the most honest response I’ve heard in a long time. ??

    It’s ok, as we’re working with another plugin now for this purpose, though, we haven’t installed it yet. Hopefully we’ll have better luck with it.

    All my best,

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    I just wanted to say thank you for finding the solution. This worked perfectly!

    I could have solved this on my own, but it was like looking for a needle in a haystack.

    My thanks for your help!

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Nick,

    I appreciate your fast responses…

    I’m going to give this one more try, to see if I can determine the source of the conflict. I’m hoping it’s a plugin. She only has 14 of them, so it shouldn’t take too long to test this.

    If it is a plugin, I may need your help to resolve the issue. We can work together on that.

    The problem manifested itself as 404 errors in the admin, when clicking on just about anything. About 50% of the clicks resulted in a 404.

    Do you really think the permalinks are involved?

    I’ll get back to you on this later, or over the weekend.

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Nick,

    Do any of the plugins I listed above stand out to you as potential conflicts?

    I’m afraid I will have to source a different plugin if I can’t get this one to work quickly. We simply can’t start deactivating all of the plugins or switching themes just for testing purposes. It’s simply too risky and disruptive to the client’s website.

    I really do want to get this working as it was the best solution. But looking for the source of a conflict is like looking for a needle in a haystack.

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Here’s a full list of their plugins…

    Admin Menu Editor Pro
    Akismet
    Cmssuperheroes
    Contact Form 7
    Custom Login
    Custom Post Type UI
    Essential Grid
    Google Analytics by Yoast
    Google XML Sitemaps
    Revolution Slider
    Simple Custom CSS
    Timetable Responsive Schedule For WordPress
    WPBakery Visual Composer
    Yoast SEO

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Nick,

    It was very easy to determine. The moment the plugin was installed the entire admin became unstable. There were no problems of this kind before that.

    I was able to reproduce the problem over and over again with the calendar plugin installed and activated. As soon as I deactivated it the problems in the admin disappeared. It was clearly the cause.

    This is obviously some kind of conflict, but I am working on paid hours and cannot take the time to start figuring out what other component is involved. If you like I can provide a list of their installed plugins though.

    I’m really frustrated right now because the client approved the use of your specific plugin, and there doesn’t seem to be many quality alternatives out there.

    This was supposed to be a fast and simple job, and I only had a few hours to complete it.

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Kubiq,

    I appreciate you letting me know about this update after so long. To be honest I just didn’t have the time to pursue this two months ago. But since you said the plugin is now using a completely new script, it’s worth a try.

    I’ll install it later today and let you know how it works. Of course I’d be happy to leave positive feedback if there’s no issues.

    Stay tuned…

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Sounds good and glad I could help!

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Kubiq,

    I had to uninstall this immediately because it was disabling our website. At the time we didn’t have a staging website setup for testing.

    I don’t believe there’s any problem with our css, though clearly your plugin affected it. The question is why would this plugin interact with the css layout at all? I thought this type of function was controlled with jquery.

    I’m aware that Safari has it’s own native smooth scrolling function. But the problem I reported above happened in Safari when this plugin was active. It was the direct cause.

    As for IE, it does still exist because I still have it here in my Windows 8 machine. Only Windows 10 is using Edge as far as I know. Like I said originally, I don’t care that much about IE/Edge. I’m a Chrome user myself.

    I still would like to get this working if possible. We setup a staging site in the last few weeks and we could install your plugin there so you could troubleshoot it.

    Please let me know if you’d like to do that and I’ll provide the URL.

    Our live site is https://www.SeattleWeb.Design

    I didn’t provide it originally because I had uninstalled the plugin.

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Ulrich,

    I just wanted to say thank you again for your help. Your support has always been fast and first-rate.

    I included the option for the keyboard shortcuts this time. I don’t use them personally, but I figured they can’t hurt.

    I actually included the hook before the function. I think this is a little more logical since the function then defines the hook.

    Lastly, I took this is an opportunity to update all my custom CSS for this plugin. I hadn’t updated it since the latest changes for the version 6 player. I think I have more custom CSS for this plugin than any other. ??

    Anyways, it looks quite nice. Check it out: https://www.SeattleWeb.Design

    All my best!

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Ulrich,

    I just tested the updated options code on the development site and it worked perfectly! That was definitely the cause of the problem.

    I have two quick questions for you…

    I noticed you introduced the option for the “keyboard.” What exactly is that for?

    My other question is something I’ve always wondered… which is does it matter if the add_filter or add_action comes before or after the function? I’ve noticed people put this in both orders, and always wondered if one was correct.

    Thank you again for helping to solve this quickly!

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Thank you Ulrich! I left a response in the other ticket. Just a confirmation that I’ve seen this code and will be testing it on the development site shortly.

    ~ Michael

    Thread Starter Michael Samson

    (@illuminice)

    Hi Ulrich,

    That’s interesting as to the cause. I didn’t think of the previous custom settings which you helped me to setup. My compliments on finding the previous post on that.

    I’ll go ahead and update the settings code shortly on our development site to see if it resolves this. Then I can change it on the live site as well.

    Please give me a little bit on this as I’m finishing up another project first. I’ll respond back here afterwards to confirm this solved the problem.

    My thanks as always for your excellent support!

    ~ Michael

Viewing 15 replies - 46 through 60 (of 89 total)