In general it should be super simple to federate WordPress posts to the fediverse: Just simply install and activate the ActivityPub WordPress plugin and there you go.
Continue reading How to make ActivityPub plugin publish WordPress postsTag: Wordpress
Fix Twitter share button in WordPress’ Huge-IT Share buttons
I just tried the Huge-IT share plugin for wordpress and realized that the twitter share button seems to have a bug: When sharing, the tweet will not link back to the URL. Not cool :-/
Fix:
changed the file (via edit plugin): wp-share-buttons/Front_end/share_front_end_view.php
case 'share_twitter_button': $link= 'https://twitter.com/intent/tweet?url=http%3A%2F%2F'.$linkthispage.'&text='.$str;
Now the URL is prepended with http and thus displayed in the twitter share-dialog as well. Mission accomplished.
(And Huge-IT is also informed about the bug + fix)
Have fun and a happy new year