Update: We've introduced the built-in Blog system in newer version of TMail. You are free to use WordPress integration as well.

You can integrate your WordPress blogs directly into a page! You have the option to display the blogs on your homepage using a shortcode or create a new page and insert the shortcode there.

Note: Make sure you've installed WordPress on a URL and have added at least one blog to it.

To show your WordPress blogs, use the following shortcode:

[blogs url="https://harshitpeer.com/blog"]

Here https://harshitpeer.com/blog is the WordPress URL. Please replace that URL with your WordPress URL

Shortcode Parameters

Required Parameter:

  • url: URL of your WordPress blog from which you want to show blog posts.

Optional Parameters:

  • context: Scope under which the request is made, determining the fields present in the response. Default is view.

    • Options: view, embed, edit

  • page: Current page of the collection. Default is 1.

  • per_page: Maximum number of items to be returned in the result set. Default is 10.

  • search: Limit results to those matching a specific string.

  • after: Limit response to posts published after a given ISO8601 compliant date.

  • author: Limit the result set to posts assigned to specific authors.

  • author_exclude: Ensure the result set excludes posts assigned to specific authors.

  • before: Limit response to posts published before a given ISO8601 compliant date.

  • exclude: Ensure the result set excludes specific IDs.

  • include: Limit the result set to specific IDs.

  • offset: Offset the result set by a specific number of items.

  • order: Order sort attribute ascending or descending. Default is desc.

    • Options: asc, desc

  • orderby: Sort collection by object attribute. Default is date.

    • Options: author, date, id, include, modified, parent, relevance, slug, include_slugs, title

  • slug: Limit result set to posts with one or more specific slugs.

  • status: Limit result set to posts assigned one or more statuses. Default is publish.

  • categories: Limit result set to items that have the specified term assigned in the categories taxonomy.

  • categories_exclude: Limit result set to items except those that have the specified term assigned in the categories taxonomy.

  • tags: Limit result set to items that have the specified term assigned in the tags taxonomy.

  • tags_exclude: Limit result set to items except those that have the specified term assigned in the tags taxonomy.

  • sticky: Limit result set to items that are sticky.

Note: This shortcode uses the WP JSON API to extract blogs from your WordPress site.