 Hello and welcome everybody Today, I'm going to give you a short overview on why your content might be trapped and how you can save it So let's get started When you first get to know WordPress the first thing you usually get to know is the editor For everybody who has ever used the desktop operating tool like M's work before this should be a pretty familiar interface You get immediate visual feedback of what is happening and it also looks mostly the way it will look on the front end But this is I mean, this is also one of the reason why it's probably so so easy to get started with WordPress but With everything easy and self-explanatory there are of course also some downsides So if you put all your content in the editor Everything ends up in one huge amorphous blob and then it is kind of trapped in the post-content field But why is that an issue? Let's have a look at an example So imagine you have this very simple portfolio website where each project has its own page And it's very basic just have a title the description and the name of the project manager for that project below So how do we do that in WordPress? Well, I mean you just create a new page type the description in and the editor put the name of the project manager below and you pretty much done and There works but now imagine that this site already exists for quite some time and you've already created a lot of those project pages and Now one of your project managers marries and therefore her second name changes And you want to have that on the website and update all the project so it has a new name How do we do it? Well, I mean you just open the page. It's just some text you change change the name for safe and you're done oh Wait, and then you realize you got to do that for all the other pages as well Which is a pretty tedious manual process of going through all the pages and changing the name and And in that process you also realize that when you type one a name so many times obviously typos happen And all of this gets you thinking this can really be the most effective way to go about all of this So let's give it some more thought So actually each person can only exist once so When one of those project pages is mentioning Jane The page is always talking about the same person right so What if instead of writing her name independently and repeatedly all over the website? We only created the person once and I only referenced it from all those project pages If we did that we we could only we would only need to change that personal details once and it gets automatically updated everywhere So how can we do that with workers? For a very simple example I'm gonna I just gonna reuse the workers users and create a very very basic short code That does nothing else than when you give it the ID of a user it outputs the name of the workers user it refers to and If we now replace the names with those short codes We're going from duplicate content spread all of our websites to a reference-based approach and Now we only we change the name once and it gets updated everywhere and just saves us a lot of time and Therefore improves the maintainability of our website enormously But we can still do better So up until now we've only put the name of the project manager at the bottom of the page by convention or now the short code at the bottom of the page and What if somebody isn't aware of that convention and for example puts the name on top of the description Also, what if we want to move the name? Maybe put it on top like globally for all the project pages after the fact Again tedious manual process of going through all the pages and moving the short code so what if instead of Instead of using a short code we added the the reference to the project manager or the workers user in that case As a custom field or post-mata to the project page By doing so we can hand over the The job of outputting the name at the right spot to our template and Now we have separated the content. What is the project manager's name? From the presentation. Where is the project manager's name shown on the page? And once the position is defined in the in the template We can also easily move the name for all the pages just by changing our templates And it automatically updates on all the project pages without any manual work So okay, it was a lot of information. Let's do short recap. So of what we have done. So first of all When we use references instead of duplicate content We only need to do changes once and they get updated everywhere. We have reference that content second when we separate contents and presentation Where the raw content goes in the database and the presentation is defined in theme We can now independently change content and its display without affecting each other and Finally, we're now also enforcing content structure and presentation Which among other things helps us keep consistent and clean Website and the great thing about all of this is that it works no matter if we're talking about 10 or 10,000 pages Although of course the bigger the site the more time it saves us But what is really important about all of this is that it's only easier if done from the very beginning Once you've matched all your content together inside the post content. There's really no easy way out again so think about that from the very beginning before you start building your website and Very simply put that is what you can call content architecture thinking about the structure of your content before creating it Okay, so thanks a lot for listening I know that my example was very simplified in reality You'd probably use custom post types and custom taxonomy and create a nice UI for all of this but I think I'm already short in time, so I hope you still got my point and Yeah, if you have any further questions, I'm gonna be at the happiness bar right afterwards and Feel free to talk to me anytime for the rest of the work and and yes Thanks again for showing up and enjoy the rest of work You