WordPress managing dates that change in text regularly

You could, hypothetically, use placeholders in the content of a page (or a post), and then use the the_content filter to update the placeholders on the fly. For example, the content of your page would be something like this: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et … Read more

Can an update corrupt my installation?

WordPress updates don’t break a site in most cases. Each final version has been tested before the release, and the most important errors are found and fixed during that. What could break? If your setup is rather rare, IIS 6 for example, or custom URLs for some directories, then it might happen that this breaks, … Read more

Theme my login and update user meta

This should go near the top of your PHP script on the page to listen for the submitted data. <?php if (isset($_POST[‘user_adresse’])) { $userID = get_current_user_id(); $userADRESSE = $_POST[‘user_adresse’]; update_user_meta($userID , ‘user_adresse’ , $userADRESSE ); #’user_adresse’ should be the name of the meta key } ?> and the form should be something like <?php $user_adresse … Read more

Reliability of WordPress 4 one click update

ALWAYS take a database backup and file backup of the website before you update. If something does go wrong you can revert. If you want to avoid as much interruption as possible, set up a local or development copy of the site and perform the update there. When you are done, back up your development … Read more

Constant for ‘barebones’ update of WordPress

So in the old days when WordPress updated you got the whole shebang and deleting Akismet after every time was deadly boring. Things had slightly improved since then (partially driven by minimizing traffic it takes to serve update to everyone), but process also got more complicated. Now there are multiple versions of update archive that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)