• Digital Tools,  Web Development

    Backup a WordPress Site

    With over 14 million downloads, UpdraftPlus is the world’s highest ranking and most trusted scheduled WordPress backup plugin. Additional step is to back the database and full website on Hosting server in CPanel. #This plugin consumes a lot of spaces, hence is not suitable for big sites.  2. All-in-One WP migration plugin (Recommended) This plugin backs up everything including the database.  Recommend to test restore in local host to check if the back up was successful.  3. The easiest way is using conventional ftp to zip, download the website copy then save it on Google drive. Then to backup the database. (Recommended)

  • Web Development

    Change “Leave Comment” button text WordPress

    in functions.php, add this : function wpsites_change_comment_form_submit_label($arg) { $arg[‘label_submit’] = ‘Custom Comment Form Submit Button Text’; return $arg; } add_filter(‘comment_form_defaults’, ‘wpsites_change_comment_form_submit_label’); Initially I wanted to find and change the actual value, but I could not find below code in  comment.php or post.php files. So I used above code, it worked. <input class=”button” name=”submit” type=”submit” id=”submit” tabindex=”5″ value=”Submit Comment” /> More information: https://wpquestions.com/Change_comment_button_text/9266

  • Web Development

    How to edit WordPress theme by creating a child theme

    A child theme consists of at least one directory (the child theme directory) and two files (style.css and functions.php), which you will need to create: The child theme directory style.css functions.php If your child theme shows error: “The parent theme is missing. Please install your parent theme”. There are three things to check: 1 – Is your parent theme complete and what is the exact spelling of the parent theme’s name in its style.css. Uppercase and lowercase are important. 2 – Is the child theme directory named parentname-child. It should be in the themes directory, not in a subdirectory of the parent theme. 3 – Does the child theme’s style.css have the line Template: parentname in…

  • Web Development

    How to create multiple sites on a single WordPress installation? Use Multisite

    Multisite is a WordPress feature which allows users to create multiple sites on a single WordPress installation. If the new site is blank, rewrite .htaccess with the following: # BEGIN WordPress RewriteOptions inherit RewriteEngine On RewriteBase / RewriteRule ^index\.php$ – [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ – [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] # END WordPress More information: https://codex.wordpress.org/Create_A_Network