Add Posts to your blog
xStatic comes with two content types, posts & pages. Posts are contents that are published & listed on the home/index page of your blog.
In this tutorial, we will be adding posts to our blog.
Add a Post
- Navigate to the Posts screen.
- Click the +(plus) button to add a new post.
Compose Posts
In the Compose Post screen, fill in the Title, Slug, post body content, excerpt & select category, tag & featured image for the post.
Compose Lorem Ipsum post.
- In the Title field, enter Lorem Ipsum.
- Slug will be automatically generated.
- Copy the contents (Markdown) from lorem-ipsum.md into the Post Body section.
- For Excerpt, provide Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam congue neque sem, sed accumsan eros suscipit a. Fusce rhoncus luctus orci et posuere.
- Add & select a new Category, General.
- Add & select a new Tag, Lorem Ipsum.
- Leave the Featured Image empty.
- To save the post, click Save.
- Navigate to the Posts screen by click the Back <-- button.
Compose Man must explore, and this is exploration at its greatest post.
- In the Title field, enter Man must explore, and this is exploration at its greatest.
- Slug will be automatically generated.
- Copy the contents (Markdown) from man-must-explore-and-this-is-exploration-at-i.md into the Post Body section.
- For Excerpt, provide Problems look mighty small from 150 miles up.
- Select Category, General.
- Add & select a new Tag, Space Ipsum.
- Select Space.jpg for the Featured Image.
- To save the post, click Save.
- Navigate to the Posts screen by click the Back <-- button.
Compose Pirate Ipsum post.
- In the Title field, enter Pirate Ipsum.
- Slug will be automatically generated.
- Copy the contents (Markdown) from pirate-ipsum.md into the Post Body section.
- For Excerpt, provide Yar Pirate Ipsum.
- Select Category, General.
- Select Tag, Lorem Ipsum.
- Select Pirate Ipsum.png for the Featured Image.
- To save the post, click Save.
- Navigate to the Posts screen by click the Back <-- button.
Slug uniquely identifies your post. A slug will be automatically generated from the title, or you could provide your own. An Excerpt is a summary of your post that may appear in the posts list. Use Categories & Tags to organize your posts within site. Select or add a new category/tag from the Post Settings section of the compose screen. You can select multiple items. Featured image is the image that is prominently placed (usually on top) on your post. You can select any image that is available in the Media Library by tapping/clicking on the Featured image section.