> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-blog/configuration.md).

# Configuration

Once you have successfully installed the extension, go to **Stores -> Configuration -> MageComp -> Blog** to configure the extension for use.

### General

From this tab, you can enable or disable the extension.

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

* **Enable Extension -** Enable/disable the blog extension from here.

### Blog Index Page

From this tab, you can apply various settings for the main page of blog for your Magento 2 store.

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

* **Title -** Set the title for the blog index page.
* **Description -** Add the description for the blog index page.
* **Display Mode -** Select display mode for the blog index page - Recent Blog Posts, Featured Blog Posts, or Blank.
* **Posts Sort By -** Set the order of posts depending on publish date, position, or title.
* **Posts Per Page -** Set the number of posts to be displayed per page.
* **Meta Title -** Enter the meta title for the blog index page.
* **Meta Keywords -** Enter the meta keywords for the blog index page.
* **Meta Description -** Enter the meta description for the blog index page.

### Post Page (Post View)

From this tab, you can apply various settings for the blog post page or determine which section will be displayed on the blog page.

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

#### Design

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

* **Template -** Set the template of the blog post page - System Settings or Modern.

#### Related Posts

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

* **Display Related Posts -** Select Yes to show the related posts section on the blog post page.
* **Number of Posts -** Set the number of related posts to be displayed in the blog post page.

#### Related Products

<figure><img src="/files/2mWfOI8T8AgHh0dhFCjx" alt=""><figcaption></figcaption></figure>

* **Display Related Products -** Select Yes to show the related products section on the blog post page.
* **Number of Products -** Set the number of related products to be displayed in the blog post page.

#### Comments

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

* **Comments -** Enable Magecomp Blog Comments or Facebook Comments. You can even disable comments from this option.
* **Number of Comments -** Set the number of comments to be displayed in the blog post page.
* **Number of Replies -** Set the number of replies to be displayed in the blog post page if you are using Magecomp Blog Comments.
* **Allow Guest Comments -** Allow guests to comment on the blog posts if you are using Magecomp Blog Comments.

#### Previous and Next Post

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

* **Display Prev. & Next Post Links -** Select Yes to show previous and next post links on the current blog post page.
* **Template -** Select whether you want to display titles of the previous and next posts with respective links or just Previous and Next labels with respective links.

#### Views Count

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

* **Calculate & Display Views Counts -** Select Yes to show post view count on the blog post page.

### Post List

From this tab, you can apply settings for how the posts will be displayed on the blog index page.

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

* **Template -** Select the template for posts - System Settings or Modern (List).
* **Posts Per Page -** Set the number of posts per page.
* **Default Short Content Length -** Set the short content length limit for the blog post.

### Sidebar

From this tab, you can apply settings for various sidebar widgets and other sections.

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

#### Search Form Widget

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

* **Enabled -** Enable the search form widget from here.
* **Sort Order -** Set the sort order of the search form widget.

#### Categories Widget

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

* **Enabled -** Enable the category widget from here.
* **Display Number Of Posts -** Select Yes to show the number of posts a category holds.
* **Maximal Depth -** Set the number of subcategories to be shown for each parent category in the category widget.
* **Sort Order -** Set the sort order of the category widget.

#### Recent Posts Widget

<figure><img src="/files/3engiXVIBocp7jiClJMS" alt=""><figcaption></figcaption></figure>

* **Enabled -** Enable the recent posts widget from here.
* **Display Post Image -** Select Yes to show the post image in the recent posts widget.
* **Posts Number -** Set the number of posts to be displayed in the recent posts widget.
* **Sort Order -** Set the sort order of the recent posts widget.

#### Featured Post Widget

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

* **Enabled -** Enable the featured post widget from here.
* **Display Post Image -** Select Yes to show the post image in the featured post widget.
* **Post IDs -** Enter post IDs separated by a comma to display in the featured post widget.
* **Sort Order -** Set the sort order of the featured post widget.

#### Popular Posts Widget

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

* **Enabled -** Enable the popular posts widget from here.
* **Display Post Image -** Select Yes to show the post image in the popular posts widget.
* **Posts Number -** Set the number of posts to be displayed in the popular posts widget.
* **Sort Order -** Set the sort order of the popular posts widget.

#### Archive Widget

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

* **Enabled -** Enable the archive widget from here.
* **Archive Group By -** Select Month and Year, or only Year for the archive widget. Clicking on it will show the posts for the respective month or year.
* **Sort Order -** Set the sort order of the archive widget.

#### Tag Cloud Widget

<figure><img src="/files/1dr907EiEN8KuO1LYc7p" alt=""><figcaption></figcaption></figure>

* **Enabled -** Enable the tag cloud widget from here.
* **Enable 3D Animation -** Select Yes to enable 3D animation for tags.
* **Color -** Set the color of tags.
* **Cloud Height -** Set the height of the tag cloud widget.
* **Sort Order -** Set the sort order of the tag cloud widget.
* **Number of Tags -** Set the number of tags to be displayed in the tag cloud widget.

#### Post Related Products

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

* **Enabled -** Enable the related products section for the blog sidebar from here.
* **Number of Products -** Set the number of products to be displayed in the related products section for the blog sidebar.
* **Sort Order -** Set the sort order of the related products section for the blog sidebar.

#### Custom HTML

<figure><img src="/files/7B9Lg2XopgaBU33u7L7d" alt=""><figcaption></figcaption></figure>

* **Enabled -** Enable the custom HTML section for the blog sidebar from here.
* **Sort Order -** Set the sort order of the custom HTML section for the blog sidebar.
* **HTML -** Add your custom HTML code here.

#### RSS Feed

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

* **Enabled -** Enable the RSS Feed section for the blog sidebar from here.
* **Sort Order -** Set the sort order of the RSS Feed section for the blog sidebar.
* **Feed Title -** Set the RSS Feed title.
* **Feed Description -** Add the RSS Feed description.

### Product Page

From this tab, you can apply settings for displaying related posts to product pages.

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

* **Display Related Posts -** Select Yes to display the related posts section on product pages.
* **Number of Posts -** Set the number of posts to be displayed in the related posts section on product pages.

### Author

From this tab, you can apply settings for the blog author.

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

* **Display Author Information -** Select Yes to show author's name for blog posts.

### Search

From this tab, you can apply settings for the search form template.

<figure><img src="/files/2PeeqxgvmAb3nqAvAggX" alt=""><figcaption></figcaption></figure>

* **Template -** Select the template for the search form within the blog page.

### Permalink Settings

From this tab, you can apply settings for the URL of various sections of the blog.

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

* **Blog Route -** Set the blog route.
* **Auto-redirect to No-Slash URL -** Select Yes for auto-redirection to no-slash URL.&#x20;
* **Permalink Type -** Select the permalink type.
* **Post Route -** Set the post route.
* **Post URL Suffix -** Set the post URL suffix.
* **Use Categories Path for Post URLs -** Set whether you want ot use categories path for post URLs.
* **Category Route -** Set the category route.
* **Category URL Suffix -** Set the category URL suffix.

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

* **Use Parent Category Path for Category URLs -** Set whether you want ot use parent category path for category URLs.
* **Archive Route -** Set the archive route.
* **Tag Route -** Set the tag route.
* **Tag URL Suffix -** Set the tag URL suffix.
* **Author Route -** Set the author route.
* **Author URL Suffix -** Set the author URL suffix.
* **Search Route -** Set the search route.

### Search Engine Optimization

From this tab, you can set canonical meta tags for various blog pages.

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

* **Use Canonical Link Meta Tag For -** Select pages for which you want to set canonical meta tag.

### Social Share Buttons

From this tab, you can enable social share buttons for blog posts.

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

* **Enabled -** Enable social share buttons for blog posts from here.
* **Social Networks -** Select social networks that will be displayed on the blog post page.

### Category Top Navigation

From this tab, you can apply settings for the category in the top menu.

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

* **Display Blog Link -** Select Yes to display blog link on the top navigation.
* **Link text -** Set the text for the blog link on the top navigation.
* **Include Blog Categories -** Select Yes to include blog categories on the top menu.
* **Maximal Depth -** Set the number of subcategories to be displayed in the top menu.

### Developer

From this tab, you can apply settings for custom CSS.

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

#### CSS Settings

* **Include Blog CSS On All Pages -** Select Yes to add custom CSS on all blog pages.
* **Custom CSS -** Add your custom CSS here.
* **Include Bootstrap v4.4.1 Custom Mini -** Select Yes to include Bootstrap v4.4.1 custom mini.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://docs.magecomp.com/magento-2-blog/configuration.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.
