Porchy Web Development
  • Services
  • Blog
  • Site
  • Contact
  • Shortcodes? WP Blocks? Server side rendering?

    I have a Prism.js block that I quite like, it’s part of a series of goofy ass Gutenberg blocks I made so long ago they probably don’t even work anymore. They’re working again. Most of it was Gutenberg backwards compat breaks, some was other back compat breaks, some was forgetting what I did in the…

    all of the things, developers, WordPress
    September 21, 2019
  • Playing around with WP, Gatsby and Netlify

    This should be a nice explanation of what I’m doing but it’s not, I just wanted a different post at the top of the home page. 💖✨👍 Repo here https://github.com/tharsheblows/gatsby-test

    all of the things, developers, Gatsby, WordPress
    September 18, 2019
  • Using Gutenberg blocks in place of custom metaboxes in WordPress

    Custom metaboxes are used extensively in WordPress for layout purposes as well as data structure. However, they don’t necessarily — in fact they rarely — save to the meta key’s array of objects when they’re added to the WordPress REST API and can’t be used by Gutenberg’s built in meta attribute. How can we use Gutenberg with…

    all of the things, developers, out of date, WordPress
    April 23, 2018
  • register_meta(), register_rest_field() and the WP REST API

    There are two standard ways to add additional data into a post’s object in the WP REST API: register_meta() for post meta which is a string, number or boolean and register_rest_field()for everything else. There’s a bit on the difference between the two in the REST API docs. With Gutenberg, register_meta() is being used more widely and there’s…

    all of the things, developers, WordPress
    April 18, 2018
  • Iterating over an array of objects which I desperately want to be reactive in Vue.js

    [a note to my future self from my current self as of 17 April 2018: are you here again? Is there definitely a unique key on that loop? Are you sure? GO PUT ONE ON NOW. Use the uuid package, it’s easy. Then come back if it still doesn’t work.] This took me a while yesterday…

    all of the things, developers
    April 10, 2018
  • “This block has been modified externally” notice of death in Gutenberg

    This notice drove me insane, especially because I couldn’t quite figure out what was being compared. It turns out it’s that the save function in registerBlockType() compares its return value to whatever is between the block’s html comment tags in the database.

    all of the things, developers, WordPress
    April 9, 2018
  • The Mandelbrot set visualised in golang

    [note on 07 April 2018: I wrote this in late September 2017 but never published it. I think it’s not finished but useful up until that point so I’m publishing it now] This is a deeper dive into the Mandelbrot exercises in Chapter 3 of The Go Programming Language (Addison-Wesley Professional Computing Series) (that’s an affiliate…

    all of the things, developers
    April 7, 2018
  • New Year’s Resolutions

    Writing them down for posterity.

    all of the things, not tech related
    January 6, 2018
  • Using Select2 with ajax with CMB2 repeating groups

    No idea if the title makes sense. I wanted a Select2 which uses a remote data source queried via ajax with a CMB2 repeating group so made a plugin to understand it better. It’s pretty heavily commented so I don’t forget why I did what I did. There are definitely a few if not many…

    all of the things, developers, WordPress
    January 3, 2018
  • Using custom tables with CMB2

    This is more straightforward than I expected (yay thank you @jtsternberg). The short of it is to add a filter to cmb2_override_meta_value or cmb2_override_{$a[‘field_id’]}_meta_value to get the data and cmb2_override_meta_save to save it. But what if I have a repeatable group huh? What then?

    all of the things, developers, WordPress
    December 27, 2017
←Previous Page
1 2 3 4 5 6
Next Page→
  • WordPress
  • LinkedIn
  • GitHub

Porchy Ltd is a company registered in England, no. 12035925

VAT Registration no. 331196421

Manage Cookie Consent
Cookies are used on this site for analytics but do not gather personal information.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}
Manage Cookie Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behaviour or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}