Wordpress Tutorial
Wordpress Tutorial
Wordpress Tutorial
WordPress
Audience
This tutorial has been prepared for those who have a basic knowledge of HTML and CSS
and has an urge to develop websites. After completing this tutorial, you will find yourself
at a moderate level of expertise in developing sites or blogs using WordPress.
Prerequisites
Before you start with this tutorial, we are assuming that you are already aware about the
basics of HTML and CSS. If you are not aware of these concepts, then we suggest you go
through our short tutorial on HTML and CSS.
WordPress
Table of Contents
PART 1: BASICS............................................................................................................................ 1
1.
OVERVIEW ................................................................................................................................................ 2
2.
INSTALLATION........................................................................................................................................... 4
3.
DASHBOARD ........................................................................................................................................... 12
5.
6.
7.
8.
9.
PART 3: CATEGORIES................................................................................................................. 44
11. ADD CATEGORY ...................................................................................................................................... 45
12. EDIT CATEGORY ...................................................................................................................................... 48
13. DELETE CATEGORY .................................................................................................................................. 51
14. ARRANGE CATEGORIES ........................................................................................................................... 53
PART 4: POSTS........................................................................................................................... 55
15. ADD POSTS ............................................................................................................................................. 56
16. EDIT POSTS ............................................................................................................................................. 59
17. DELETE POSTS ......................................................................................................................................... 62
18. PREVIEW POSTS ...................................................................................................................................... 64
19. PUBLISH POSTS ....................................................................................................................................... 66
WordPress
WordPress
iv
WordPress
Part 1: Basics
1. OVERVIEW
WordPress
WordPress is an open source Content Management System (CMS), which allows the
users to build dynamic websites and blogs. Wordpress is the most popular blogging system
on the web and allows updating, customizing and managing the website from its back-end
CMS and components.
Features
Media Management: It is the tool for managing the media files and folder, in
which you can easily upload, organize and manage the media files on your website.
Theme System: It allows modifying the site view and functionality. It includes
images, stylesheet, template files and custom pages.
Extend with Plugins: Several plugins are available which provides custom
functions and features according to the users need.
Multilingual: It allows translating the entire content into the language preferred
by the user.
Importers: It allows importing data in the form of posts. It imports custom files,
comments, post pages and tags.
Advantages
CSS files can be modified according to the design as per users need.
There are many plugins and templates available for free. Users can customize the
various plugins as per their need.
2
WordPress
It is very easy to edit the content as it uses WYSIWYG editor (What You See Is
What You Get is a user interface that allows the user to directly manipulate the
layout of document without having a layout command).
It allows creating different roles for users for website such as admin, author, editor
and contributor.
Disadvantages
Using several plugins can make the website heavy to load and run.
2. INSTALLATION
WordPress
Web Server:
o WAMP (Windows)
o LAMP (Linux)
o XAMP (Multi-platform)
o MAMP (Macintosh)
Download WordPress
When you open the link https://wordpress.org/download/, you will get to see a screen as
the following snapshot:
WordPress
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 >.
WordPress
WordPress
WordPress
Database Name: Enter the database name which you have created in MySQL
database for WordPress.
Password: Enter the password which you had set for MySQL database.
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.
WordPress
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.
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.
WordPress
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.
10
WordPress
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.
11
3. DASHBOARD
WordPress
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.
12
WordPress
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.
13
WordPress
Part 2: Settings
14
4. GENERAL SETTING
WordPress
In this chapter, we will study about General Settings in WordPress. WordPress general
setting is used to set the basic configuration settings for your site. In the setting
administration screen, it is a default setting screen.
Following are the steps to access the general settings:
Step (1): Click on Settings -> General option in WordPress.
15
WordPress
Step (2): The General Setting page is displayed as shown in the following snapshot.
Site Title: It displays the name of the site in the template header.
WordPress Address (URL): It is the URL of WordPress directory where your all
core application files are present.
Site Address (URL): Enter the site URL which you want your site to display on
the browser.
16
WordPress
E-mail Address: Enter your e-mail address which helps to recover your password
or any update.
Membership: Anyone can register an account on your site after you check this
checkbox.
New User Default Role: The default role is set for the newly registered user or
members.
Date Format: Sets the date format as you need to display on the site.
Time Format: Sets the time format as you need to display on the site.
Week Starts On: Select the week day which you prefer to start for WordPress
calendar. By default it is set as Monday.
Step (3): After filling all the information about general settings, click on Save
Changes button. It saves all your general setting information.
17
5. WRITING SETTING
WordPress
The writing settings controls the writing experience and provides options for customizing
WordPress site. These settings control the features in the adding and editing posts, Pages,
and Post Types, as well as the optional functions like Remote Publishing, Post via e-mail,
and Update Services.
Following are the steps to access the writing settings:
Step 1: To change writing settings, go to Settings -> Writing option.
18
WordPress
Step (2): The Writing Setting page is displayed as shown in the following screen.
Formatting: This field defines two sub options for better user experience.
o The first option Convert emoticons like :-) and :-P to graphics on display will
turn text-based emoticons into graphic-based emoticons.
o The second option WordPress should correct invalidly nested XHTML
automatically corrects the invalid XHTML placed within the posts or pages.
19
WordPress
Default Post Category: It is a category to be applied to a post and you can leave
it as Uncategorized.
Post via e-mail: This option uses e-mail address to create posts and publishes
posts on your blog through e-mail. To use this, you'll need to set up a secret email account with a POP3 access, and any mail received at this address will be
posted.
Mail Server: It allows reading the e-mails that you send to WordPress and stores
them for retrieval. For this, you need to have POP3 compatible mail server and it
will have URI address such as mail.example.com, which you should enter here.
Login Name: To create posts, WordPress will need its own e-mail account.
The Login Name will use this e-mail address and should be kept as a secret as
spammers will post links redirecting to their own websites.
Default Mail Category: It allows selecting custom category for all the posts that
are published via Post by e-mail feature.
Update Services: When you publish a new post, WordPress will automatically
notify the site update services in the box. See the Update Services on the codex
for the long list of possible services.
Step (3): After filling all the above information, click on Save Changes button to save
your information.
20
6. READING SETTING
WordPress
In this chapter, we will study about Reading Settings in WordPress. Reading Setting is
used to set the content related to the front page. You can set the number of post to be
displayed on the main page.
Following are the steps to access the reading settings:
Step (1): Click on Settings -> Reading option in WordPress.
21
WordPress
Step (2): The Reading Settings page is displayed as shown in the following screen.
Front page displays: This section is used to display the front page in any of the
following format:
o Your latest posts: It displays latest posts on the front page.
o A static page: It displays the static pages on the front page.
Front Page: You can select the actual page you want to display on
front page from the drop down.
Posts Page: You can select the page from the drop down which
contains posts.
Blog pages show at most: The number of posts to be displayed per page or site.
By default, it is set as 10.
Syndication feeds show the most recent: The user can view the number of
posts when they download one of the site feeds. By default, it is set as 10.
For each article in a feed, show: This section is used to display the post by
selecting any of the following formats:
o Full Text: It displays the complete post. It is set as default.
o Summary: It displays the summary of the post.
22
WordPress
Step (3): After filling all the information, click on Save Changes button to save your
Reading Setting information.
23
7. DISCUSSION SETTING
WordPress
24
WordPress
Step (2): The Discussion Settings page is displayed as shown in the following snapshot.
Default article settings: These settings are default to the new pages you create
or new posts. This contains three more settings. They are:
25
WordPress
Attempt to notify any blogs linked to from the article: When you
publish articles then it sends a notification (sends pings and trackback) to
other blogs.
(pingbacks
and
You can change the settings as per your will for individual articles.
Comment author must fill out name and e-mail: When you check this
box, it is mandatory for visitors to fill their name and email address.
Break comments into pages with top level comments per page and
the page displayed by default: If your pages are getting a lot of
comments then you can split them into different pages by checking this
box.
Anyone posts a comment: When you check into this box, the author gets
an e-mail for every single comment that is posted.
A comment is held for moderation: This is used in case you do not want
your comment to be updated before it's moderated by the admin.
Before a comment appears: This setting allows how your posts are controlled.
There are two more settings as followed:
o
Comment must be manually approved: If you check this box then only
the approved comments by the admin can be displayed on the posts or
pages.
WordPress
Comment Moderation: Contain only a specific number of links that are allowed
into a comment.
Comment Blacklist: You can input your own spam words which you do not want
your visitors to enter into the comments, URL, e-mail etc.; later it would filter the
comments.
Avatars: Avatar is a small image that displays at the top-right-hand corner of the
dashboard screen beside your name. It is like your profile picture. Here you have
a few more options where you can set your avatar for WordPress site.
o
Maximum rating: You have a four other options of avatars you can use.
They are G, PG, R and X. This is the age section where you select according
to which type of audience you want to display your posts.
Default Avatar: In this option, there are few more types of avatars with
images; you can keep these avatars according to your visitors e-mail
address.
27
8. MEDIA SETTING
WordPress
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.
28
WordPress
Step (2): The Media Settings page is displayed as seen in the following screenshot.
Medium size: Set the height and width of medium size 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.
29
9. PERMALINK SETTING
WordPress
30
WordPress
Step (2): When you click on Permalinks, the following page appears on the screen.
Common settings:
Check any of the radio buttons to choose your permalink structure for your blogs
o
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.
31
WordPress
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.
o Category Base: Add custom prefix for your category URL.
o 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.
32
WordPress
In this chapter, we will study how to use plugins in your WordPress site. Plugin allows to
easily modify, customize or enhance WordPress blog or post. The WordPress Plugin is a
software that can be uploaded to expand the functionality of the site. They add services
or features to WordPress blog. Plugins are used to make your work easier. Following are
the simple steps to add plugins.
Step (1): On the left side bar, Click on Plugins -> Installed Plugins as shown in the
screen.
33
WordPress
34
WordPress
In this section, you can view the already installed plugins.
Step (3): Click on --->Plugins -> Add New menu as shown in the following screen.
35
WordPress
Step (4): A list of plugins appears that are used in WordPress. Here you can directly
install plugins from the available list or you can upload it by clicking on Upload Plugin.
36
WordPress
When you click on Upload Plugin you'll get the following page.
Click on Browse, it goes back to the page where you can select plugins from WordPress
site. And if you click on Choose File, you can add files from your system. Otherwise, you
can directly choose the plugin that you need and click on Install now as seen in the
following screenshot.
37
WordPress
When you click on Install Now, the package starts to download and gets installed. Then,
click on Activate plugin to active that plugin to use in WordPress as seen in the following
screen.
After clicking on Activate Plugin you'll get a message as Plugin activated and you can also
find the installed plugin in the list.
38
WordPress
Below the plugin activated message, you can view few options such as All, Active,
Inactive and Update available.
When you click on Active the following page appears. Here you can view all the activated
plugins.
When you click on Inactive, the plugins which are available but are not activated gets
displayed. You can activate this plugin by clicking on Activate.
39
WordPress
When you click on Update available, you'll get a list of plugins that must be updated.
Click on Update and you get a message as Updated.
Click on Bulk Actions and select any of the options. Click on Apply button to update,
delete, activate or deactivate each of the plugins by checking the boxes.
40
WordPress
In Search Installed Plugins you can just type your plugin name in the text box that is
already installed and click on the Search Installed Plugins button.
When you click on the Search installed Plugin button you get the following page with
your respective plugin.
41
WordPress
Step (5): Click on Plugins -> Editor from the side bar.
42
WordPress
This page lets you edit your plugins. A few options are explained.
Select plugin to edit: Allows you to select a plugin from the dropdown and edit
it.
Documentation: Allows you to select the tools from the dropdown to edit the
plugin.
Plugin files: Allows you to select files from the list and edit accordingly.
43
WordPress
Part 3: Categories
44
WordPress
In this chapter, we will study about how to Add Categories in WordPress. Category is
used to indicate sections of your site and group related posts. It sorts the group content
into different sections. It is a very convenient way to organize the posts.
To access the Category section, follows the mentioned steps:
Step (1): Click on Posts -> Categories option in WordPress.
45
WordPress
Step (2): The Categories page is displayed as shown in the following screenshot.
Slug: A word chosen to describe your post. It is specified in the tags URL.
Parent: By selecting the parent category from dropdown, you can set the
particular category as sub-category or can keep it as None.
Step (3): After filling all the information about Categories, click on Add New
Category button.
46
WordPress
Step (4): After clicking on Add New Category, the new created category will get
displayed on the right side of the page as shown in the following screen.
47
WordPress
In this chapter, we will study the simple steps to Edit Categories in WordPress.
Following are the simple steps to edit categories in WordPress.
Step (1): Click on Posts -> Categories in WordPress.
48
WordPress
Step (2): You can view Category1 (Category1 was created in the chapter WordPress Add Category). When the cursor hovers on the Categories, then a few options get
displayed below the Category name. There are two ways to edit the categories
i.e. Edit and Quick Edit
Edit: Click on Edit option in Categories section as seen in the following screenshot.
You can edit any of the required field, and then click Update button as shown in the
following screen.
49
WordPress
Category fields are same from the chapter WordPress - Add Category.
Quick Edit: Click on Quick Edit option in Categories section as shown in the following
screen.
Here, you can only edit the Name and Slug of the category as seen in the following screen
and then finally click on Update Category button.
50
WordPress
Step (2): You can delete Category1 (Category1 was created in the chapter WordPress Add Category). When the cursor hovers on the Categories, a few options get displayed
below the Category name. Click on Delete button as shown in the following screen.
51
WordPress
When you click on delete, you will get a pop message asking for confirmation to delete
the particular category as shown in the following screenshot.
52
WordPress
In this chapter, we will study how to Arrange Categories in WordPress. You can't
arrange categories directly in WordPress. Hence, you will need to install Category
Order plugin to arrange the created categories in a particular way.
Step (1): Click on Posts -> Category Order in WordPress. The Category Order menu
displays after adding the Category Order plugin. You can study how to install plugins in
the chapter Install Plugins.
Step (2): In the following screen, you can see that the create categories section are not
in order.
53
WordPress
Step (3): Now, you can rearrange your categories by just dragging the categories as per
your choice. Click on Order categories button to save the ordered categories.
54
WordPress
Part 4: Posts
55
WordPress
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.
56
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.
57
WordPress
Following are the fields on the editor page of the Add Posts Page.
Following are the few other options present in the Publish section.
Status: Change the status of your post to Published, Pending, or Reviewer Draft.
58
WordPress
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.
59
WordPress
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.
60
WordPress
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.
61
WordPress
In this chapter, we will study how to Delete Posts in WordPress. Following are the steps
to Delete Posts in WordPress.
Step (1): Click on Posts -- > All Post in WordPress.
62
WordPress
Step (2): You can delete Post1 (Post1 was created in the chapter WordPress - Add
Posts). When the cursor hovers on the Post, then a few options get displayed below Post1.
Click on Trash option to delete the post.
Step (3): You can view your post lists to confirm if the above post is deleted.
63
WordPress
In this chapter, we will study how to Preview Posts in WordPress. Preview Post is to
view the post before it is published to the user. It is safer to preview your post and verify
how your post looks on the website. You can edit or change the post as per your need
after previewing.
Following are the simple steps to Preview 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, then a few options get displayed below the Post
name. Click on the View option as shown in the following screenshot.
64
WordPress
Or else you can view your post directly while editing or adding post by clicking on
the Preview button as shown in the following screen.
Step (3): You can view your post, when you click on View or Preview.
65
WordPress
In this chapter, we will study how to Publish Posts in WordPress. Publish is used to
make the post available to all the users wherein every user can view that particular post.
Publishing a new post in WordPress is an easy process.
Following are the steps to Publish Posts in WordPress.
Step (1): Click on Posts ->Add New in WordPress.
66
WordPress
Step (2): You will get the editor page of the Post as shown in the following screenshot.
You can use the WordPress WYSIWYG editor to add the actual content of your post.
67
WordPress
Step (3): Click on Publish button to publish your respective post.
After clicking on publish, your posts get published for the user to view it.
68
WordPress
Part 5: Media
69
WordPress
In this chapter, we will learn about Media Library in WordPress. Media Library consists
of the images, audios, videos and files that you can upload and add to the content when
writing a Post or Page. Here you can view, add, edit or delete any media related objects
if not needed.
Following are the steps to understand about Media Library.
Step (1): Click on Media -> Library in WordPress.
70
WordPress
Step (2): You can view media files like images, audios, videos. Click on Add
Media button.
Step (3): The Upload New Media page gets displayed. You can learn how to Add Media
in the next chapter.
71
WordPress
Step (4): You can view a bar as shown in the following screenshot.
72
WordPress
Grid View: Displays all images in the grid format as shown in the following screen.
Filter the images and videos: Filters the images and videos.
Search Box: Helps to search a particular image by inserting the name into the box.
73
WordPress
In this chapter, we will study how to Add Media files in WordPress. WordPress allows you
to add, all kind of media files like videos, audios and images.
Following are the steps to Add Media.
Step (1): Click on Media -- > Add New in WordPress.
Step (2): Then, click on Select Files option to select the files from your local storage as
shown in the following figure.
74
WordPress
Step (3): Add Media files such as images and audios by selecting them and click open
as shown in the following screenshot.
Step (4): You can view the list of media files added as shown in the following
screenshot.
75
WordPress
In this chapter, we will study how to Insert Media in WordPress. Media files can be
inserted to your Pages or Posts from libraries, from local storage or from URLs.
Following are the steps to Insert Media in WordPress.
Step (1): Click on Posts --> Add New in WordPress.
76
WordPress
Step (3): You can select the files from the Media Library tab as shown in the following
screenshot.
Information about the selected media file will be displayed on the right side of the screen
under the Attachment Details. Click on Insert Post button, the image will be inserted
into the post. In Attachment Details section, you will find information about the images
such as URL, Title, Caption, Alt Text and Description.
77
WordPress
You can also insert an image directly from your system by clicking on Upload Files tab.
Click on Insert into Post button.
78
WordPress
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.
79
WordPress
Step (3): You can view the edit media page with few options on the right side.
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.
Alternate Text: The alt text for the image, which is used to describe media. Used
for availability.
80
WordPress
Step (4): Once you complete editing the required fields, click on Update button to save
the changes made to an image.
81
WordPress
Part 6: Pages
82
WordPress
In this chapter, we will study how to Add Pages into WordPress. Adding pages is similar
to adding posts in WordPress. Pages are static content and often do not change its
displayed information.
Following are the simple steps to add pages in WordPress.
Step (1): Click on Pages --> Add New as shown in the following screenshot.
Step (2): You will get the editor page as seen in the following screenshot. The editor
page has two tabs, Visual and Text. You can insert text in either of these. Here, we'll
study about inserting text into Visual format.
83
WordPress
Following are the details of the fields on editor page of the Add New Page.
Title
It is used to write the title of the article, which is later displayed on the page.
Permalink shows the potential URL for the page below the title. The URL generates as per
the given title.
WYSIWYG Editor
It is a WYSIWYG Editor, which is similar to a word processor interface where you can edit
the contents of the article.
84
WordPress
Left Align: Sets the content on the left side of the page.
Right Align: Sets the content to the right side of the page.
Add Link: Adds a link to your content. When you click on this button, the following
page gets displayed.
85
WordPress
Following are the fields present in the Insert/edit link.
Link text: Insert text you want to enter into the link.
Open link in a new window/tab: Open your link page into the new tab or
window. Check the box as required.
Remove Link: Deletes the particular link added for text or content.
86
WordPress
Toolbar toggle: Clicking on this you get another list of toolbar as shown in the
following image.
Paragraph: Selects the headings as required for the text from the dropdown.
87
WordPress
Text Insertion
For writing the content of an article.
Publish
To publish the page to the user on the website.
Page Attribute
Page attributes module allows you to select parents for your particular page. You can also
set order of the pages.
88
WordPress
Featured Images
Includes the images in the pages.
89
WordPress
In this chapter, we will study how to Publish Pages in WordPress. The command,
Publish is used to make the pages available to all users wherein each user can view that
particular page. Publishing a new page in WordPress is an easy process.
Following are the steps to Publish Pages in WordPress.
Step (1): Click on Pages --> Add New in WordPress.
90
WordPress
Step (2): You will get the editor as shown in the following screenshot. You can use the
WordPress WYSIWYG editor to add the actual content of your page.
After clicking on publish, your posts get published for the user to view it.
91
WordPress
In this chapter, we will study how to Edit pages in WordPress. Step (1): Click on Pages
--> All Pages in WordPress as shown in the following screen.
Step (2): You can view About Us (About Us was created in the chapter WordPress - Add
Pages). When the cursor hovers on the pages, then few options get displayed below About
Us. There are two ways to edit the Post, i.e., Edit and Quick Edit.
Edit: Click on Edit option in About Us as shown in the following screenshot.
92
WordPress
You can edit or change the content or title from the page as per your need, and then click
on Update button as shown in the following screen.
Quick Edit: Click on Quick Edit option in About Us as shown in the following screen.
93
WordPress
You can edit the Title, Slug and date of the About Us page and can also select the parent
for your page as shown in the following shot and then click on Update button.
94
WordPress
In this chapter, we will learn to Delete Pages in WordPress. Following are the steps
to Delete pages in WordPress.
Step (1): Click on Pages -> All Pages in WordPress.
95
WordPress
Step (2): You can delete Sample Page (Sample Page is created by default in WordPress).
When the cursor hovers on the pages, then a few options gets displayed below the Sample
Page. Click on Trash option to delete the post.
Or alternatively you can also delete your page directly while editing or adding page by
clicking on the Move to Trash button as shown in the following screen.
96
WordPress
Step (3): To confirm that you have deleted the page, view your page list.
97
WordPress
Part 7: Tags
98
WordPress
Tag is a small information attached to the main content or post for the purpose of
identification. It tells the visitors what actually the post is about. If the tag is mentioned
properly then it helps to find the content very easily.
Following are the steps to Add Tags in WordPress.
Step (1): Click on Posts -> Tags in WordPress.
99
WordPress
Slug: A word chosen to describe your post. It is specified in the tags URL.
Description: Add brief description of your tag. It gets displayed when you hover
on the tag.
After filling all the information about Tags, click on Add New Tag button.
100
WordPress
Step (3): The new created tags will get displayed on the right side of the page as shown
in the following screenshot.
101
WordPress
In this chapter, we will study to Edit Tags in WordPress. You can learn how to add tags
in the chapter WordPress - Add Tags.
Following are the simple steps to Edit Tags in WordPress.
Step (1): Click on Posts -> Tags in WordPress.
Step (2): You can view tag Food around the world (Food around the world was created
in the chapter WordPress - Add Tags). When the cursor hovers on the Tags, then a few
options get displayed below the Tag name. There are two ways to edit the tags
i.e. Edit and Quick Edit
102
WordPress
Edit: Click on Edit option in Tags section as shown in the following screen.
You can edit any of the required field, and then click on Update button as shown in the
following screen.
103
WordPress
Here tag fields are same from the chapter WordPress - Add Tags.
Quick Edit: Click on Quick Edit option in Tags section as shown in the following
screenshot.
Here you can only edit the Name and Slug of the Tags as seen in the following screen and
then click on Update Tag button.
104
WordPress
In this chapter, we will learn to Delete tags in WordPress. Following are the steps to
delete tags in WordPress.
Step (1): Click on Posts -> Tags in WordPress.
Step (2): You can delete tag Food around the world (Food around the world was
created in the chapter WordPress - Add Tags), when the cursor hovers on the Tags, then
a few options get displayed below the Tags name. Click on Delete in tags section as
shown in the following screen.
105
WordPress
When you click on delete, you will get a pop message asking for confirmation to delete.
106
WordPress
Part 8: Links
107
WordPress
In this chapter, we will learn to Add Links in WordPress pages. Link is a connection from
one resource to another. Adding links to your pages or blog posts help you to connect to
other pages.
Following are the simple steps to Add links in WordPress.
Step (1): Click on Pages -> All Pages in WordPress.
108
WordPress
Step (2): List of pages created in WordPress will get displayed as shown in the following
screen. Select any of the pages to add links inside it. Here, we are going to add links
in About Us page.
Step (3): Select any of the sentence or word where you want to add link. Here, we will
add link to the word Lorem.
Step (4): When you click on the Insert/Edit link symbol then the following pop window
gets displayed.
109
WordPress
Link text: Insert text you want to enter into the link.
Open link in a new window/tab: Open your link page into the new tab or
window. Check the box as required.
110
WordPress
After selecting the particular page or post from the list, the links get created in the URL
field as seen in the preceding screen. Click on Add Link.
Step (5): When you hover on the word Lorem then the link tooltip gets displayed as
shown in the following screen.
111
WordPress
112
WordPress
Step (2): You can view the list of pages. When the cursor hovers on the About Us page,
then a few options get displayed below About Us. Click on Edit as shown.
113
WordPress
Step (3): Hover on the word Lorem (Link for word Lorem was created in the
chapter WordPress - Add Links), and click on the pencil symbol to edit the link as shown
in the following screen.
114
WordPress
Step (4): You can change or edit your link by selecting the page from the existing list.
In this case, we have selected the About Us page.
After selecting the particular page or post from the list, then click on Update button.
Step (5): When you hover on the word Lorem then the link tooltip get displayed as seen
in the following screen.
115
WordPress
116
WordPress
In this chapter, we will learn to Delete links from WordPress. You can remove the
unwanted links which you dont need for your website or article.
Following are the steps to Delete Links in WordPress
Step 1: Click on Pages -> All Pages in WordPress.
Step (2): You can view the list of pages. When the cursor hovers on the About Us page,
then a few options gets displayed. Click on the Edit button as shown in the following
screen.
117
WordPress
Step (3): Select the word which you had already linked i.e. Lorem (Link for
word Lorem was created in the chapter WordPress - Add Links), and click on the Remove
Link Symbol as seen in the following screen.
118
WordPress
Step (4): When you hover on the word Lorem, there will be no tooltip of the existing
URL. The following screenshot shows that the link has been deleted.
119
WordPress
Part 9: Comments
120
WordPress
In this chapter, we will learn to Add Comments in WordPress. Adding comments allows
your visitors to have a discussion with you. Comments are approved by the admin and
then posted to be discussed further.
Following are the steps to add comments to your blog posts.
Step (1): Click on Pages -> All Pages in WordPress.
Step (2): The list of pages created in WordPress will get displayed as seen in the following
screen. Select any of the pages you want to add comments to. Here, we are going to add
comment in About Us page. Click on About Us.
121
WordPress
Step (3): To add a comment on this page, click on Screen options present at the top
right hand corner.
Check
the
122
WordPress
Step (5): You can now view the Discussion and Comments box at the bottom of your
page.
123
WordPress
Allow Comments: Allows visitors to comment on your blog posts and pages.
Allow trackbacks and pingbacks on this page: Allows visitors to give pings and
trackbacks.
In the Comment section, you can add comments by clicking on Add Comment button.
Step (6): Click on Update button after adding the comment box.
124
WordPress
In this chapter, we will learn about how to Edit comments in WordPress. Editing
comments can be done only by the admin.
Following are the steps to Edit Comments in WordPress.
Step (1): Click on Comments in WordPress.
Step (2): You can view the comments list for the various pages. Select any comment,
you want to edit. Click on edit.
125
WordPress
Step (3): The Edit comment page gets displayed. You can edit the comment and click
on Update Button.
Here you can edit the name, e-mail, URL or the comment from the comment box.
126
WordPress
127
WordPress
Step (2): The Discussion Setting page gets displayed.
128
WordPress
In the Comment Moderation field, enter those words or URLs you do not want any visitor
to add comments. Whenever a visitor gives any comments it would be moderated by the
admin first and then published.
Step (3): Click on Save Changes.
129
WordPress
130
WordPress
In this chapter, we will study how to View Plugins in WordPress. It helps you to enable
and disable WordPress Plugins. This adds the unique features to an existing web site.
Plugins extend and enlarge the functionality of WordPress.
Following are the simple steps to View Plugins in WordPress.
Step (1): Click on Plugins --> Installed Plugins in WordPress administrator.
131
WordPress
Step (2): You will see the list of existing plugins on your site as seen in the following
screen.
A table of Plugin and Description is displayed. Names of the plugins are defined in
Plugin column and a brief description about the plugin is defined under Description
column.
Toolbar
Following functions appear as Plugin toolbar options on the page:
132
WordPress
In this chapter, we will study how to install plugins in WordPress. It is really easy to
install plugins. All the plugins are free to download; the only condition is that a plugin
must be in the WordPress directory.
Following are the simple steps to Install Plugins in WordPress.
Step (1): Click on Plugins --> Add New in WordPress.
Step (2): Enter your required plugin name in the search box as shown in the following
screen. List of plugins which are relevant to the plugins name will get displayed as seen
in the following screen.
133
WordPress
Select the required plugin you want to use. Here, we have searched All in one SEO
Pack plugin, which happens to be the first plugin as shown in the preceding screen. Click
on install now button to install the plugin on your website.
Step (3): The plugins automatically start downloading and installing.
Click on Activate Plugin to activate the plugin on your website, which makes your task
much easier using this plugin.
Step (4): Once activated, you will see the installed plugin in the list of plugins as seen
in the following screen.
134
WordPress
In this chapter, we will study how to Customize Plugins in WordPress without writing
any HTML or CSS. It's usually a large addition for multi-user sites. . This new method
allows you to customize your login page by using the WordPress theme customizer (no
coding skills required).
Following are the simple steps to Customize Plugins in WordPress.
Step (1): Click on Plugins -> Add New.
Step (2): Install and activate the Custom Login Page Customizer Plugin.
135
WordPress
Step (3): Click on Appearance -> Login Customize section.
Step (5): It will launch the built-in WordPress theme customizer. You can customize
the theme and make it look the way you want.
136
WordPress
Click on the new Login Customizer tab in the side panel. Login customizer page will get
displayed. On the login customizer page, you can customize your login page in the same
way as you customize your WordPress theme.
Step (6): The customized login page will appear as shown in the following screen.
Logo: Upload logo of your choice to replace the default WordPress logo.
Form Background: Select form background image or color for login form
container of your choice.
Most of the selections in the customizer panel are transparent. You can check all the
selections in the customizer to adjust the setting as per your requirement of your login
page. Click on Save and Publish button.
137
WordPress
138
WordPress
In this chapter, we will learn about the roles of users in WordPress. Every user has their
own role in WordPress. Roles are like permissions given to a particular user to access the
WordPress site. These roles can be allotted only by the Admin.
Here are few pre-defined roles available in WordPress:
Administrator: The Administrator has all the rights. An Admin can do anything
and everything on the WordPress site such as creating more admins, inviting more
users and also removing them.
Editor: The Editor has access to all the posts, pages, comments, categories, tags,
and links. They can create, publish, edit or delete any posts or pages.
Author: The Author can only write posts, upload pictures, edit, and publish their
own posts.
Contributor: The Contributor can only write and edit their posts until published.
They can create their own posts and pages but cannot publish them. They cannot
upload images or files but can see your site's status. When they want to publish
any post, it must be first notified personally to the administrator for review. When
the post is approved, the contributor cannot make any changes once published.
Follower: The Follower can only read and comment on the posts. Followers are
the ones who have signed in to your account to receive updates.
Viewer: Viewers can only view your posts; they cannot edit but can only comment
on the posts.
139
WordPress
In this chapter, we will study how to Add users to your WordPress blog or website. When
users register on your WordPress blog or website, you get an e-mail notification, so you
always know when new users register, and you can then get into your Dashboard and
edit the users role.
Following are the simple steps to Add Users in WordPress.
Step (1): Click on Users --> Add New in WordPress.
140
WordPress
Step (2): You can fill the user detail on the Add New User page. Fill in all the required
fields (as seen in the following screen) to proceed further.
Username (required): Enter the unique username, which you want to display
on website.
E-mail (required): Enter the valid e-mail address. The user receives notifications
from the site at this e-mail address.
Send Password: Send password to the New User by e-mail checkbox. The user
will receive an e-mail with the new password.
141
WordPress
Role: Select the particular role from the dropdown, i.e., Subscriber, Contributor,
Author, Editor, or Administrator.
Click on Add New User button to add user to your users list.
Step (3): You can view the user list to see whether the users have been added. A
message will be displayed as New User Created as seen in the following screen.
142
WordPress
In this chapter, we will study about User Photo in WordPress. To add user photo in
WordPress, you must install plugin User Photo from WordPress plugins. It helps you
add a photo of your own to your WordPress profile.
Following are the simple steps to add a User photo.
Step (1): Click on Settings -> User Photo.
143
WordPress
Step (2): The User Photo Options page gets displayed.
Set the dimension for your thumbnails and make the required changes and then click
on Update Options button.
Step (3): To view the plugin User Photo is activated, go to Users ->Your Profile. In
your Profile page you can see Your Photo section is added. Here you can upload your
photo to display as profile image.
144
WordPress
145
WordPress
146
WordPress
When we click on the Change role to box, a dropdown list appears as seen in the preceding
screenshot.
Contributor: A person who can write and supervise own posts, but cannot publish
them.
Author: A person who can publish and manage his own posts.
Editor: A person who can publish and manage posts, including the posts of other
users.
Administrator: A person who has access to all the administration features within
a single website.
Click on the checkbox of the user name to change the role of the user. Then, click on
change button and the users role will be changed accordingly.
Step (3): Click on Edit option as shown in the following screen to edit the user.
Step (4): The Edit User page is displayed. Here you can edit or modify all the fields as
per your need and click on Update User to save the changes.
147
WordPress
148
WordPress
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.
149
WordPress
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.
150
WordPress
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.
151
WordPress
152
WordPress
Step (2): When you click on Your profile the following screen will be displayed.
153
WordPress
Visual editor: While you are adding posts/pages to your site you can enable this
setting if you wish to create, format, or edit your post. If you disable this setting,
you wont be able to use this option.
Admin color scheme: You can change the color of your WordPress site by
selecting any of the following.
Keyboard Shortcuts: If you are too fast at getting your work done and need
keyboard shortcuts then you can check this box.
Toolbar: If you check this box, you can view the toolbar while using WordPress.
Name
First Name/ Last Name: Enter your first name and last name.
Display name publicly as: Check the box if you want your name to be displayed
publicly.
Contact Info
About yourself
Your photo: You can upload an image of your own from your computer. This will
be your profile picture.
Step (3): After you have updated all the changes, click on Update Profile.
154
WordPress
155
WordPress
In this chapter, we will learn about Theme management. It includes image files,
templates, CSS stylesheets, etc. that can help to make your website look great. This
chapter discusses how to install, add new, or customize themes in WordPress.
Following are the steps for Theme Management.
Step 1: Select Appearance -> Themes from the dashboard.
156
WordPress
Step 2: The following screen will be displayed. Hover over any theme and click on Theme
Details.
157
WordPress
Step 3: When you click on Theme Detail the following page appears. It consists of
details related to the theme. Details like version, description, tags etc.
158
WordPress
If you want to add this theme to your page/website then click on Activate, and if you
want to just check the theme, then click on Live preview.
If you click on activate then you get a pop-up message as:
159
WordPress
Step 5: On the left side of the page, you can customize your theme. Any changes you
make or anything new you add is displayed on the right side of the page.
We will learn about customizing the appearance of the themes in the next chapter
i.e.; WordPress Customize Theme.
160
WordPress
In this chapter, we will learn how to customize themes. Customizing themes help you to
give a new look to your website. Here you can change background images/colors, add
titles, and do much more.
Following are the steps to Customize theme.
Step (1): Click on Appearance->Customize.
161
WordPress
As can be seen, on the left side we have the customizing section, and on the right side
we have the theme you have chosen. So any changes you make on the left side will be
displayed on the right side of the page. Here are a few options you must know:
Active theme: In this section, you can change the current theme just by clicking
on Change.
When you click on Change you get a list of themes, click on any of the themes, and then
click Save & Continue. Your theme will be saved.
162
WordPress
163
WordPress
Site Title & Tagline: In this section, you can add the site title and tagline you want to
add to your website.
Add your title name in the Site Title section. And your tagline in the Tagline box.
Colors: You can change your header text color using this section. As you scroll through
the colors you find changes happening on the right side of your page. You can even add a
color of your own into the box that is situated in between Current color and Default.
164
WordPress
165
WordPress
Header Image: Add a header image either by selecting from the suggestions or you can
add an image of your own by clicking on Add new image.
166
WordPress
Widgets: Add widgets to your site from here.
When you click on the arrow mark the following image appears.
167
WordPress
When you click on any of the widgets a dropdown appears where you can edit more or
add more. For example: If you want to add categories then the following image appears.
168
WordPress
In this image, as you can see, you can add your category in the Title section. Check any
of the required boxes. If you do not want to add any, then say Remove. Same goes for
other widgets too.
Secondary Widget: Here you must click on Add a widget and you get a side bar with
a list of different widgets. Click on any and it adds up to your widget list.
If you want to add more widgets then click on Add a widget again and you can add as
many widgets as you want.
169
WordPress
Static Front: Select either latest posts or static front page for your site.
170
WordPress
In this chapter, we will study about Widget Management. Widgets are small blocks that
perform specific functions. These give design and structure control to the WordPress
theme. Some specific features of a widget are:
They vary from theme to theme. They are not same for every theme.
171
WordPress
Available Widgets: You can use these to add into your sidebar main.
Inactive Sidebar (not used): These are not used and can be removed
permanently from the widget list.
Inactive Widgets: Removes the widgets from sidebar but keep it in the settings.
Sidebar Main: Any widget you add here will appear on your site.
172
WordPress
Step (3): Drag and drop in the Sidebar Main. Any widget you add here, shows up on
your site.
173
49. BACKGROUND
WordPress
In this chapter, we will study about background images, background colors and
background opacity.
Step (1): Click on Appearance -> Background.
Step (2): The following page appears where the Background Image section shows up.
174
WordPress
Step (3): Theres no image selected for background. If you want to do so, then click
on Select Image. You get the following page.
Upload Files
Media Library
Step (4): Upload Files: When you click on Upload files the following screen is displayed.
Select files from your desktop and then click on Choose Image if satisfied with the
image.
175
WordPress
Step (5): Media Library: When you click on Media Library the following page appears.
Select files from the WordPress media library, which means, if you already have images
updated then you can select any of them directly.
After selecting an image, on the right side you will get a few options:
Edit Image: When you click on this you are taken to another page where you can
edit the scale image, dimensions, crop image, and thumbnail settings, etc. As
shown in the following image, make the required changes, click on Save and then
click on Update.
176
WordPress
Delete Permanently: If you want your image off the library then click on this
button.
177
WordPress
Title: If you want to make any changes in the title of the image you can do it right
here.
Caption: You can explain briefly about your image in this section.
Alt text: Give an alternative text to your image so that it is easily available for the
users during search.
Step (6): Click on Colors->Background Color on the same page. Change your
background color accordingly. Background Opacity is not used for all themes. Theme
customization is not same for every theme we use. It changes from theme to theme.
178
WordPress
179
WordPress
In this chapter, we will study how to transfer WordPress to a new hosting platform. Here,
we have used Hostinger web hosting to transfer the WordPress site to another host.
Just follow the simple steps given below to transfer your WordPress site to another host.
Step (1): Keep the backup of WordPress files and export the database. We will study
about this in detail in the chapter WordPress - Backup & Restore
Step (2): Login to your cPanel and click on MySQL Databases as shown in the following
screen.
180
WordPress
Step (3): Create a new database and MySQL user as shown in the following screen. The
page has the following fields:
Password again: Once again set the same password as previous for
authentication.
181
WordPress
182
WordPress
Step (8): Click on Choose File button to select the backup file from your system and
click on Go button.
183
WordPress
Step (9): You can view the tables of database uploaded as shown in the following screen.
Step (10): Upload your WordPress files by using file transfer protocol (FileZilla) as shown
in the chapter WordPress - Backup & Restore in Restoring WordPress Files section.
Step (11): Edit wp-config.php file as mentioned in the Restoring WordPress Files section
in chapter WordPress - Backup & Restore.
184
WordPress
Step (12): Inside the Website section of hostinger, Click on Auto Installer.
Step (13): You can view the uploaded file of the WordPress. Click on the URL link as
shown in the following screen.
185
WordPress
Step (14): You can view the login page of WordPress.
186
WordPress
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.
187
WordPress
188
WordPress
Step (3): The following message gets displayed during the upgradation of WordPress.
Open class-http.php file and add the following line at the beginning:
set_time_limit (0);
189
WordPress
In this chapter, we will learn how to protect your WordPress blog or website from spam.
Make sure that your WordPress script is updated to the latest stable version. WordPress
comes with a preinstalled antispam solution - Akismet.
You can activate Akismet, for which you should have a WordPress API key. You have to
register at the official WordPress website. The key will be sent to your mail box.
Following are the steps to follow to enable Akismet Spam Protection plugin for your
website or blog.
Step (1): Go to your WordPress admin area --> Plugins --> Installed. The following
screen will be displayed.
190
WordPress
Step (3): The Akismet plugin will be activated and then Click on Activate your
Akismet account button as shown in the following screen.
191
WordPress
Step (4): Click on Get your API key as seen in the following screen to get a new key
or enter manually, if you already have API key.
Step (5): If you don't have API key then, click on GET AN AKISMET API KEY tab to
move further.
192
WordPress
Step (6): Fill up the required fields and click on Sign up button as shown in the following
screen.
Step (7): Once you complete with signup process. You will get an API key in your
registered e-mail id. Enter API key manually and click on Use this key button as seen in
the following screen.
193
WordPress
Step (8): If you have entered a correct API key, it will be verified and you will get a
confirmation message as reflected in the following screen.
Step (9): Now your blog will be protected from spam by Akismet. You will be able to
check the comments in your blog for spam, as well as manually mark comments as spam
from the blog admin area--> Comments.
You can keep a track of how many spam posts have been stopped by Akismet and you
can secure your posts, blogs, comments, etc. Furthermore, you can prevent your website
from spammers, who can harm your site.
194
WordPress
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:
195
WordPress
Step (2): Enter the Host, Username, Password and Port like you have used to log-in
to your cPanel.
196
WordPress
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.
197
WordPress
Step (2): Click on the database name wordpress which you have created for WordPress.
198
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.
199
WordPress
Step (2): Open the local directory in ftp and upload all WordPress files to your website
as shown in the following screen.
200
WordPress
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.
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
201
WordPress
Step (2): You can view your created database as shown in the following screen. Click on
the database name new_wordpress.
202
WordPress
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.
203
54. OPTIMIZATION
WordPress
WordPress
Check plugins
Having many plugins in WordPress may also be the reason for your page to slow load. So
keep a check on your plugins which youre working on. Consider checking your plugins
before you add them.
205
WordPress
In this chapter, we will learn how to reset your passwords in WordPress. We have two
methods of resetting passwords in WordPress:
User
Step (2): When you click on All Users you get a page with a list of users. From this
select the one you want to reset password of and click on edit.
206
WordPress
Now let's look into resetting your password using Lost your password section.
Step (3): In this page you can type in your new password that must contain 7 characters.
Once you are done with setting your new password click on Update Profile.
Step (3.1): When you try logging into your WordPress admin panel, you forget your
password and need to reset it, you get the following message on the page.
207
WordPress
208
WordPress
Step (3.2): Click on Lost your password? The following page appears. Update your email and say Get New Password.
Step (3.3): After you click, you get a message saying a Link has been sent to the email address you provided.
Step (3.4): Go to your e-mail and open the (WordPress Site) Password Reset mail
and click on the link that is provided.
Step (3.5): Type your new password, confirm again if required and then click on Reset
Password.
209