? ????? ?? ??? ???? Gatsby? WordPress ??? ??? ??? ?????. Gatsby? ?? ? ?? ??? WordPress ????? ???? ??? WordPress ??? ?? ??? ????? ??? ??? ??? ??? ??? ?????.
? ???? ??? ??? ???? ??? ? ??? ???? ?? ??? ??? ???. WPGRAPHQL ? GATSBY CLI? ????? ??????? ?? ???? ?????. ? ????? WPGRAPHQL 0.8.3, gatsby-source-wpgraphql
2.5.1 ? GATSBY CLI 2.12.21? ?????. ?? ????? ?? ?? ??? ??????.
Alexandra Spalato? gatsby-wordpress-theme-blog
? Zac Gordon ? Muhammad Muhsin? twenty-nineteen-gatsby-theme
???? ? ?? ??? ??? ???? ????.
?? ??
?? ??? ??? ?? ?????.
- ?? ?? ? ?? ???? ??. ??? ??? ???? ?? ???? ?????.
- ???? ??? ? ??? ?? ????? ??. ??? ? ????? ?? ??? ? ????.
- ?? WordPress ??. ??? ???? ?? ?? ???? ?????.
?? ???? ?????
? ????? ?? ??? ??? ??? ??? ?? ?? (??????, ???? ?)? ??? ?????. ?? ??? ?? :
- Henrik Wirth? ??? ? Gatsby WordPress ??? ???.
- Jason Lenstorf? Jamstack Migration Tutorial.
- Muhammad Muhsin 's Guide Twenty Nineteen ??? ???.
? ????? Henrik Wirth? ??? ???? ??? ?? ? ACF Flexible Content? ?? ?? ??? ?????.
???? ?? :
- WordPress ? Gatsby ??
- ??? ??????
- ????? ??
- ??? ??? ??
- ???? ? ??
1 ?? : WordPress ? Gatsby ??
WordPress ??? (?? ?? ??, ??? ?? ?? ??)? ???? ??????. ? ????? 20 ?? ??? ?????.
?? ????? ??????
WPGRAPHQL (GraphQL API? ??) ? WPGRAPHIQL (?? ????? ?? ???? ??)? ??????. ? ????? WordPress ???? ?????? ??? ? ????. GitHub?? ?? ?????? ???? ??????. WPGRAPHIQL? WordPress ?? ?? ??? ??? ??? ?????? ?????.
??? ??? ???
?? ???? ???? ?? ??? ???? ????.
Gatsby New WordPress-Gatsby https://github.com/gatsbyjs/gatsby-starter-default
?? ?? ( gatsby develop
)? ???? localhost:8000
?? ??? ???? ???????.
gatsby-source-graphql
????? ???? ??????.
?? Add Gatsby-Source-GraphQL # ?? NPM ?? -Save Gatsby-Source-GraphQL
gatsby-config.js
?? :
module.exports = { ???? : [ { ?? : "Gatsby-Source-GraphQL", ?? : { typeName : "wpgraphql", FieldName : "WPContent", URL : "https://tinjurewp.com/wp-gatsby/graphql"?? ?? ??? ????? }, }, ],, };
?? ??? dotenv
??? ???? ??? ???? ???? ?? ??????.
??? ?? ??? ? WPGRAPHQL API? https://localhost:8000/__graphql/
?? Gatsby? ?? ??? ? ? ????.
2 ?? : WordPress ??? ??????
Gatsby? GraphQL? ???? ???? ?? ???? ?? ???? ????. ???? Gatsby? onCreateNode
? createPages
API? ???? ?? ?????.
?? ??
WordPress ???? ???? ???? ??????. ??? ??? ?? Gatsby pages
???? index.js
? page-2.js
??????.
??? ??
??? ( /src/templates/post/index.js
) ? pages ( /src/templates/page/index.js
) ? ??? ?? :
// src/templates/post/index.js (?) "React"?? React React; "../../components/layout"?? ???? ?? ??; "../../components/seo"?? SEO ?? ??; const post = ({pagecontext}) => { const post = pagecontext.post; ?? ( <layout> <seo title="{post.title}"></seo> <h1>{post.title}</h1> <div dangerouslysetinnerhtml="{{" __html: post.content></div> </layout> ); }; ???? ?? ???;
createPages
API ??
Gatsby? createPages
API? ???? WordPress ????? ???? ??????. ???? GraphQL ?? ? ??? ??? ?????. (??? GitHub ?????? ?? ??? ??????).
3 ?? : ????? ??
WordPress? ????? ??? ??? ?? ? ? ????. ? ????? ?? ??? Gatsby? ???? ? ??? ???.
WordPress? ?? ??
WordPress?? "Primary"?? ??? ???? ????, ?? ??? ? ?? ?? ???? ??? ??????.
??? QL ??
graphiql? ??? ?? ?? ?? :
?? myQuery { menuitems (??? : {location : primary}) { ?? { ?? URL ?? ?? } } }
?? ?? ??
?? ?? ( MenuItem.js
) ? ?? ?? ( Menu.js
)? ?? ??? ???? ?? ??? ?????. (??? GitHub ?????? ?? ??? ??????).
?? ??
Layout
?? ??? Menu
?? ??? ??????. ?? ? ?? ??? ?? ?? ? ??? UniversalLink
?? ??? ??????.
4 ?? : ??? ??? ??
? ??? ??? ????? ??? ??? ??? ? ?? ??? ??? ? ??? ???.
??? ??
blogURI
? ?? ??? ???? ?? globals.js
??? ????.
??? ???
PostEntry
? Pagination
?? ??? ???? ???? ????? ??? ??? ( /src/templates/post/blog.js
)? ????.
?? ? ?? ??
?? ??? ? ???? ???? ?? ???? ???? ?? PostEntry
?? ??? ??????.
??? ?? ??
?? ???? ???? ?? ???? ?? ??? Image
?? ??? ????.
??? ?? ?? ??
Paginated Post? ?????? Pagination
?? ??? ????.
Refactoring createPages
? createPosts
createPages.js
? createPosts.js
Refactor GraphQL ??? ???? ?? ?? ? ?? ?? ???? ??????. (??? GitHub ?????? ?? ??? ??????).
5 ?? : ???? ? ??
? ????? ???? ? ?? ??? ????.
????
????? SASS ?? ?? ???? ??? ??????. @wordpress/block-library
???? WordPress ?? ???? ???? ?? ??????.
??
???? ??? ?? NetLify ?? ?? ???? ??????. WordPress ??? ?? ??? ? ?? ??? Jamstack Deployments ???? ??? ??????.
? ??? ? ???? Gatsby? WordPress? ?????? ??? ??? ?????. ?? ?? ?? ? ??? ??? ?? ? Github ???? ??????. ? ???? ?? ??? ???? ???? ?? ???? ? ???????. ??? ??? ??? ???? ?? ?? ??? ? ??????.
? ??? WordPress ???? ?? ? Gatsby ??? ??? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











CSS? ??? ??? ????? ????? ??? ? ?? CSS? ????? ?? ??????, ?? ?? ? ??? ??, ??? ?? ?? ??? CSS ? ????? ?? ??? ?? ???? ???? ??? ??? ???. 1. ?? CSS? ???? HTML? ?? ?????. 2. JavaScript? ?? ??? CSS ??; 3. ??? ??? ???? ?? ???? ????? ??????. 4. CSS? ???? ???? ??? ????. ?? CSS? ???? ?? ??? ???? Rel = "Preload"?????? ????, ??? ?? ??? ????? ???? ??? ?? ? ??? ???? ??? ?????.

TheBestoproachforcssdspectionseproject'sspecificneeds.forlargerProjects, externalcsSisbetterduetomainabainabainabilitableability ? forsmallerprojectsorsingle-pageapplications, ?? csmightbemoresuitable.it 'scrucialtobalanceprojectsize, ??

???, cssdoesnothavetobeInlowercase. ???, lowercaseisRecomedended for : 1) ??? ? ??, 2) ??? ?? rorsinerrorsinerrorsIngerRorsIngerRorsInteChnologies, 3) ??? ?? ??, ? 4) ?? ? ???? ????.

cssismostlycase-Insensitive, buturlsandfamilynamesarecase-insensitive.1) propertiesandvalueslikecolor : red; anteOtcase-inditive.2) urlsmustmatchtheserver'scase, ?? ??,/images/logo.png.3) fontfamilynames'opens'mustoccase.

AutoPrefixer? ?? ???? ??? ???? ?? ?? ???? CSS ??? ???? ???? ?????. 1. ????? ???? ???? ???? ??? ?????. 2. PostCSS ???? ??, CSS? ?? ???? ???? ?? ???? ??? ???? ??? ?? ??? ?????. 3. ?? ???? ???? ??, ??????? ?? ? ?? ???????? ????? ?? ?????. 4. ???? ???? ???? ???? ?? ?? ????, ???? ?? ??? ?? ???? ???? ????? ?? ???? ?? ????.

CSSCOUNTERSCANAUTOMALLYNUMBERSESSESSENDS.1) USECOUNTER-RESETTIONITIALIZE, CORKENT-INCREMENTTOINCERES, andCOUNTER () ORCOUNTERS () TODISPLAYVALUES.2) COMPINEWITHJAVAISCRIPTORDINAMICCONTENTTOEREACCUTERUPDATES.

CSS?? ??? ? ?? ??? ?? ??? ???? ??, ??, URL ? ??? ?? ????? ?? ?? ??? ?????. 1. ???? ?? ??? ??? ? ???? ?? ?? ??? ??????. 2. ?? 16 ?? ??? ?? ??? ?????, ??? ???? ???? ?? ??? ??? ???? ????. 3. URL? ??? ???? ???? ??? ??? ? ????. 4. ??? ?? ?? (??)? ??? ???? ??? ? ???? ??????? ???????.

theconic-gradient () functionincsscreatescurcular gradientsthattroTecolorstopsaroundacentral point
