Tech breakout summit\/202:[demo] build a modern experience with headlisword press

The headlis WordPress architecture uses the latest JavaScript frameworks (such as react) to create an experience that goes beyond the limits of WordPress. In the following video, learn how the WP engine can help shape the future of WordPress. Video: in this session of building a modern experience with headlis WordPress, Matt landers, the WP engine developer relationship manager, introduced the following: All atlas starts with the code of the WP engine developer website, which is used for the headlis content delivery demonstration. New tools such as Atlas content modeler and content engine, including live site demonstrations using these powerful applications on headlis. I think this really changed the game of headless WordPress. It provides excellent user experience for developers who create types and publishers who want to input content, and has the ability to generate customized content types in an excellent title first way, which is very important for creating an excellent Title CMS. The
Full text script Matt landers: Hello, we are summit 2021. I am Matt landers, the developer relations director of WP engine. In this session, we will demonstrate everything about atlas. So there are no slides. Let’s just look at the code, write some code, and then take a little look at some things that will appear in the future. Therefore, the first thing we should do is to check the headless developer website. Developer Wpengine Com. Let’s take a look at the code and see how to do something on the site. Then, let’s take a look at our new tool atlas content modeler to see how it can be used to perform other operations and build small sites. The
After that, we will take a look at the content engine you heard in the keynote speech. We’ll look at the live site running against it. Then we will talk about what will happen in the future. So, let’s go directly to the developer website and check it. Not bad. This is the developer site. If you haven’t been here, you must make sure. Developer Wpengine Com. There is a link to contact me and my team. For example, be sure to join the discord server and join the community to discuss all the content related to headless. Podcasts are posted every Monday. Please confirm to decode the podcast. We also have a YouTube channel to post video tutorials, blogs and everything else. The
Here, you can see several blogs on the home page. These are just their posts on WordPress. In addition, there are several links to documents above. Now, all these documents are actually located in GitHub. Therefore, we will import the repository headless docs containing a large number of headless documents into the site. Therefore, it is our data source. So we have WordPress, gighhub, and videos from YouTube. These videos now also have custom article types associated with them. That’s what I want to say. It will show how to use atlas content modeler to perform this task, not the way we are doing now. So let’s take a look at how to perform this video tutorial. The
Therefore, if you go to the WordPress side, you will find that there is a custom post type called video. So here.
There are all videos. Therefore, they all have different fields related to them. Video URL, release date, and title. Well, let’s take a look at one. The following are custom content types: There is also SEO data here. The data is then retrieved using a query to WP graphql. This is the query we used in the code to get all these video lists directly from the custom post type. You can create a great data entry environment so that publishers or people trying to edit the data can place projects on the site in a very structured way, which is really convenient. The
This is very common in header lease settings. The way to implement it today is to need several plug-ins. Therefore, wpgraphql extensions for advanced custom fields, custom post type UI, and advanced custom fields are used here. This allows you to create custom content types in the form of custom post types, then add fields with advanced custom fields, and then query them through graphql. Therefore, this is very important for building the headless site. This always happens. However, the experience gained when using these plug-ins is not ideal now. Therefore, if you want to go to the custom post type UI, you must come here. I imported my video article type and have all the extra data here, but I really don’t care. It doesn’t matter in the hedris world The
You can then add it to graphql and specify the name of the post type and the names of all these items. Therefore, these connections are broken between the traditional use of custom post types in word press and the need to execute in untitled schemes. You must then navigate to my custom fields and create a set of custom fields associated with my custom post type. So now I work in two different places. Therefore, you may find that this is a slightly disconnected experience. What I really want to do is create a data model for my custom post type, and then create a good way to input data. The
So it works. And it can be done today. Used on all headless sites. Really recommended. For how to create custom content types, you can view some videos on our website. It will guide you through all the necessary plug-ins and use them to demonstrate how to build your site from scratch. So if you want to learn more about how it works, make sure. But now, let’s go to the site and see how it translates. Therefore, we will complete these video tutorials. It will get the first 3 of the home page. Then click more or more to see everything. Now, let’s go to the code and see how it works. The
Now, it is in the code of the developer site. You can see me on the video page. So this will show me a list of videos. The query you just ran is in the graph editor. Then, the react component will be placed at the location of the imported data. By default, what we need to do is to use the headless framework and get the Apollo client. We execute that query here. We can then – and then use this data in the component. This is the method that can be obtained from here. Create the same query inside the client or component. Therefore, this can also happen on the server side. The
So how does the framework work
. I am very excited about everything about headless WordPress in wpengine. Then, use the appropriate content modeler and provide feedback. I really appreciate it. And we’re excited about playing that game in all other directions. Thank you for coming to this meeting. Then go there and build a beautiful headless WordPress website on atlas. And the code of happiness.

Author:

Leave a Reply

Your email address will not be published. Required fields are marked *