Setting up the Local Gatsby Site

Now that I’ve gotten the WordPress install that will serve as the data source, the next step is to get things working locally. I got into my cloned repo by opening it in VS Code (by dragging that whole directory over the VS Code logo in my dock) and typing control + ~ to open […]

Running into Trouble

This post is about the problem with trying to learn (or trying to teach) a new framework that is constantly evolving. Here’s what I have experience with: Deploying a Gatsby site from GitHub using Netlify to a example.netlify.com address As of this install that I am documenting now, setting up a headless WordPress installation locally. […]

Adventures stumbling through React/Gatsby

The sample theme I am using puts a link at the bottom of each single post with a “Leave a comment” link, but on the file at packages/gatsby-theme- tabor/src/templates/posts/single.js there’s a comment with at TODO to make comment functionality work. That’s far above my head on a static site at this point, so for a […]

Deploying to Netlify

After I got the issue sorted out with Netlify failing to deploy, the next step is to set up a way to deploy that doesn’t involve manually triggering a deploy at GitHub. For future me, here’s how it works: Netlify runs a build and deploy step that is automatically triggered by any merge to master […]

Drama with the links

For all intents and purposes, this site is ready to share with the world. The only glaring thing is that the links in the social share bar (which populates on scroll-up of an individual post page) are still linking incorrectly. Jason Bahl was gracious enough to hop on a call with me and showed me […]

Solving LinkDrama

I think for now I’ve got the link drama solved. First, following Jason’s excellent advice, I changed the site URL in the settings. Then everything was working, except for the /blog/ was missing from blog posts. I can either solve the problem from WordPress’ side, where I am familiar, or Gatsby’s side, where I am […]

Post Order Corrected!

In order to get the post order correctly sorted (so that the oldest post appears first on the home page) I added this line to the WPGraphQL query on the createPosts.js file: That’s added within the wpgraphql{posts() portion of the query. That has resolved the issue on the home page, now I need to figure […]

Next Post Next!

Now that I’ve got the post order on the home page correct, I wanted to be able to have the social share/next post bar on the bottom of single posts actually direct to the next post instead of the previous one. Turns out that’s as easy as changing a + to a – in the […]