# Articles (blog posts)

## Published articles and drafts

The **published** flag controls whether the article is visible to the public. Only published articles are displayed on the website.

If an article is still being written, uncheck the published checkbox until it is ready to be published.

## Featured articles&#x20;

The **Featured** flag determines which article/blog post appears on the LII homepage. Selecting the **Featured** checkbox ensures that the article is displayed on the homepage.

If multiple articles are marked as **Featured**, they are displayed in order of upload, with the most recently uploaded **Featured** article appearing first.

## Article topics

Article topics allow you to create sections on the website blog, similar to sections on a news website. Related articles should be tagged under the same topic.

The available topics can be configured in the **Taxonomies** part of the admin area, under the **Article tags** top-level entry.&#x20;

## How to Upload an article/blog post

1. Select **articles** from the list of menu items on the dashboard.

<div align="left"><figure><img src="/files/unddgEZuEQfdG8ijBGji" alt=""><figcaption></figcaption></figure></div>

2. Click **Add article**
3. Type in the **key details.** The fields with <mark style="color:red;">\*</mark> are compulsory fields and must be populated.

<figure><img src="/files/jD2MJ7Bh6btdbfgX1koR" alt=""><figcaption></figcaption></figure>

* **Title** – The main heading of your article.&#x20;
* **Slug** – This is usually auto-generated from the title. It helps form the article’s URL.
* **Date** – This is the publication date of the article. You can manually select a date or use the "Today" shortcut.
* **Image** – An optional field where you can upload an image related to the article.
* **Summary** – A brief description or excerpt of the article, which may be displayed in previews.
* **Body** – This is the main content area where you enter the article text. It includes a rich text editor with formatting options such as bold, italics, the ability to insert images or links, etc.
* **Author** – This field specifies the author of the article. It is required and can be selected from a predefined list. Icons next to this field allow you to change the selected author, add a new one, or view details of the author.

4. Check **published** to make the article visible to the public. Unpublished articles are drafts and are not visible.
5. Check **featured** to put the article on the homepage (selected LIIs only). Only featured articles are shown on the homepage, and ordered by date (most recent first).
6. Upload a cover **image** for the article that will appear at the top of the article and on the listing page. A rectangular image is recommended.
7. **Topics** are the article categories that group articles on the website. Choose article topics carefully to create different sections of the website.
8. The **summary** should be one or two sentences that summarise the article. The summary is shown in the article listing pages and at the top of the article. Add a summary.
9. Enter the article content in the **body section** and format it as needed.
10. Select the **author** for the article from the dropdown menu. The author must be a registered user of the site.

## Article Attachments

* Click the **"Article attachments"**  tab.
* Click the **"Choose File"** button to browse and select a file from your computer.
* If you need to remove an attachment, click the **"Remove"** button next to it.
* To add more attachments, click **"Add another Article attachment"** at the bottom of this section.

<figure><img src="/files/o5PODcowY6Wz0YMrFvhA" alt=""><figcaption></figcaption></figure>

11. Click **Save.**
12. Click **View on site** to view the article
13. To edit your article, click the "**Edit**" button, make the necessary changes, and then save your updates.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liieditors.docs.laws.africa/site-admin/articles-blog-posts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
