Wordpress

A series of tutorials and pointers and aide memoire for Wordpress Work
WPBakery Page Builder Save Changes Button Not Working

To fix the Save Changes not working with WPBakery Page Builder when using WordPress 6.11 you need to install the Enable jQuery Migrate Helper plugin as well. The Save Changes should then work.

read more
Go back to previous revision of page in WordPress

On the back-end in the browser use the find in page Ctrl+F keyboard shortcut and search for “revisions” and press the down arrow until….

You find the list of revisions and their dates:

Click the appropriate revision and press “Restore this Revision”:

More here

read more
How to Preserve Portfolio Items When Switching Themes from Voxco Theme to Scalia Theme
Must change all the portfolio items into posts with a plugin “Post Type Switcher” before switching the theme then switch them all back to being portfolio items. Scalia has a different enough portfolio system for them not to transfer across otherwise.

Where there are Owl_Slider widgets on a page can be better to delete everything and start again but:
The best way:
Activate the Voxco Framework Plugin so that the Owl Slider elements show in the backend editor.
Make notes in a word processor page of all the names of the .jpg images referred to in these elements where abouts they are on the page.
Delete the Owl Slider elements.
Deactivate the Voxco Framework plugin.
Refresh the back end.
View Portfolio Item to check that the bracketed shortcodes are gone.
Add Single Image elements as replacements with Full size and centre alignment.
Check front end.

read more
Make Browser Show Updating Colour Changes on WordPress Theme

1:Purge all in your local wordpress caching plugin:

2: If you use the Cloudflare CDN then login and select the relevant site:

3: Navigate to Caching>Configuration and turn on “Development Mode”. This temporarily turns off the CDN.

4: In the browser use the keys Ctrl+Shift+Delete and tick all the items and Clear Data:

On your front end view of the browser Ctrl+F5 and the colours set in the back-end should now be correct on the front-end.

read more
Add Custom CSS to the Scalia theme

Best to use the Simple Custom CSS plugin from here:

as recommended here:

read more
GTMetrix Eliminate render-blocking resources Error with Litespeed Cache

GTMetrix shows this error message:

So then turn on Load CSS Asynchronously from LiteSpeed Cache > Page Optimization > CSS Settings

More here

This actually creates more problems because when turned on it slows down this blog when using the Scalia theme:

When “Load CSS Asynchronously” is turned off the page is rated a B instead of a C. (This is the case with Voxco theme with Litespeed Cache without Cloudflare, with Cloudflare this combination the rating seems to stay the same. With the Scalia theme without Cloudflare similar negative effect of altering Litespeed in this way but ustilizing Cloudflare as well it goes from a B to an A). Cloudflare itself has no influence except for minification. See here

read more