Set home and siteurl in DB

Here is in really short terms, how you update the siteurl and home in the options table in WordPress. Make sure to update your_db and https://your_domain. And check if you need to change the prefix wp_ in wp_options.

Read More »

apple.quarantine shown in web page

I recently downloaded a WordPress site, just to move to a new server and got a lot of crap on every page that looks like this on the page. This is file attributes that Mac add to all downloaded files

Read More »

Blocks ArtNET Fixture

You can create your own ArtNET driver/fixture in Pixilab Blocks. There are a bounch of them available on Github. I created own fixtures for 2 devices recenty, and it is pretty straight forward when you look at it. But you

Read More »

wp-cli online installer

Do you want a one liner to install, chmod and move the wp-cli when you install a new site? Here it is! Just to avoid to copy and paste three or more times to get this working every time. Tripple

Read More »

Reset WordPress user password

WordPress has a very good guide for doing this here. But in short it really is this mysql command that does the magic, just replace the prefix wp_ with the one used at your site: Hope this will help you

Read More »

Outline decoration of active button in Blocks

I wanted an outline look of the selected button in the interface in Pixilab Blocks. The outline css property doesn’t work with border-radius in Safari, so I made another solution that works with Blocks automatic scaling and centering of texts.

Read More »

Simple Expand for WordPress

This plugin makes it easy to get an expandable text, or a read more functionality inside a post or page. Install the plugin, search for Simple Expand or download it here. Use like this The title is the text that

Read More »

WP-rocket aggressive purge

In some cases WP-rocket cache plugin empties all cached files although all you do is update a post or product. Or for me when a customer does a purchase that changes the stock value for a WooCommerce product. What I

Read More »

Cleanup session in WooCommerce

There are some pretty simple ways to clear a session with WooCommerce that can be used with code when you need a user to get a brand new session with nothing old getting in the way. Can be used if

Read More »
Cart