Description Usage Arguments Value Examples
Retrieve posts made on the WordPress site.
1 | get_wp_posts(root_url, post_count = Inf, after_date = NULL)
|
root_url |
The WordPress site for which posts are sought to be retrieved. |
post_count |
The maximum number of posts to return, sorted by the most recent date. Default value is to return all posts made on the site. |
after_date |
The date after which posts should be returned. |
A data frame returning the post ID, publication date, title, excerpt, content, tag IDs, category IDs, and author IDs.
1 2 3 4 | ## Not run:
get_wp_posts(root_url = 'https://domain.com',post_count = 200, after_date = NULL)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.