Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Harness The Power Of ACF For Gatsby and WordPress

221 views

Published on

Harness The Power Of ACF For Gatsby and WordPress

Javascript for WordPress Conference ( js for wp )

Published in: Software
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Harness The Power Of ACF For Gatsby and WordPress

  1. 1. Harness The Power of ACF for Gatsby and WordPress @imranhsayed
  2. 2. To BE COVERED Main points of discussion ⩥ Why use Gatsby with WordPress? ⩥ Gatsby Theme for Decoupled WordPress ⩥ Real world project example. ⩥ Challenges when build custom home page with Gatsby WordPress Theme ⩥ How do we solve those challenges? ⩥ Free Example theme with the implementation.
  3. 3. ⩥ Free and open-source ( Both Gatsby and WordPress ) ⩥ Blazing fast ⩥ Secure ( no direct connection to the database ) ⩥ Development Experience ( Use modern front-end libraries like React, GraphQL ) ⩥ Content Mesh - ( Pull content from many sources ) ⩥ Content Migration is easy. Why Gatsby with WordPress
  4. 4. Decoupled architecture Gatsby WordPress Theme WordPress wp-graphql
  5. 5. Using GUtenberg for content creation
  6. 6. Open web Demo
  7. 7. Custom Fields
  8. 8. ⩥ Require custom data ⊳ Selectable and sortable featured posts. ⊳ Relational data ⊳ Taxonomies ⩥ Pages have interactive elements When do we require Custom fields?
  9. 9. Challenges in creating custom Pages
  10. 10. ⩥ Write code to create meta fields ⩥ Register Type by extending WP-GraphQL plugin ⩥ Time consuming
  11. 11. Solution?
  12. 12. WordPress Backend Front page
  13. 13. Repeatables & flexibility ACF Repeatables & Gallery Fields
  14. 14. Gutenberg + ACF blogs
  15. 15. Hybrid pages Dynamic + Static
  16. 16. How do we query ACF fields in Front end?
  17. 17. Wp-graphQl-ACF exposes ACF fields to the WPGraphQL Schema
  18. 18. wp-graphql-acf
  19. 19. wp-graphql
  20. 20. wp-graphiql
  21. 21. Install & Activate the plugins on Wordpress
  22. 22. How do we use ACF with GATSBY? Demo Theme
  23. 23. Image Optimization
  24. 24. ⩥ gatsby-transformer-sharp ⊳ Creates ImageSharp nodes from image types and provides fields for processing your images in a variety of ways including resizing, cropping, and creating responsive images. Image Optimization plugins - sharp library
  25. 25. ⩥ gatsby-plugin-sharp ⊳ Helper plugin that exposes several image processing functions built on the Sharp image processing library. ⩥ gatsby-source-filesystem ⊳ Sources data from your local filesystem and creates File nodes from files. Image Optimization plugins
  26. 26. ⩥ gatsby-plugin-graphql-image ⊳ Traverses a grapqhl schema sourced from the gatsby-source-graphql plugin and generates file nodes for use with gatsby-plugin-sharp and gatsby-transformer-sharp. Image Optimization plugins
  27. 27. Gatsby-plugin-graphql-image - query
  28. 28. Gatsby-plugin-graphql-image - query result
  29. 29. Gatsby-plugin-graphql-image - query result
  30. 30. SEO WP-GraphQL Yoast SEO
  31. 31. References ⩥ https://github.com/imranhsayed/gatsby- wordpress-themes ⩥ https://github.com/wp-graphql/ ⩥ https://github.com/wp-graphql/wp-graphql-acf ⩥ hello@rtcamp.com
  32. 32. I am Imran Sayed Full Stack Engineer @rtCamp You can find me at @imranhsayed on twitter Thank YOU!

×