Automatically add posts from another WordPress website using a shortcode like [blogcrosspost url="example.com"]
Automatically add posts from another WordPress website using a shortcode.
Add the shortcode [blogcrosspost url="example.com"]
to desired post/page/widget and save to have the code working.
One can add some customization to the shortcode such as”:
[blogcrosspost url="example.com"]
[blogcrosspost number="3"]
[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 );
If you have any feedback, just write an issue. Or fork the code and submit a PR on Github.
** 0.2.0 **
– Fix Versioning issue.
** 0.2.0 **
– Bugfix for broken Image URL and Author Display Name.
– Added filters for all responses.
– Added class options.
– Bugfix for counter in loop display.
** 1.0.0 **
– Initial Release.