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"] - Image Size to Display =
[blogcrosspost image_size="medium"]. Options can be medium, large, thumbnail, full or any custom size. Default is full.
or use all of them in one go as:
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.

评论0