# Popular Now

### **Functionality**

1. **Purpose**: Displays the most popular content from your hub based on user engagement (views).
2. **Defaults**:
   * **Content selection**: The last 30 most popular items within the past 30 days.
   * **Sorting**: Defaults to descending order by the number of views.
   * **Caching**: Results are cached for two hours to optimize performance.
   * **Exclusions**: Does not display event-type content.
   * **Pagination**: Not supported for this shortcode.
3. **Customization**: Accepts all parameters supported by the `[content]` shortcode, allowing full control over the layout and behavior. Please [read this documentation](https://docs.wavecast.io/publishing/shortcodes/content) for more information.

***

### Parameters

The `n_days` parameter specifies the number of past days to consider when determining the most popular content.

**Details:**

* **Type**: Integer
* **Default Value**: `30`
* **Usage**: Adjust this parameter to fetch popular content from a specific timeframe. For example:
  * Set `n_days=7` to display content from the past week.
  * Set `n_days=90` to display content from the last 90 days.

**Example:**

| **Example**                 | **Description**                                          |
| --------------------------- | -------------------------------------------------------- |
| `[popular_now n_days="7"]`  | Displays the most popular content from the past 7 days.  |
| `[popular_now n_days="90"]` | Displays the most popular content from the past 90 days. |
