Facepile Lives

Rough, but any new ‘like’ webmention to my site will be given a ‘like’ custom comment type and displayed in a facepile. Still need to convert the existing ones.

See both previous (for now) and new likes on this post about Fr. Bill.

5 responses to “Facepile Lives

  1. facepiles! awesome! oh man, jealous. next up, reposts, and emoji reactions like Facebook’s?

    can’t wait to see this kind of thing merged into Semantic Linkbacks (i assume?) and released! cc GWG.

    1. Yeah! Exactly. Going to look at building alongside the core Feature Plugin for emoji reactions so a webmention reaction adds to the count.

      Right now, I’m just playing to see how it feels and absolutely offer anything I get working upstream.

  2. Alright, I’ve converted over all existing webmention likes/reposts and added a facepile for reposts too. Two problems still outstanding: 1. Non-square avatars break the design and 2. How to handle 404ing avatars.

    1. Photon to the rescue for non-square avatars. Picking up on where semantic links left off:

      [code language=”php”]add_filter( ‘pre_get_avatar_data’, ‘bk_photonize_comment_avatars’, 12 );
      function bk_photonize_comment_avatars( $args ) {
      if ( isset( $args[‘url’] ) && ! is_null( $args[‘url’] ) && function_exists( ‘jetpack_photon_url’) ) {
      $size = apply_filters( ‘genesis_comment_list_args’, array( ‘avatar_size’ => 30 ) );
      $size = $size[‘avatar_size’];
      $args[‘url’] = jetpack_photon_url( $args[‘url’], array( ‘resize’ => array( $size, $size ) ) ) ;
      }
      return $args;
      }[/code]

    Mentions

  • Unknown's avatar 💬 Srikanth Perinkulam

Leave a Reply

Your email address will not be published. Required fields are marked *