Reblog via Matthias Pfefferle
A new episode of #Decentered is out! We sat down with @pfefferle from Automattic on his effort to bring #ActivityPub to the #WordPress ecosystem!
https://wedistribute.org/podcast/wordpress-matthias-pfefferle/
Reblog via Matthias Pfefferle
A new episode of #Decentered is out! We sat down with @pfefferle from Automattic on his effort to bring #ActivityPub to the #WordPress ecosystem!
https://wedistribute.org/podcast/wordpress-matthias-pfefferle/
Reblog via Nathan Wrigley :wordpress:
I'm going to be doing a LIVE webinar with Matthias Pfefferle in about 40 mins. It's all about WordPress and the Fediverse (think Mastodon) and how to turn your website into a member of this growing social network. It'll be at wpbuilds.com/live.
Reblog via Matthias Pfefferle
Follow `@wordpress` and join the discussion!
Reblog via Matthias Pfefferle
We released version 2.3.0 of the #ActivityPub plugin for #WordPress.
Some new features:
* Support for alt-attributes
* Prioritize attachments based on the post format (article => all, audio => audio, video => video, …)
* Improve JS widgets
* A better default content handling based on the Object Type
* You can now add/remove the capability to use ActivityPub for each UserFull changelog: https://github.com/Automattic/wordpress-activitypub/blob/master/CHANGELOG.md#230—2024-04-16
Download: https://github.com/Automattic/wordpress-activitypub/releases/tag/2.3.0
Serverside rendered web components in WordPress. I’ll have to test this some day. Based on Enhance WASM.
https://github.com/enhance-dev/enhance-wordpress-plugin
#wordpress
Reblog via Remkus de Vries
We got this cool new Font Library in WordPress 6.5 for FSE themes.
If you have a Classic Theme, however, there is a way to activate the Font Library. There are a few steps involved, but it's very doable.
https://remkusdevries.com/how-to-activate-the-font-library-for-classic-themes/
It looks like ActivityPub for WordPress will still be loading 2MB of JS for the foreseeable future 😫 https://github.com/Automattic/wordpress-activitypub/issues/705
#activitypub #wordpress
The weet theme is extremely fast. One of the ways to achieve this, is by not loading any of the styles that are shipped with WordPress.
After updating to WordPress version 6.4, I noticed that a stylesheet was loading with this theme. Apparently a new stylesheet was introduced. I used the excellent Query Monitor plugin to tell me where this was loaded. Turns out that a separate stylesheet for components exists.
In classic themes you can remove stylesheets with PHP if you know the appropriate handle.
function my_dequeue_styles() {
wp_dequeue_style( 'global-styles' );
wp_dequeue_style( 'wp-block-library' );
wp_dequeue_style( 'classic-theme-styles' );
wp_dequeue_style( 'wp-components' );
}
add_action( 'wp_enqueue_scripts', 'my_dequeue_styles', 10, 0 );
In that case you also have to provide your own CSS.
It seems that I have to keep my eye on changes in WordPress and update the weet theme accordingly.
After a lot of work, version 1.0 of the ActivityPub plugin for WordPress was released. The overall usability has been improved and some of the most requested features were implemented.
The biggest addition is the blog-wide ActivityPub profile. And you can freely set the ID for it. Before you could only follow individual WordPress accounts. That is bit of a hassle, if you want to see all posts. Now you can even decide if authors can be followed or not. So you have more control over which profiles are active.
A big question for a lot of people is, how you can follow someone and who is following authors. This information was only available in the WordPress admin interface, but now you can add 2 blocks to your website:
The blocks can also be used as widgets in classic themes, not just in block themes.
Unfortunately, using these blocks have a significant performance impact, loading almost 2 MB of JavaScript. I will not be using them for now. A GitHub issue was already raised. Hopefully this will improve soon.
Of course, a lot of minor improvements and fixes were included in version 1.0. Have a look at the changelog for a full list. And version 1.0.1 has quickly followed the initial release.
Should ActivityPub posts be written differently from blog posts? That is the question I’m asking myself since posting to the Fediverse with WordPress.
For wee.press I started with the regular settings of the ActivityPub plugin. Turns out that by default the full content is posted, minus some formatting.
A couple of things stood out to me:
Luckily, you can customise the output for ActivityPub. I changed it to include the title and a link to the article. Most people will be used to seeing short posts. Personally, I prefer not to see the long posts inside the timeline, because it disrupts the reading flow when scrolling. Also long texts differ too much from typical posts.
I also added hash tags and hash categories, because this way it can be easier found on Mastodon. I have to admit that it took me a couple of seconds to realise what “hashcats” stands for 😸 The hash tags are plain text, so they support the native functionality in apps. The plugin has the ability to link to the WordPress tag page, but I doubt I will ever use that.
The default for attached images is 3, but I changed that to 1. My posts focus mostly on writing about WordPress and less showing lots of photos or screenshots.
Pages are not that interesting in timelines, so I only enabled posts to get listed.
I still have to look into how WordPress post formats work. In the past this wasn’t very useful to me, so I never used them. But with ActivityPub this functionality might make more sense. I guess I have to read up on how Activity-Object-Types are intended to be used.
It would be nice to have the ability to select the output for each post individually. If I post photos from an event, I probably would want to post all photos. Or occasionally add an extra link or a handle, not just the article URL. How I would like to post, will likely evolve over time, as I get more experienced using ActivityPub.