GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Elena Rossini (ele@elenarossini.com)'s status on Wednesday, 09-Jul-2025 11:05:28 JST Elena Rossini Elena Rossini
    • Matthias Pfefferle

    https://elenarossini.com/2025/07/my-adventures-in-self-hosting-day-203/

    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 #ActivityPub and the ActivityPub for WordPress plugin by @pfefferle. Thank you Matthias!

    Onwards and upwards!

    #MySoCalledSudoLife

    #ActivityPub #micro #MySoCalledSudoLife #selfhosting

    In conversation about a year ago from elenarossini.com permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: elenarossini.com
      Elena Rossini | Italian filmmaker, social entrepreneur & speaker
      from Elena Rossini
      Hello! I'm Elena Rossini, an Italian filmmaker, social entrepreneur and speaker. My mission: to create media that empowers women and girls.
    2. No result found on File_thumbnail lookup.
      http://category.At/

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.