Porchy Web Development
  • Services
  • Blog
  • Site
  • Contact
  • Fix git error “fatal: detected dubious ownership in repository” in Docker

    TLDR: The most reliable way for me was to set the correct safe.directory using environment variables in the appropriate Dockerfile like so: Documentation on these environment variables and the config file is here. What happened? I’ve been idly working through setting up a local environment based on XWP’s VIP Site Template. When I went to…

    all of the things, developers, WordPress
    May 8, 2025
  • xdebug setup for VS Code in WooCommerce development

    This is for contributing to WooCommerce development here not developing client sites with WooCommerce. configuration in launch.json start xdebug with wp-env

    all of the things, developers, WordPress
    June 29, 2022
  • Updating Webpack to use WordPress editor blocks (Gutenberg blocks) on the front end (part 4 of 4)

    Getting blocks running on the front end is, or should be, mainly a matter of updating Webpack to create the script to run on the front end, then enqueuing it so it does. However, I’ve always found it requires some fixing of things that don’t work quite right together, that I’ve misnamed or otherwise mismatched…

    all of the things, developers, WordPress
    March 3, 2021
  • The Click Game

    The click game. I’m including this now because I would like to test it before the last post on how to make it. 😬😊

    all of the things
    February 9, 2021
  • Filter the content to put an Gutenberg editor block’s attributes on the front end (part 3 of 4)

    On the front end, I need access to the block’s attributes so I can use those in building the front end block. Instead of rendering the block as normal (either as a dynamic block or saved html), I’ll put in a filter to render something which looks like this:

    all of the things, developers, WordPress
    February 4, 2021
  • Setting up wp-browser with WPWebDriver for full site acceptance testing (notes for my future self)

    These are my notes on getting WPWebDriver in wp-browser set up to work for me. They supplement rather than replace the wp-browser documentation. If you are having issues and haven’t started there and followed the directions, I highly recommend doing that first. Inifinum also has a super helpful section on setting up wp-browser.

    all of the things, developers, WordPress
    February 3, 2021
  • Building the click game block (part 2 of 4)

    This is to separate out the building of the block and adding it to our scaffold. The front end will not be reactive yet, however it’d be nice to go ahead and add that in to the back end so we can see it in action.

    all of the things, developers, WordPress
    January 31, 2021
  • Using a scaffold to build Gutenberg blocks for the WordPress editor (part 1 of 4)

    Block scaffolds are being created, updated or going out of date at a regular rate these days as developers figure out what works best for them. So instead of making a recommendation on which one you should use, I’m going to tell you what I looked for – what was important to *me at the…

    all of the things, developers, WordPress
    January 27, 2021
  • WooCommerce Subscriptions: not able to purchase subscription after failed payment [edited on 2021-01-27]

    This is a workaround and fix for the following situation which occurs in recent versions (<3.0.12) of WooCommerce Subscriptions. When purchasing a subscription which is limited to “any” (ie a user can only have one subscription of any status), the user cannot pay for a failed order as the subscription product gets removed from their…

    all of the things, developers, WordPress
    January 13, 2021
  • Adding Gutenberg / WordPress editor blocks to the front end

    People love to play with a little web app on a site. Quizzes, small games, anything to take a break for a minute or two. Wouldn’t it be great to be able to add and edit these in the WordPress editor then reuse the React components on the front end? Yes! The answer is yes.…

    all of the things, developers, WordPress
    January 9, 2021
1 2 3 … 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}