How to integrate WordPress Blogs?
From TMail v5.2 & tSMS v1.2, you can integrate your WordPress Blogs! You can either show blogs right on the homepage using the short-code OR you can create a new page and put the short-code to show the blogs.
Here is the short-code to show your WordPress Blogs on TMail:
[blogs url="https://harshitpeer.com/blog"]
Below are all parameters details
url |
URL of your WordPress Blog from which you want to show blog post This is the only |
context |
Scope under which the request is made; determines fields present in response.
Default: One of: |
page |
Current page of the collection.
Default: |
per_page |
Maximum number of items to be returned in result set.
Default: |
search |
Limit results to those matching a string. |
after |
Limit response to posts published after a given ISO8601 compliant date. |
author |
Limit result set to posts assigned to specific authors. |
author_exclude |
Ensure result set excludes posts assigned to specific authors. |
before |
Limit response to posts published before a given ISO8601 compliant date. |
exclude |
Ensure result set excludes specific IDs. |
include |
Limit result set to specific IDs. |
offset |
Offset the result set by a specific number of items. |
order |
Order sort attribute ascending or descending.
Default: One of: |
orderby |
Sort collection by object attribute.
Default: One of: |
slug |
Limit result set to posts with one or more specific slugs. |
status |
Limit result set to posts assigned one or more statuses.
Default: |
categories |
Limit result set to all items that have the specified term assigned in the categories taxonomy. |
categories_exclude |
Limit result set to all items except those that have the specified term assigned in the categories taxonomy. |
tags |
Limit result set to all items that have the specified term assigned in the tags taxonomy. |
tags_exclude |
Limit result set to all items except those that have the specified term assigned in the tags taxonomy. |
sticky |
Limit result set to items that are sticky. |
Note: TMail short-code uses WP JSON API for extracting blogs from your WordPress site.