OceanWP Header background image black

Did you try to control this with a function?
And did it stop working recently and is now only showing a blacked out area?
Did you use the hook ocean_page_header_background_image and the function as posted in the OceanWP docs?

Well… Just change your script to give back the image ID instead of the URL:

if ( is_singular( 'post' ) ) {
  // $bg_img = get_stylesheet_directory_uri() . '/img/my-image.jpg';
  $bg_img = 1394;
}

You’re welcome.
Have a nice day!

PS.
Also posted to support hoping maybe OceanWP can fix this, so we can use the image filename/URL again?

Accessing an old router

Would be a waste to toss an old wifi router that still works…
However it could be a problem to access the admin page because the HTML presenting it is so old that it just won’t show up in a modern browser. It just will not render correctly, tabs empty, buttons and links don’t show.
So, google to the rescue and land here.

My issue was with a Sitecom WL153 but the solution presented simply worked.

“My solution was to download and use an old version of Firefox Portable – no installation required and can run as an unprivileged user. I would suggest you search around for which versions of the browsers will work with your devices.”

For me the 2013 version of Firefox 25 worked like a charm…
Problem solved!

Have a nice day!

Teamviewer Connect greyed-out and disabled

What a week… sometimes things just keep going wrong for no reason. Today it was Teamviewer not giving me the option to connect to a remote PC to simply view their desktop and help the person with an issue they were facing. The option ‘Connect’ was just greyed out, not being able to enter an ID. Even the box on the top ‘insert partner ID’ did allow me to enter a number, but expecting that number to be added to the list, the ‘Connect’ option there did not do anything either.

The “Ready to connect (secure connection)” you see at the bottom of the window is also a little misleading there, because it does not want to connect at all!
So… what is the solution?

Continue reading Teamviewer Connect greyed-out and disabled

WordPress 404 errors

How To Fix Broken Permalinks In WordPress.
WordPress is a powerful CMS. Sometimes a slight tweak can make your website inaccessible. Another common problem that most WordPress users face at some point is WordPress posts returning a 404 Error. In this article we will show you how to fix WordPress posts returning 404 error.

Usually in this scenario a user can access their WordPress admin area, their blog’s main page, but when accessing a single posts they get a 404 Not found error. First of all, don’t panic most of the time your posts are still there and completely safe. This usually happens if your .htaccess file got deleted or something went wrong with the rewrite rules. What you need to do is fix your permalinks settings. There are several sites describing this, below is the summary of what you actually need to do.

UPDATE JULY 2021: “Still haven’t found what I’m looking for”… so I wrote my own htaccess_keeper plugin. It runs on the normal homepage of the website to save the htaccess to a backup file (when changed), and restores it when a zero bytes file has been detected. It also shoots of an e-mail to the admin that it had to jump to the rescue again!
Interested in this plugin? It is for sale, just contact My Brain.

Continue reading WordPress 404 errors

Disable These Files Might Be Harmful to Your Computer Warning

source: https://winaero.com/blog/disable-these-files-might-be-harmful-to-your-computer-warning/

Disable These Files Might Be Harmful to Your Computer Warning in Windows 10

If you connect a network share, i.e. mount a network drive by IP address of the server, Windows 10 displays a warning message These Files Might Be Harmful to Your Computer when you are opening files stored there. Here’s how to get rid of it.

Continue reading Disable These Files Might Be Harmful to Your Computer Warning