wordpress generated inline css missing after migration

I tried to copy the website locally and I ran into the same issue. In the end I used a Migration Plugin (BackupBliss – Backup Migration Staging) and created a Backup on the staging page. Then I created a blank WordPress install on the target server and added the same plugin to restore the backup. … Read more

How to install WordPress alongside conventional pages on a shared hosting system

Why not manually install WordPress in a subdirectory? I.e., example.com/wordpress/ With the file directory being something like: /public_html/wordpress/ That will leave the conventional PHP site at root. WordPress will generate an .htaccess file in /wordpress/ for permalinks. See https://developer.wordpress.org/advanced-administration/before-install/howto-install/#detailed-instructions

How to load only a certain type of image (functions.php)

You can use some JavaScript to add a quick validation that checks the file type when someone tries to add an image. Place this script in your theme’s main JS file or inline in your functions.php. Here’s a snippet of JavaScript to give you an idea: jQuery(document).ready(function($) { wp.customize.control(‘themeslug_logo’, function(control) { control.uploader.params.allowed_extensions = [‘png’]; control.container.on(‘click … Read more

What might cause two dates to appear on a blog post?

Some WordPress templates show the published and updated dates side by side. For example, https://bootscore.me/ does this and separates the two with a forward slash. If you want to fix this then in the child theme you override the date function. So with bootScore in particular you would take this function: function bootscore_date() { $time_string … Read more