Categories
WordPress

Happy Birthday WordPress!

Yesterday marked the 17th anniversary of the first release of WordPress. I didn’t use WordPress back then—I didn’t find my way to it until it was a youthful four years old in 2007.

In the 13 years since, the software has made a major impact of my life, sure, but the community around it has a greater impact. The community is what hooked me into using it and helped me grow as from a shade-tree tinkerer to working as a full-time developer at Automattic.

I didn’t appreciate the nuance of software licenses back then. I hadn’t heard about the four freedoms of software. For me, once I understood the idea, I was hooked. It just made sense.

Thanks WordPress and, more importantly, all the people behind it for 17 years of community and open source.

Advertisements
Categories
WordPress

Jetpack’s Publicize Now Uses Twitter Cards

A long time ago, Jetpack’s Publicize feature—which automatically posts to your social media platforms when you publish a new post—started attaching an image to your tweets to help them catch people’s attention.

At the time, a tweet with a picture would perform better than a tweet with just a link.

This is all fine and good, but a lot has changed since Jetpack started doing that. Twitter cards, if nothing else, not only were developed but were opened up to all (remember when you used to have to opt-in?). When you attach media, that’s the “special” part of your tweet. The Twitter Card, rendered from the meta tags on your post, is not displayed.

Today, effective for all versions of Jetpack and all WordPress.com sites, Publicize will no longer attach a picture to your tweet, instead allowing Twitter to display the Twitter card it renders.

If you want to return to the old way and are on Jetpack 8.5 (released today) or WordPress.com Business, you can add a small code snippet to change it.

add_filter( 'jetpack_publicize_options', function( $option ) { 
    $option['attach_media'] = true;
    return $option;
} );

This filter will, in the end, notify WordPress.com’s server of your preference and use it for future Publicize posts.

Questions about Jetpack’s Publicize feature? There is a team of Happiness Engineers ready to help!

Categories
Site Info

CSS Naked Day

I learned from Dries, founder of Drupal, that today is “CSS Naked Day” which encourages site owners to disable all CSS. You can read more about it on the day’s site.

Here’s a quick and dirty snippet to add to a WordPress site to enable it.

function bk_is_naked_day($d) {
  $start = date('U', mktime(-12, 0, 0, 04, $d, date('Y')));
  $end = date('U', mktime(36, 0, 0, 04, $d, date('Y')));
  $z = date('Z') * -1;
  $now = time() + $z; 
  if ( $now >= $start &amp;&amp; $now <= $end ) {
    return true;
  }
  return false;
}

function bk_remove_all_css(){
    global $wp_styles;
	if ( bk_is_naked_day( 9 ) ) {
        $wp_styles->queue = array();
	}
}

add_action( 'wp_print_styles', 'bk_remove_all_css', 99 );

function bk_announce_naked_day() {

	if ( bk_is_naked_day( 9 ) ) {
	echo "<p><i>🔥 Why does my website look so <strong>naked</strong>? April 9th is <a href='https://css-naked-day.github.io/'>CSS naked day</a>.  I'm participating to help promote web standards, including the proper use of HTML, semantic markup and more. I'm also using it as an opportunity to find out where I can improve the HTML on the site.</i></p>";
	}
}

add_action( 'wp_body_open', 'bk_announce_naked_day' );
Categories
Church

Palm Sunday

This Sunday marks one week before Easter and so it is Palm Sunday. Usually, we would begin Mass with a more formal beginning—a reading of a Gospel passage of Jesus’ entrance into Jerusalem, the blessing of palms, and a solemn procession.

Due to the circumstances—and in accordance with the Vatican’s decree on Holy Week with the Coronavirus—the full beginning to Mass will not be happening this year.

While we can join with our parishes and our bishops in livestreams, it is also important to act as a domestic church—offering worship within our smallest units of community.

To that end, I put together a brief prayer service we’re going to hold at home this weekend.

Some key points of this liturgy:

  • Procession — My kids love singing and love being active. We will start near our front door with palms. Yes, I ordered a palm altar decoration last week, but historically, churches that could not source palms would use branches of local trees. This seems like a good time to utilize that tradition, so use any branches that you’re willing to have inside! We’ll gather at the front door (inside), bless ourselves with holy water, offer a prayer, and then process through the house with our palms and incense.
  • Readings — We will read, basically, the Sunday readings. The first reading, the psalm, the second reading are the ones for Mass this year. The Gospel will be the one that is said at the beginning of the solemn Palm Sunday entrance. The assigned Gospel is the Passion and, with the kiddos, we are going to just focus on that piece of our faith story on Good Friday.
  • Intercessions — The guide says leader, but I’d like to try to have each of the older girls read one of them.

Nothing fancy and most of it has been pulled with slight adaptations from official texts.

If this is fruitful for your family, please let me know!

Categories
Church Featured

Sundays at Home

We are living in a new time with the Coronavirus. I’m not sure if we’ve ever had a time where public Masses were suspended across the country—maybe during the 1918-1919 flu epidemic—but not within virtually any of our lifetimes at least.

Our technology allows us to livestream Masses from our parishes into our home and I appreciate the comfort that comes from seeing our priests and hearing them.

Without judging anyone who finds following along with a livestream Mass fruitful, it isn’t my bag.

Have I watched Masses on television before? Absolutely. I followed the funeral Mass for Pope John Paul II live from within St. Mary’s Cathedral. I’ve watched liturgies from Rome with three different popes.

But, as the form of Sunday worship, I submit that we have such a breadth of Catholic tradition that we can look to other forms of worship to add to our homes and, perhaps, maintain once we can rejoin our parishes in person.

Why not the Mass?

Personally, there are a few rough edges with a livestream Mass as the primary form of worship.

First, while the Mass is effectual without my presence, when I am watching it on TV or my laptop or phone, I’m not in that presence. I’m watching a video. Do I kneel toward the TV? What am I kneeling toward? Is Christ, in the Eucharistic form, in front of me? Kinda? Maybe?

I’m a techie. I’m a distributed employee. Some of my best friends are work friends who I only talk to via Slack, Telegram, and sometimes on video. I have more beers with my friends via Zoom than I do in person. I’m not a Luddite who rejects technology, but when seeking out the Real Presence of Christ, I do want to be in the presence of the Real Presence.

Second, I fear that reducing our Sunday worship to the television opens the door to us not being active participants in our prayer. When we watch movies or TV or YouTube videos or Instagram stories, we can fall into a trap of being mere spectators. Sometimes, that’s okay, but if this is the form of worship we do, there’s something missing.

Third, we have so much Catholic tradition to draw from! The Liturgy of the Hours! Little Offices, Stations of the Cross. Seven Sorrows, litanies, the Rosary, and so on.

So what instead?

First off, if you find watching the Mass via livestream fruitful, still do it. I’m not saying don’t do it. I’m saying it should be, as the cereal commercials tell us, part of a balanced breakfast prayer practice.

The family is the domestic church. Whether you’re a family of one or of eight, through our baptism, we have been baptized into Jesus’ role of prophet, priest, and king and we have the grace and permission to act as Church within our own homes.

Let’s pray together as a family! Not gathered around a device, but gathered as a family.

The readings from Mass each day are available on the USCCB website. Light a candle, sing songs, offer prayer (something already written or from the heart) and read them as a family together.

Liturgical Press, the Benedictine apostolate from St. John’s Abbey in Minnesota, has released a “Holy Week at Home” guide.

I mentioned our family’s celebration of Night Prayer last week—there’s not only Night Prayer but the whole Liturgy of the Hours. I admit, though, that if you’re starting a home liturgical life, Liturgy of the Hours can be a bit scary. There are a lot of guides online and publications like Magnificat or Give Us This Day provide simplified Morning and Evening Prayer for each day.

This doesn’t mean don’t pray with the community.

I still think listening to the homily from your parish (or elsewhere too) is a great idea. I have a priest friend out of the Archdiocese of Atlanta who is praying the Angelus and Midday Prayer on Facebook Live and Instagram every day. I appreciate this since both parties—the broadcaster and the “viewer”—can fully participate.

While these are trying times, we can use them to strengthen our home prayer life in ways that can continue after we return to our churches.

Categories
Church

Extraordinary Urbi et Orbi

Today, Pope Francis presided over an extraordinary Ubti et Orbi blessing. This blessing, “to the city and to the world”, is traditionally given a couple times of the year on Easter and New Year’s Day. It has attached to it a plenary indulgence. Pope Francis delivered the blessing after the below reflection due to the novel coronavirus impacting everyone around the world.

This is a beautiful reflection. I wanted to pull a few quotes from it, but frankly, the whole read is worth it.

“When evening had come” (Mk 4:35). The Gospel passage we have just heard begins like this. For weeks now it has been evening. Thick darkness has gathered over our squares, our streets and our cities; it has taken over our lives, filling everything with a deafening silence and a distressing void, that stops everything as it passes by; we feel it in the air, we notice in people’s gestures, their glances give them away. We find ourselves afraid and lost. Like the disciples in the Gospel we were caught off guard by an unexpected, turbulent storm. We have realized that we are on the same boat, all of us fragile and disoriented, but at the same time important and needed, all of us called to row together, each of us in need of comforting the other. On this boat… are all of us. Just like those disciples, who spoke anxiously with one voice, saying “We are perishing” (v. 38), so we too have realized that we cannot go on thinking of ourselves, but only together can we do this.