Automatically add posts from another WordPress website using a shortcode like [blogcrosspost url="example.com"]
Author: | Laurence Bahiirwa (profile at wordpress.org) |
WordPress version required: | 4.9 |
WordPress version tested: | 6.0 |
Plugin version: | 0.2.1 |
Added to WordPress repository: | 07-05-2020 |
Last updated: | 22-06-2022 |
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://github.com/bahiirwa/blogcrosspost |
Total downloads: | 2 608 |
Active installs: | 70+ |
Click to start download |
Automatically add posts from another WordPress website using a shortcode.
Usage
Add the shortcode [blogcrosspost url="example.com"]
to desired post/page/widget and save to have the code working.
Options
One can add some customization to the shortcode such as”:
- Link to external website =
[blogcrosspost url="example.com"]
- Number of Posts to show =
[blogcrosspost number="3"]
- Name for the Readme link =
[blogcrosspost readmoretext="Learn More"]
or use all of them in one go as:
`[blogcrosspost url="example.com" number="3" readmoretext="Learn More"]```
You can also change the HTML structure using apply_filters( 'blogcrosspost_link', $html, $atts );
Upcoming features
- [ ] Add a Gutenberg Block.
Contribute/Issues/Feedback
If you have any feedback, just write an issue. Or fork the code and submit a PR on Github.
Screenshots
ChangeLog