Skip to content

Birgir Erlendsson (birgire)

Just another Earthling cruising the Milky Way galaxy

  • Home
  • PluginsExpand
    • Geo Query
    • WP Combined Queries
    • A simple plugin to run JetPack locally
    • YouList
    • Playlist shortcode with external audio or video files
  • Articles
  • Contact
  • Privacy Policy
Birgir Erlendsson (birgire)
Just another Earthling cruising the Milky Way galaxy
  • How to add an HTML wrapper to a custom Block Pattern
    ReactJS WordPress article WordPress snippet

    How to add an HTML wrapper to a custom Block Pattern

    Block patterns are registered with: If we wrap the …pattern… with a div tag: it will show up as a classic block in the editor. To avoid that, we can use the group block as an out of the box pattern wrapper with a custom class mywrapper: Theoretically one can use the custom html block as a pattern,…

    Read More How to add an HTML wrapper to a custom Block PatternContinue

  • Dimmuborgir / Iceland
    WordPress article WordPress plugin WordPress snippet

    Simple Block Type Search Plugin

    To make things easier to locate the posts that contain a given block type, I’ve created a plugin that adds a dropdown filter for registered block types, under each list table in the admin.

    Read More Simple Block Type Search PluginContinue

  • Birdspot.is (v2)
    ReactJS

    Birdspot.is (v2)

    A site for birdspots in Westfjords, Iceland. In cooperation with nave.is. Written in ReactJS. The second version of the project is to show birds data from eleven new locations, available in Icelandic, English, Spanish and German. It now only displays birds when they can be seen.

    Read More Birdspot.is (v2)Continue

  • Combined Query – version 1.2.0
    WordPress plugin

    Combined Query – version 1.2.0

    Updated the WordPress plugin – Combined Query

    It’s a plugin that combines multiple WP_Query() queries into a single one.

    Read More Combined Query – version 1.2.0Continue

  • Tunnur.is
    SvelteJS

    Tunnur.is

    Tunnur.is – Tunnuvaktin is a web app, made in SvelteJS and Google Spreadsheets, that shows when the household waste bins are collected in each district of Reykjavík City. One can save custom districts and it will be displayed at the top of the page: Details for each district are displayed in a modal: Help modal:

    Read More Tunnur.isContinue

  • Birdspot.is (v1)
    ReactJS

    Birdspot.is (v1)

    A site for birdspots in Westfjords, Iceland. In cooperation with nave.is. The first phase of the project is to show birds data for five locations, available in Icelandic, English, Spanish and German. Written in ReactJS. birdspot.is Version #2 now has new locations

    Read More Birdspot.is (v1)Continue

  • Fix for WordPress multisite problems in version 4.7
    WordPress snippet

    Fix for WordPress multisite problems in version 4.7

    This has been fixed in 4.7.3 After upgrading from WordPress multisite 4.6.3 to 4.7.2, I experienced that users: were not able to preview drafts – Not found 404 status have to log into each subsite separately can’t logout because of 403 status from wp_nonce_ays() (ays = are you sure) admin bar not visible on the…

    Read More Fix for WordPress multisite problems in version 4.7Continue

  • Adding A Stats Column For Jetpack
    WordPress article WordPress plugin

    Adding A Stats Column For Jetpack

    A feature that I feel is missing from JetPack, is an easy way to view stats for each post. The data is available there, so we only have to link to it. Here’s an example for post ID 549: http://example.tld/wp-admin/admin.php?page=stats&view=post&post=549 We can use the chart bar dashicon to display it: There are other icons available,…

    Read More Adding A Stats Column For JetpackContinue

  • Adding a section to the Omnisearch in Jetpack with a custom posts search
    WordPress article WordPress-snippet

    Adding a section to the Omnisearch in Jetpack with a custom posts search

    Let’s say we need to add an extra section to the Omnisearch in Jetpack with a custom posts search. Like shown in this screenshot: where I’ve moved the custom section to the top with: for better visibility. Instead of extending the: class, I prefer to extend the: class to simplify things, where we only need…

    Read More Adding a section to the Omnisearch in Jetpack with a custom posts searchContinue

  • How to allow audio files with GET parameters in the audio shortcode?
    WordPress snippet

    How to allow audio files with GET parameters in the audio shortcode?

    There’s an interesting question on WordPress Stackexchange regarding the audio shortcode . It looks like it doesn’t support sources with GET parameters. Here are two examples: 1) Without GET parameters the audio player displays: where the shortcode is: http://s.w.org/images/core/3.9/JellyRollMorton-BuddyBoldensBlues.mp3 2) With GET parameters it only shows the audio link: where the shortcode is: http://s.w.org/images/core/3.9/JellyRollMorton-BuddyBoldensBlues.mp3?play=1 I…

    Read More How to allow audio files with GET parameters in the audio shortcode?Continue

Page navigation

1 2 Next PageNext

WordPress

I have volunteered to the WordPress community on core contributions, as a core component maintainer, general translation editor for Icelandic, answering questions and open source development. Working with WordPress since 2.1 in 2007. Core contributor in WordPress 4.1, 4.3, 4.4, 4.6, 4.7, 4.9, 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6., 5.7, 5.8, 5.9, 6.0, 6.1, 6.2. Noteworthy Contributor in WordPress 5.1, 5.2, 5.3 and 5.4

profile for birgire at WordPress Answers, Q&A for WordPress developers and administrators

My patches on core tickets that are still open

My wordpress.org profile

My 1400+ answers on WordPress Developement on StackExchange

My 428 answers on WPQuestions

My GitHub projects

Donate

Here you can support my open source development or if any of my answers helped you:

buymeacoffee.com/birgire

support

Thanks :)

WP Core Contributions

  • [60644] Users: Remove deprecated user contact methods. The three default ...
  • [60492] Taxonomy: Filter the arguments passed into `wp_dropdown_categories()` ...
  • [59883] Embeds: Add support for youtube-nocookie.com domain. This adds Embed ...
  • [59473] Media: improve filter to enable setting output quality by image size. ...
  • [55248] Query: Add a `search_columns` argument to control which fields are ...
  • [54378] Administration: Remove private delegation from list tables. Remove ...
  • [53934] Media: Account for Windows when normalizing file paths. Previously, ...
  • [53088] Taxonomy: Show error message for terms without a name. Display an ...
  • [52194] Posts, Post Types: Use global post as the default for ...
  • [52190] Media: Add support for v1 and v2 gallery block in ...

View all 254 tickets on Trac.

Recent Comments

  • Jenny Barrios on WordPress: Playlist shortcode with external audio or video files
  • Birgir on Adding A Stats Column For Jetpack
  • AWD on Adding A Stats Column For Jetpack
  • Birgir on Adding A Stats Column For Jetpack
  • Douglas Karr on Adding A Stats Column For Jetpack

WordPress Plugin snippets on GitHub Gist

Single Day Posts Export

Enhance the native XML export – with a single day selection.

WooCommerce Product Attributes – Bulk Modifier ( from custom to taxonomy attributes)

Bulk update ‘custom product attributes’ to ‘taxonomy product attributes’.

Sponsor Posts Injector

This plugin helps you to automatically inject sponsor posts into the loop. You must use custom code to start the injection. See the example.
Ping Screenshots Capture

Ping screenshots capture generation using an hidden iframe only once for published posts

Term Editor Search Field

Adds custom search fields to the term editor.

Extend the tag search

Search for name, slug or description in the tag search in /wp-admin/edit-tags.php?taxonomy=post_tag.

Quick Search Menu Enhancement

Search for name or description in the quick-search for tags in the menu editor

 

 

© 2025 This site is free of analytic trackers!

Scroll to top
  • Home
  • Plugins
    • Geo Query
    • WP Combined Queries
    • A simple plugin to run JetPack locally
    • YouList
    • Playlist shortcode with external audio or video files
  • Articles
  • Contact
  • Privacy Policy