Hello Gatsby
Today I publish gatsby static site at https://blissful-mcnulty-5669ea.netlify.com/.Really nice to build and connect gatsby static sites with dynamic WordPress. 🙂
Hello GreenSock
GreenSock is an awesome animation library. I will say hello to GreenSock with the react app.
Custom WordPress REST API
Currently, I am using wpdb plugin boilerplate. For this quick experiment, I create a plugin name with code
Setup for Gutenberg Block
Create a folder named guten-awesome in /wp-content/plugins/. Inside guten-awesome folder creates a starting file for our plugin. It can be any name. Which file has plugin header, this would be the main file. For simplicity, let it plugin.php
Installing VVV
VVV ( Varying Vagrant Vagrants) is a 10up.com creation to easily setup WordPress environment. VVV includes long list of development tools that will be time consuming and complex to set up manually. Currently, by installing VVV we will get 25 tools.
Start Gatsby with WordPress
Gatsby is now a day’s roar in the progressive web app. In this post, we will develop a workflow to integrate Gatsby with WordPress. To integrate WordPress with Gatsby, the first step is set pretty permalink in WordPress. This enables us to use RESTful API from Gatsby app.
Finish this React application and future plan
This is the last part of Create react app with GraphQL way of WordPress data In this finishing part, we build this application for production and plan for the next development workflow. Building an application with the help of npm is pretty simple. Run and upload the files in the build folder in the server. You … Continue reading “Finish this React application and future plan”
Post Component in React
This is the sixth part of Create react app with GraphQL way of WordPress data In this part, we will develop a Post component for our application. But, before diving in this, we will develop a Loading component for seeing landing or search status in our application. Let’s dive into Loading component development.
PostWidget component in React
This is the fifth part of Create react app with GraphQL way of WordPress data In this part, we will develop PostWidget component and a small edit of src/components/AppRouter.js
Posts component in React
This is the fourth part of Create react app with GraphQL way of WordPress data In this part, we will develop Posts component at src/components/Posts.js
App Component in React
This is the third part of Create react app with GraphQL way of WordPress data In this part, we will build the App component at src/components/App.js Here kick on styled-components. And we use Posts and PostWidget component here. For that, we can introduce props.
AppRouter setup with React, GraphQL, WordPress App
This is the second part of Create react app with GraphQL way of WordPress data In this part, we will build src/AppRouter.js. We will use { BrowserRouter, Route, Switch } from react-router-dom. We will use ApolloClient and {gql} from apollo-boost package to connect React with Apollo. And import milligram CSS.We will use the App component here. … Continue reading “AppRouter setup with React, GraphQL, WordPress App”
Setup for React front-end with GraphQL to fetch WordPress back-end
This is the first part of Create react app with GraphQL way of WordPress data Download WP-GraphQL from https://github.com/wp-graphql/wp-graphql and rename it wp-graphql. Install it in WordPress and active this plugin as usual. Then, visit If it shows a page of error, then confirmed wp-graphql plugin works.
Create react app with GraphQL way of WordPress data
I am not going to compare REST vs GraphQL. As a silly Web developer, it is out of my boundary. If you are curious about this comparison, here are some good resources I found – https://blog.pusher.com/rest-versus-graphql/ https://www.imaginarycloud.com/blog/graphql-vs-rest/ Also, GraphQL is topics in WordPress now-a-day.https://kinsta.com/blog/wordpress-revolution-with-graphql/ You can find some other article about this tech war. Anyhow, … Continue reading “Create react app with GraphQL way of WordPress data”
Create a react application with WordPress Rest API
Assume, create-react-app installed. Otherwise, follow https://mrinalbd.com/start-adventure-with-react/ Install brand new app with bash command. Then, change directory and npm start with following command App will start at http://localhost:3000/
Start adventure with React
Install First, we have to check our environment has node, npm and create-react-app tools available.Type in command prompt/terminal to check node is available. If not available grab it from https://nodejs.org/en/. Just need to install it. Nothing else.Then, check npm is available with If it is not latest (5.2+) or broken type Hit enter and check … Continue reading “Start adventure with React”
Amazing travel with WP-CLI
WP-CLI is a great tools for develop and manage WordPress site without hassle. Install WP-CLI Before drive a bus, first need driving license. So, to use WP-CLI, install it in computer. I am using it on Ubuntu 16.04 operating system. LAMP stack and default terminal will fit for this. Open old, fat, big, black TERMINAL. … Continue reading “Amazing travel with WP-CLI”