Your site is now installed and ready to use, but it’s still terribly empty! Here’s how to fix this by adding content to visitors.
WordPress content is organized into two types: articles and pages. The difference is the type of content you will publish.
An article will generally be a topical content because it takes greatest value at the moment of publication. This is typically the type of content used for publications of a blog or a news feed.
A page will rather be a constant value content over time without the need to be updated. It can be used for presenting a company, person or to talk about a subject background.
At the presentation, articles can be displayed in a chronological ordered list , that’s what makes sense, either completely or with an overview of the content, while the pages are accessed through a link (usually in navigation menu) to their content.
To create an article simply go to “Articles” and choose “Add new” in the submenu.
The text editor
On the next page , you have a field to set the title of your article and a text editor to type its content and format with the dedicated toolbar (see below).
You can make text bold or italic, create bulleted lists, change text alignment or color.
For a description of buttons in the editor, you can hover over it to display a small information bubble. Also, the last icon (in the shape of a question mark),opens help in a new window. Finally,the two tabs labeled “Visual” and “Text” are in order to toggle between the visual and the generated HTML. If you don’t know how to use HTML, there is no need to switch to text, visual mode will be enough.
To the right we have the available actions for the article in progress. In particular it’s possible to have a preview of the article with the blog design to get an idea of the final rendering. You can also, as in the following figure, manage the status of publishing your article. instantly or maybe later.
As long as an article is not in the status “Published”, it doesn’t appear on the site. You can start writing it as a draft, save and come back later to finish, but the “Publish” button displays the article immediately.
Categories and Keywords
It’s possible to combine one or more categories to an article and a set of keywords, This will allow your visitors to easily locate your content from the list of articles on various themes.
To manage categories, simply go to the menu “Articles> Categories, in this page you can add a category and edit existing ones.
By default, only one category is present and it’s not possible to delete it,because the default category articles will be used if no other assignment is chosen.
To create a new category, you must inform:
- The name of the category, which will be posted on the pages;
- An identifier, typically used in the URL when displaying articles in ;
- Parent (optional); each category can have a parent category;
- A description (optional) that will eventually be displayed if the subject allows.
After creating the category, we can assign it now to an article. To do this, on the edit page just check the box next to the category to combine and update the article. If we display our site again, the added category becomes visible in the site’s foot page (or on the side depending on the theme). Now you see a new page with the list of associated categorie.
Unlike the thematic description of categories, keywords or tags are used to characterize the article more precisely. For example, an article about how WordPress can be in the “My tutorials” category on the blog, keywords may be like :”course”, “computer”, “training”, “operation”, “WordPress” etc. The description of the article content becomes richer.
As well as the categories, there is a specific page in the administration to manage the keywords in the submenu of the Tags. However, it’s prefered to create the keywords directly on the page while writing an article, because it’s common to create some specifically for every article.
For this, under the form for adding categories, a field prompts you to add keywords (separated by commas). It’s also possible to choose from the most used existing keywords, Create or select tags and update the article to save changes (see below):
When viewing the article, you now have a list of keywords that will redirect you to the list of associated articles, as in the case for the categories. Indeed, if two articles have a common keyword (eg “wordpress”), the user can find these two articles by typing the keyword. This will facilitate research publications for your visitors by offering a range of words that appear frequently on your site.
Creating pages is very similar to the articles, it’s in the “Pages> Add new” menu. Edition of the content is by the same text editor, and publication follows the same process. However, the options on the page are different. We have more categories or keywords to associate, but three new attributes.
On the right side of the page editing area a framework similar to the following figure appears.
We can associate a parent page to another, to define a hierarchy of pages. The main visual change appears in the main menu that will display child pages you have defined.
The “Model” attribute (which is not always visible depending on themes) is used to change the page size, i.e the way it is displayed. By default, the pages are usually displayed in a sidebar (as for the list of items) that displays widgets (list of categories, keywords, various links). It’s therefore possible on some themes to choose not to display this sidebar on a specific page by choosing a “full-width page template”.
Finally, the attribute “Order” sets the appearance order of the page in the menu relative to others, The page with the smallest order appears on the left, while the rightmost page will be the one with the highest order.
A menu is the essential element of navigation on the site because it provides a link to the main pages .
Menu management is performed via the submenu “Settings> Menus” in the administration interface.
Creating a menu
To create a menu, nothing easier: just choose a name and click “Create Menu”.
After creating the menu, we just need to add links. These can be in several types:
- a custom link that you choose the correct url for;
- a static page;
- a link to a category;
When a link is added to the menu, it appears in the central framework that summarizes the added menu items. It’s then possible, by unfolding the block, to delete the menu, change the wording, or adding a title attribute to the link (see below):
In this way, a bubble appears when you fly over the menu with the mouse (see figure below):
When you have added your links, activate the menu in the block “theme Places” where you can choose the main menu. The menu will be used as the main site navigation. If the theme you use permits, it may be possible to have more than one active menu location at a time, you could then activate a second display to another location of your pages.
I can’t go to the page that list my items, we couldn’t add it to the menu!!
as you’ve seen, it is not possible to add in the menu a link type “page articles”. So you have to type in the website base url for a list of your publications, which is not optimal … Two solutions can solve this problem:
-The first is to add a custom link to the menu, which will be the home page of the site and which will, for example as a title
“Home”. This solution is, however, impractical and it will change the menu if your site changes address.
-The second option is to combine the list of items on a page. In “Settings> Reading”, you must then choose to display a static page as a home page (so select a page of content you created), then a page to list articles. Note that if it’s used to list articles on this page will never be displayed, so it can be empty.
Then simply add these pages to your menu, the first will be the home page and the second will link to the list of articles.
The second option does not preserve page items like home page. This requires making a specific development in the PHP code of WordPress, or use a plugin that allow it.
The order of the links is by default in the Add menu order, but it is quite possible to modify it as you wish. By dragging selected menus, you can order them as you please, as well as creating sub-menus. To do this, simply move the menu item to the right slightly, below that which will be the parent (see below):
Now, an overview on the parent menu will display the submenu as the following figure:
This allows to reproduce a similar navigation obtained by defining parent pages to others, but this is applicable to all types of menu items such as custom links and categories.
If you are now able to create content on your site, you are missing an important element to make it more attractive: the media; Images, sounds or videos, it’s entirely possible to insert them into your pages and your articles to illustrate your point.
Insertion in articles
All the following information is valid on the pages as well as the articles.
On the edit page of an article, you will find a button “Add media” (see below):
When you click, a new file upload window appears:
You can drag and drop, as in the following figure, a file in the window or click the “Select Files” button to use the file browser. When you select the file, it will be sent directly to the web server and previewed in the “Media Library” tab.
You can send any type of file, but the size should be smaller than 2MB. You can definitely add a music file or even a PDF, WordPress will take care to provide a proper display when viewing the article by a visitor.
Once the media you want to use in your article is submitted, you just have to select it and click the Insert button in the lower right section. Before that, you can edit the properties of the media on the right of the window:
- Title: the text to display in the overview of the media;
- Caption: a legend that appears in the media;
- Description: a longer description text than the caption (depending on the topic, it does not appear on the default theme for example);
- Link to: choose the behavior when you click on the media.
There are also some specific attributes pictures:
- Alternative Text: text to display if the image couldn’t be displayed;
- Alignment: if you choose “left” or “right”, the image will be surrounded by the text of the article;
- Size: the thumbnail size displayed in the article.
Finally, when the desired media has been inserted, do not forget to update your article for the changes to take effect!
Manage unused media
When you delete a media from an article, it will not be completely removed from WordPress, the sent file remains on the server to eventually be used on other articles.
To completely delete a media, you must go through the “Media> Library” that lists all files sent on the site. Then simply click on the link “delete Permanently” to delete it from the library.
If you delete a still used media in an article, you will have a dead link posted on your site, which is very frustrating for your visitors. So be sure that the media is not at all used before deleting it!
- The articles are published regularly depending on the news.
- The pages are destined for presentations.
- The menu can be managed automatically or manually.
- Any type of media can be added in a publication.
Next: Manage your participative site