Q&A Section: How to Add and Edit Posts and Pages in WordPress
How do I add posts or pages in WordPress?
By clicking on All Post/All Pages in the Admin panel and choosing Add new. Then, you add text and media and click on Publish. Your post/page is now live.
This post explains the process in much greater detail.
Is there a limit to how many posts/pages I can publish?
Yes, this is the limit set by your hosting provider in form of php limitations or disc space. You can though switch hosting plans to get more php memory or disc space. php memory limit can in some cases get resolved by adding a simple function, as long as your hosting provider allows for it.
Can I add images and video to posts?
Yes, you can. WordPress upload supports a wide range of file extensions, including the most popular image and video formats. GIFs are also allowed but can be difficult to work with.
Can I edit already published posts and pages?
Yes, you can – and there is no limit for how often or how many times you do it.
Can I delete or unpublish a published post or page?
Yes, you can. You can always delete posts and you can also change their status to Draft, making them disappear from the frontend, without deleting them.
Adding and editing posts and pages in WordPress is one of the first things you should learn, once you have your site up and running. Many get a bit nervous, when thinking about learning to use a whole new system (yes, WordPress is a CMS – Content Management System). This is, however, completely unnecessary, as WordPress is extremely user friendly.
This post will help you understand, how WordPress functions, so that you don’t need to wonder, what happens, when you add posts or pages. It will also guide you step-by-step through the process of adding and editing posts and pages in WordPress.
Short Introduction to WordPress Basics
WordPress is quite user friendly, as it offers structure, order, and intuitive controls out of the box. The way it all works is, as follows:
- Once you have created your site under your domain, the domain becomes the root of all the site’s URLs, with added http or https in front, depending on whether you have installed SSL.
- From Settings->Permalinks in the Admin panel, you can control how the URLs will be structured. The recommended setting is to use either Post name or Month/Day and name. These are the most user-friendly settings, as they are meaningful and easy to understand. In is not recommended to use numeric URLs or URLs with special characters.
- Every time you publish a page, a URL is generated automatically, as defined by you in Permalinks. You can though choose to manually edit the URL, if you have special preferences. The same applies to posts.
- After a page is published, you have to add it to the menu, in order to be able to access it in the frontend (the part of the website, visible to users). This you can do by clicking on Appearance->Menus. If no menu is available, create a new one by clicking on the Create a new menu link (see the screenshot below). Once the menu is created, you can select and add items from the list on the left. As you can see, you have the option to add both posts and pages. It is though most common that only pages are included in the menu (no formal rule there, do as it makes sense for you!). Remember to choose a location to display the new menu (Menu Settings at the bottom of the screenshot). Primary menu is the menu that appears in the header of the website (the horizontal menu, almost at the top of the page). Remember to save the menu, when done.
- You can access pages by clicking on the respective menu items. To edit a published page, click on Edit page in the top bar, when logged in or find the page under Pages->All pages in the Admin panel and click on Edit page.
- Published posts appear always on the blog page(s) of your site, as well as in the form of date, author, category, and tag archives. When it comes to archives, it all happens automatically and you can’t do anything to change it. You can only choose to not include certain archives in your sitemap (SEO plugin setting). You should choose yourself, which one of your published pages will serve as a blog page. You can do that from Settings->Reading in the Admin panel. There, you can choose a blog page, as well as set the way posts will appear on the blog page. Remember to save your settings and add the blog page to the menu in order to be able to access your posts!
How to Add a Post or Page in WordPress
Now that you know how it all works, you know that adding a post or a page in WordPress doesn’t have anything to do with location or URL. You always add posts and pages the very same way, from the very same place. They appear automatically, where they are supposed to.
To add a post, you can choose to click on the plus in the top bar and choose Post or to click on Posts->Add New from the Admin menu. Both options lead to the very same place, so you end up on the Edit post screen, where you can add text and images, edit them, and save the post as a draft or publish it (detailed explained in the section on How to Edit a Post or Page in WordPress).
How to Edit a Post or Page in WordPress
Once you have reached the Edit Post or Edit Page screen, you discover that they are almost the same. The only difference are the options in the panels to the right of the screen, where you can find different structuring tools, depending on whether you are editing a post or a page. We’ll come to this later.
On the Edit Page/Edit Post screen, you have a number of options and controls that you need to be aware of. Take a look at the screenshot below. All the important settings and options are marked and explained shortly. Under the screenshot, you can find the detailed explanation of each option/setting and the way it’s used.
Editing a page or a post starts usually with choosing a title. You can enter the title in the field, marked with Enter title here. The title is supposed to be descriptive and mirroring the content on the page. Misleading or unprecise titles lead often to high bounce rate.
At the next step, take a look at the right side of the screen with all the option boxes. As mentioned before the Edit Post and Edit Page screens are the same with one little difference: when you edit a post, you can assign categories and tags to it. You can’t do that with pages.
Categories are the primary organization tool for posts. They are used to group similar posts and to display them on different pages/spots of your website, as long as your theme allows for that. Categories are also used as WordPress’ organizational system in the background, where posts are archived and made available in category archives.
It is recommended that you only assign one category per post to avoid too much duplicated content. The reason is that the categorization system of WordPress means that a copy of the post is stored under each category you assign to it. Even though duplicated content isn’t as problematic for SEO as earlier, it is still not optimal to fill your site with duplicate content, as you risk Google indexing your posts wrong.
Tags are yet another syndication system that is primarily used to help site visitors navigate through your content or find the topic they are looking for. Tags are in a way outdated, as site users’ behavior is much different today than a couple of decades ago. Nobody just browses a site in a hope to find something anymore.
In the same time, tags get archived just the same way as categories, creating even more copies of your content. Therefore, you might want to consider to drop using tags.
When editing a page, you can’t assign tags and categories to it. You can, however, choose where to add it in the site’s structure and what template to use for the page (this option is theme dependent, meaning that you might not have it at all or might have just a very few templates to choose from).
By choosing a parent of the page, you choose to include the parent page’s name in the URL of the child page. So, the URL of the child page will be https://yourdomain.com/parentpage/childpage, instead of https://yourdomain.com/childpage.
Be though aware that this does not affect your menu structure! To add a page to the menu, you have to still go through the steps, as described earlier. To mark a child page as a submenu item to a certain menu item, you should drag the submenu item one step to the right. You can also manually set the order, in which menu and submenu items should appear by dragging them up or down in the menu.
In addition to assigning a parent page, you can choose to apply a specific template to the page. This means that the page’s content and functionality can be changed by applying different templates. While templates are theme-specific, examples can be blog grid, blog list, microsite, etc.
Lastly, you can also assign an order to child pages. While this doesn’t affect menu structure, it affects the site’s map.
To add text to a post or page, you either type or copy-paste the text into the large empty field on the edit screen. There is no limit for the length of the text. The average blog post is around 1000 words, while pages tend to be quite shorter and serve other goals than delivering content, for example, contact pages, subscription pages, landing pages, product pages, company description pages, etc.
From left to right on the first line, you have:
- Change the style of the text. Choose among h1-h6, preformatted, and paragraph;
- Bulleted list
- Numbered list
- Add a quote
- Text align left
- Text align center
- Text align right
- Insert a link
- Show/hide the second line with formatting options
- Insert a shortcode (theme-dependent)
On the second line, left to right, you have:
- Add a full-width horizontal line under the cursor
- Change text color
- Paste as plain text (when copying from a rich text editor or another website and you worry that some formatting remains)
- Clear formatting
- Insert special character
- Decrease indent
- Increase indent
- Show keyboard shortcuts
You use these formatting options, just as you do in Word or any other rich text editor.
To add media, place the cursor on the spot, where you’d like the image or video to appear, and click on the Add Media button situated above the text field. This opens the Media Library popup, where you can upload files by browsing your computer or by drag-and-dropping the image onto the Media Library popup window.
You choose an image (or video) by clicking on it (selecting it) and clicking on Insert into post. Remember to enter a title and especially an ALT text for each image to make it easy for search engines to index and browse your images, as well as rate you page.
While the ALT text never appears on the page and the title only rarely is displayed, the image’s caption is the text that gets displayed. So, if you’d like to add a description to support your images, you can do that by typing it into the Caption field.
In addition to adding a title and ALT tag, you can choose how large the image should be, where to place it on the page, and whether it should link to something (another page, another website or a file).
Be especially careful with two settings: Hide title and Size. As long as you don’t intend to display the title of the image, check the checkbox next to Hide title. This way you avoid the title accidentally appearing on the page above the image or pop up on hover.
The size setting is quite important, as it allows you to choose a size that fits the spot on the page. Using larger images is unnecessary and makes the page heavier and slower, which is quite bad for SEO. Therefore, consider carefully, which size you should use.
Now that you have learned to add and edit text and media in WordPress, it is time to learn to publish posts and pages. You do that by clicking on the big blue Publish button to the right of the screen. Before clicking on it though, let’s take a look at your options.
As you can see, you have the option to save the post or page as a draft. This is quite useful, as long as you work on something but can’t finish all at once. Saving as a draft saves your work, without making it visible to site visitors.
Another option that you have, is to preview the page before publishing or saving your changes. This allows you to check for errors to avoid awkward moments with site visitors, when working on your site.
From the Status line you can change the status from published to draft or pending review and the other way around. This is a useful feature, when working with multiple authors, where the admin has to approve posts before publishing.
The Visibility option allows you to change the post’s/page’s visibility from Public to Private and Password protected, as well as to make it sticky on the blog page.
The Revisions feature is your time machine. You can check out the latest revisions (if no limit is set, all of the revisions will be available) and revert changes by activating an earlier copy of the post/page.
Lastly, the Publish (calendar) option allows you to play with the publishing time. You can schedule a post for publishing far ahead in the future and you can also choose a past date. You can likewise change the publishing date of already published posts (useful when you update the content).
That’s it! Now you know all there is to know about adding and editing posts and pages in WordPress. If you still have any questions, please do not hesitate to contact WPBN, we’ll be happy to help!