distilagency / koval Goto Github PK
View Code? Open in Web Editor NEWWordPress Gatsby
License: MIT License
WordPress Gatsby
License: MIT License
WMT verification achieved via HTML requires the string
google-site-verification: google87cf63255d10c540.html
available on the url www.example.com/google87cf63255d10c540.html
We have previously done this via proxy. Can also be done via HTML file upload.
"Looks like you're lost. You can log into your WordPress backend here"
Show login button
LSEP characters have been popping up on recent builds. These don't show up on Mac but are shown on Windows computers. They also display on Android as an unloaded character. Unfortunately in previous instances the client has been the first to notice this issue, as they are possibly the first user to see the website on Windows.
We need to figure out where in the process these are being loaded, somewhere in the way we are adding/copying content onto the website. From there we need to figure out a way to stop this from occurring.
{
resolve: 'gatsby-source-wordpress',
options: {
...
// Search and Replace Urls across WordPress content.
searchAndReplaceContentUrls: {
sourceUrl: `${WORDPRESS_PROTOCOL}://${WORDPRESS_URL}/`,
replacementUrl: '/',
},
...
},
},
Add the following fields under an SEO tab in WordPress 'Web App' settings
defaultMetaTitle,
defaultMetaDescription,
openGraphImage,
logo,
twitterUsername
Make it easier to work with
https://www.gatsbyjs.org/docs/ssr-apis/#wrapPageElement
Add gatsby-ssr.js to root of koval and the above apis should become available.
Example:
const { renderToString } = require("react-dom/server")
exports.replaceRenderer = ({ bodyComponent, pathname }) => {
const bodyHTML = renderToString(bodyComponent)
console.log(pathname);
console.log(bodyHTML);
}
Netlify build status labels:
Add a 'Rebuild Site' button, to trigger a Netlify webhook to rebuild site.
SEO audit uncovered that the SEO helmet is still returning wp. for images. ie. social share images.
Add the below code to netlify.toml
[[redirects]]
from = "/feed"
to = "<WORDPRESS_URL>/feed/"
status = 200
force = true
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.