WordPress – Add Posts

WordPress – Add Posts ”; Previous Next In this chapter, we will study how to Add Posts in WordPress. Posts are also known as articles and sometimes referred as blogs or blog posts. These are used to popularize your blogs. Following are the simple steps to Add Posts in WordPress. Step (1) − Click on Posts → Add New in WordPress. Step (2) − You will get the editor page of the Post as shown in the following screen. You can use the WordPress WYSIWYG editor to add the actual content of your post. We will study in detail about WYSIWYG editor in the chapter WordPress – Add Pages. Following are the fields on the editor page of the Add Posts Page. Post Title − Enter the title of the post, i.e., Post1. Post Content − Enter the content of your post. Step (3) − Click on Publish button to publish your respective post. Following are the few other options present in the Publish section. Save Draft − It saves the post as a draft. Preview − You can preview your post before publishing. Move to Trash − Deletes the post. Status − Change the status of your post to Published, Pending, or Reviewer Draft. Visibility − Change the visibility of the post to Public, Private or Password protected. Published − Change the publishded post date and time. Print Page Previous Next Advertisements ”;

WordPress – Dashboard

WordPress – Dashboard ”; Previous Next The WordPress Dashboard is a first screen which will be seen when you log into the administration area of your blog which will display the overview of the website. It is a collection of gadgets that provide information and provide an overview of what”s happening with your blog. You can customize your needs by using some quick links such as writing quick draft, replying to latest comment, etc. Dashboard can be categorized as shown in the following snapshot. Each of these categories are discussed in the following sections − Dashboard Menu The WordPress Dashboard provides navigation menu that contains some menu options such as posts, media library, pages, comments, appearance options, plugins, users, tools and settings on the left side. Screen Options The dashboard contains different types of widgets which can be shown or hidden on some screens. It contains check boxes to show or hide screen options and also allows us to customize sections on the admin screen. Welcome It includes the Customize Your Site button which allows customizing your WordPress theme. The center column provides some of the useful links such as creating a blog post, creating a page and view the front end of your website. Last column contains links to widgets, menus, settings related to comments and also a link to the First Steps With WordPress page in the WordPress codex. Quick Draft The Quick Draft is a mini post editor which allows writing, saving and publishing a post from admin dashboard. It includes the title for the draft, some notes about the draft and save it as a Draft. WordPress News The WordPress News widget displays the latest news such as latest software version, updates, alerts, news regarding the software etc. from the official WordPress blog. Activity The Activity widget includes latest comments on your blog, recent posts and recently published posts. It allows you to approve, disapprove, reply, edit, or delete a comment. It also allows you to move a comment to spam. At a Glance This section gives an overview of your blog”s posts, number of published posts and pages, and number of comments. When you click on these links, you will be taken to the respective screen. It displays the current version of running WordPress along with the currently running theme on the site. Print Page Previous Next Advertisements ”;

WordPress – Edit Media

WordPress – Edit Media ”; Previous Next In this chapter, we will study how to Edit Media in wordPress. You can manage all the information about your media that is saved in the Media Library. Following are the steps to Edit Media in WordPress. Step (1) − Click on Media → Library and click on the name of the media item or the edit link. Step (2) − You will view a list of media files. Select any one image to edit. Step (3) − You can view the edit media page with few options on the right side. URL − You can read only a link from media file. Title − This displays the name of the media. Title is often shown in galleries and attachment pages, if themes or plugins are designed to display it. Permalink − Permalink is the URL of the media attachment page. This is also a link to view the attachment page. Edit image button − This allows you to edit the image position, such as rotate counter-clockwise, rotate clockwise, scale, crop, flip vertically, and flip horizontally. Caption − A brief explanation of the media. Alternate Text − The alt text for the image, which is used to describe media. Used for availability. Description − An explanation of your media file. Delete Permanently − Delete your media file permanently. Step (4) − Once you complete editing the required fields, click on Update button to save the changes made to an image. Print Page Previous Next Advertisements ”;

WordPress – Delete Users

WordPress – Delete Users ”; Previous Next In this chapter, we will learn how to delete users in WordPress. Following are the steps to Delete Users. Step (1) − Click on Users → All Users. Step (2) − List of Users gets displayed as shown in the following screen. Step (3) − Select the one you want to delete. And click on Delete. Step (4) − When you click on Delete you get the following page. Step (5) − Select options as required and click on Confirm Deletion. Your user will be deleted. Step (6) − We have another method of deleting users. A screen as shown in the following shot appears. Here you can select the users to delete, check the boxes and click on Delete from the dropdown list and click on Apply. Step (7) − Once you click on Apply, the users selected will be deleted. Print Page Previous Next Advertisements ”;

WordPress – Version Update

WordPress – Version Update ”; Previous Next In this chapter, we will study how to update version in WordPress. Here, we will upgrade WordPress to the latest version through the admin panel. Following are a few simple steps to update the version in WordPress. Step (1) − Click on Please Update Now as shown in the following screen. You will get notifications in WordPress admin panel when there is a newer version available for WordPress. Before updating, it is advised to keep WordPress backup. Step (2) − After clicking on the update link, the following page gets displayed. Click on Update Now button. Step (3) − The following message gets displayed during the upgradation of WordPress. Note − While updating the version, if you get an error as Fatal error: Maximum execution time of 30 seconds exceeded in C:your wordpress folderwp-includesclass-http.php on line 1597 then you need to take the following actions − Open your WordPress folder → wp-includes folder Open class-http.php file and add the following line at the beginning − set_time_limit (0); Save the file. Now your WordPress is successfully upgraded. Print Page Previous Next Advertisements ”;

WordPress – Backup & Restore

WordPress – Backup & Restore ”; Previous Next In this chapter, we will study how to Backup & Restore files and database in WordPress. In WordPress there are two parts of backing up such as − WordPress Files Backup WordPress Database Backup WordPress Files Restore WordPress Database Restore WordPress Files Backup To get the backup files of WordPress, you need to install FileZilla Client on your system. Following are the simple steps used for files backup operation in WordPress − Step (1) − Open the FileZilla Client as shown in the following screenshot. Step (2) − Enter the Host, Username, Password and Port like you have used to log-in to your cPanel. After filling all the fields, click on Quickconnect button. Step (3) − You will get all files and folders of your WordPress site on the right side as seen in the following screen. Step (4) − Select all the files and folders and right click on the mouse and click on Download. After downloading the WordPress files from cPanel, it will be saved on your system. WordPress Database Backup Following are the simple steps for database backup in WordPress − Step (1) − Type the path http://localhost/phpmyadmin in your browser. You will get the following screen. Step (2) − Click on the database name ‘wordpress’ which you have created for WordPress. Step (3) − After clicking on database wordpress, it will open the following page. Click on Export tab. Step (4) − You will get two methods to export the database i.e. Quick and Custom. Select any one of the methods and click on Go button. After exporting the database file, it will get saved on your system. Restoring WordPress Files Following are the simple steps used to restore the files in WordPress using ftp − Step (1) − Open the FileZilla Client and login to your site using ftp as shown in the following screen. Step (2) − Open the local directory in ftp and upload all WordPress files to your website as shown in the following screen. Step (3) − Then, go to your wordpress folder → wp-config.php file. Copy and rename wp-config.php file before editing, in case of some mistake you can restore this file back. Open the wp-config.php file and locate the following code. define(”DB_NAME”, ”db_name”); Replace the db_name with your database name which you have created. define(”DB_USER”, ”db_user”); Replace the db_user with your username of MySql. define(”DB_PASSWORD”, ”db_password”); Replace the db_password with your password of MySql. Save your wp-config file after editing and upload it to your WordPress site through ftp. Restoring WordPress Database Following are the steps used to restore the database in WordPress − Step (1) − Type the path http://localhost/phpmyadmin in the browser. The following screen will pop up. You can create a new database or import your backup in the existing database. Here we”ll create a new database name, i.e., new_wordpress and click on Create button. Step (2) − You can view your created database as shown in the following screen. Click on the database name new_wordpress. Step (3) − Click on Import. Step (4) − Click on Choose File button to select the backup file from your system. After uploading the sql file, select format as SQL as shown in the following screen. Click on Go button. Step (5) − Once you click on Go, you will get a message after the sql file is uploaded successfully. Print Page Previous Next Advertisements ”;

WordPress – Edit Posts

WordPress – Edit Posts ”; Previous Next In this chapter, we will study how to Edit Posts on WordPress. Following are the simple steps to Edit Posts in WordPress. Step (1) − Click on Posts → All Posts in WordPress. Step (2) − You can view Post1 (Post1 was created in the chapter WordPress – Add Posts). When the cursor hovers on the Post, few options get displayed below the Post name. There are two ways to edit the Post i.e. Edit and Quick Edit. Edit − Click on Edit option in Post1 as shown in the following screen. You can edit or change the content or title of the post as per your needs, and then click on Update button as shown in the following screen. Quick Edit − Click on Quick Edit option in Post1 as shown in the following screenshot. Here you can edit the Title, Slug and date of the posts and can also select the categories for your post as shown in the following screenshot and then click on Update button to confirm post edits. Print Page Previous Next Advertisements ”;

WordPress – Installation

WordPress – Installation ”; Previous Next System Requirements for WordPress Database − MySQL 5.0 &plus; Web Server − WAMP (Windows) LAMP (Linux) XAMP (Multi-platform) MAMP (Macintosh) Operating System − Cross-platform Browser Support − IE (Internet Explorer 8&plus;), Firefox, Google chrome, Safari, Opera PHP Compatibility − PHP 5.2&plus; Download WordPress When you open the link https://wordpress.org/download/, you will get to see a screen as the following snapshot − Create Store Database WordPress requires MySQL database. So create a new empty database with user/password (for example, user as “root” and password as “root” or else you can set as per your convenience). Then, you can continue with the installation process as discussed further. Set Up Wizard It”s very easy to set up WordPress into your system. The following steps describe how to set up WordPress locally on your system. Step (1) − Extract the downloaded WordPress folder and upload it into your web server or localhost. Step (2) − Open your browser and navigate to your WordPress file path, then you will get the first screen of the WordPress installer as shown in the following screen. In our case, the path is localhost/< Your_wordpress_folder >. Select your language for the WordPress and click on Continue. Step (3) − In this step, you can view the information needed for the database before proceeding with WordPress installation. Click on Let”s go! Step (4) − Here, you have to enter the information about the MySQL database as described in the following screen. Database Name − Enter the database name which you have created in MySQL database for WordPress. Username − Enter the user name of your MySQL database. Password − Enter the password which you had set for MySQL database. Database Host − Write the host name, by default it will be localhost. Table Prefix − It is used to add prefix in the database tables which helps to run multiple sites on the same database. It takes the default value. After filling all information, click on Submit button. Step (5) − WordPress checks the database setting and gives you the confirmation screen as shown in the following snapshot. Click on Run the install Step (6) − Enter administrative information. It contains the following fields − Site Title − Enter the name of the site which you are going to create in WordPress. Username − Enter the username as per your choice while logging in the WordPress. Password twice − Enter password two times to protect your site. Your E-mail − Enter your e-mail address which helps to recover the password or any update. Privacy − It allows the search engine to index this site after checking the checkbox. After filling all the information, click on the Install WordPress button. Step (7) − After installation being successful, you will get a screen of the stating success as seen in the following screen. You can view your username and password detail added in WordPress. Click on Log In button. Step (8) − After clicking on login, you will get a WordPress Admin Panel as depicted in the following screen. Enter the username and password which you had mentioned during installation as shown in step 6 and click on the Log In button. Print Page Previous Next Advertisements ”;

WordPress – Media Setting

WordPress – Media Setting ”; Previous Next In this chapter, we will study about Media Settings in WordPress. It is used to set the height and width of the images which you”re going to use on your website. Step (1) − Click on Settings → Media option in WordPress. Step (2) − The Media Settings page is displayed as seen in the following screenshot. Following are the details of the fields on Media settings − Thumbnail size − Set the size of the thumbnail. Medium size − Set the height and width of medium size images. Large size − Set width and height of larger images. Uploading files − After checking this checkbox, the uploaded image will be arranged into year and month based folder. Step (3) − After setting the dimension in pixels, click on Save Changes button. It saves your media setting information. Print Page Previous Next Advertisements ”;

WordPress – Permalink Setting

WordPress – Permalink Setting ”; Previous Next In this chapter, we will learn about Permalink settings in WordPress. Permalink is a permanent link to a particular blog post or category. It allows setting the default permalink structure. These settings are used to add permalinks to your posts in WordPress. Following are the steps to access permalink settings. Step (1) − Click on Settings → Permalinks option from the left navigation menu. Step (2) − When you click on Permalinks, the following page appears on the screen. Here are a few settings you can make − Common settings − Check any of the radio buttons to choose your permalink structure for your blogs Default − It sets the default URL structure in WordPress. Day and name − It sets URL structure according to the date and name in your posts. Month and name − It sets the URL structure according to the month and name in your post. Numeric − It sets numbers in the URL structure in your post. Post name − It sets post name in the URL structure in your post. Custom Structure − It sets the URL structure of your choice by writing the desired name in the given text box. Optional These are optional. You can add custom structure for main category or tag URL. If your text box is empty then default settings is used. Here you have two options. Category Base − Add custom prefix for your category URL. Tag Base − Add custom prefix to your Tags URL. Step (3) − Once you are done with changes, click on Save Changes button to save the permalink settings. Print Page Previous Next Advertisements ”;