Skip to main content

Hello Fedi friends!

I’m currently experimenting with the POSSE method of publishing (“Publish [on your] Own Site, Syndicate Elsewhere”) on my federated WordPress site (this one) so that I can more easily organize posts and retrieve them in the future. This is the first of such posts.

I have created a “micro” post category and edited the functions.php file of my WordPress blog to exclude such posts from the main blog.

Here is the code I’m using:

function exclude_category( $query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( ‘cat’, ‘-2132’ );
}
}
add_action( ‘pre_get_posts’, ‘exclude_category’ );

Where -2132 is the number assigned to the category “micro”.

You can find the category number by hovering over it in the Categories menu.

I also plan to tweak my site’s navigation menu to make “micro” appear under the blog category.

At some point in the future that will replace the “blog”… otherwise it’s too confusing to follow how many blogs I actually have.

I am also debating whether to migrate my GoToSocial account to WordPress using the MOVE function. What’s holding me back for now? I will need to be able to implement Serdy’s blocklists here before I do that. I experienced some terrible trolling and abusive messages when I didn’t have blocklists in place on my GoToSocial account last month, so I learned my lesson.

And I’d like to see how “social” the Friends for WordPress plugin by Alex Kirk is, before I consolidate my two accounts.

Anyway, this is all really exciting, made possible by the magic of and the ActivityPub for WordPress plugin by @pfefferle. Thank you Matthias!

Onwards and upwards!

4 Comments

Leave a Reply