Step 1: Install “Contact Form 7” plugin and activate it
Step 1: Navigate to WordPress installation directory, and open wp-config.php change defined(‘WP_DEBUG’, true); to true, it will enable debug mode change defined(‘WP_DEBUG’, false); to false, it will disable debug mode Step 2: Save the file and reload the page It will save the setting, and reload the WordPress with new setting.
Step 1: Create a child theme folder twentytwenty-child Step 2: Inside child theme create style.css This theme is child theme of twentytwenty theme. Template is name for the parent theme. Rest of the field is not important. Custom style should, be placed in this file. It will override parent style. Step 3: Include function.php file […]
Step 1: Create a file new-template.php in theme folder Navigate to wp-content->themes->twentytwenty( Note: Select any of the active theme in your wordpress), and create a new file new-template.php Content of new-template.php is: <?php /* * Template Name: New Template * Template Post Type: post */ get_header(); ?> “Template Name” is important to set, this is […]
If you wish to hide HTML content from user, or which to add some information for yourself to read later, you can do it using special comment tag Method 1: Method 2: Try it and enjoy!
Step 1: Create file and folder template required for theme Navigate to wp-content->theme->create your theme folder Step 2: Add information about Theme in style.css These information will appear in admin account Navigate to Appearance->Themes, your theme will be listed, click on the activate button, to activate it. By default index page will be loaded, which […]
Step 1: Create composer.json Create a project folder, inside project folder create a file composer.json, with contect Step 2: Run composer Step 3: configure wordpress change file name wp-config-sample.php to wp-config.php Step 4: edit wp-config.php configure the following settings Step 5: navigate to http://localhost/project-folder Create website name, admin-username, admin-password, admin-email and click okay Done!
Step 1: Open your website in Filezilla or any other FTP client application, go to “wp-content/uploads” Step 2: Right-click on “uploads” folder, and click “File Attributes..”, then change Numeric value to 744 and check “Recurse into subdirectories” -> Apply to directories only-> and click okay Step 3: Reload the website and check file upload
Easy fix for Permalink post name not working, 404 error
WordPress can be easily installed in Ubuntu using LAMP and Shell Commands