We are a shop based out of Alaska with a little too much work. We specialize in Wordpress sites and headless Wordpress sites.
We are looking to have someone expand upon a NextJS starter that utilizes wordpress/acf for data.
[login to view URL]
Out of the box this actually about does everything we need it to pretty well but we have a few issues that we also ran into with Gatsby that we need to be ported over or could be handled differently.
UPDATED: BRIEF VIDEO - This explains in detail, the details below.
[login to view URL]
Our first issue is one I actually made a discussion with in the repo but it deals with getting the Advance custom field image URL returned back from graphQL, it will always return an ID no matter what its suppose to return, so we need to but a function to grab the ID then loop through a collection of images to spit out the correct image or multiple images (lets say you have a repeater field). I have a way we handle this in Gatsby I can send over as im more than certain it would be roughly the same process. But if you use their ACFMediaText block inside Gutenberg the image doesn’t display on the front end. so we just want to make sure the image displays and if you use a repeater it displays all images. I actually made a discussion for this hoping someone who made it would have a quick fix we could slide in but no word.
The next thing we need to figure out may be simple or overly complex for what it is, but we just need to figure out is just global option pages in ACF, getting the data and making it available globally IF something is there if not returning null is fine, Gatsby is a real jerk about returning empty things, im not sure if Next is the same.
An example of this would be an Alert block someone in Wordpress could toggle a checkbox to on, then type in text like “24 hour sale, 25% off coffee tables”. With a link to a page. One thing on this is id love documentation on this (just commented code) as we will have a junior more than likely made about 20 of these options.
So those are the first two tasks we have and I think a good test run. I will more than likely have more as we start to review but this project will have quite a few things as we will have blocks consuming an API’s data we made that users will be allowed to select categories, etc. It won’t be fun pretty work as we will leave client facing stuff to a front end guy in house that will work with the client but there will be some tasks more than likely constantly if this type of work interests you.