DEV Community

Discussion on: 9 Ways To Speed Up Your Wordpress Site

Collapse
 
lai32290 profile image
Lai Xuancheng

Hi there, I really liked your post, thank you very much, I only have a question about the page builder.
When you're not using page builder, do you create a page on dashboard and then code them in your theme using page-slug.php file?
I don't know what's the recommended way to create a page in WordPress, but I always had a concern about the way that I said before because I seems that I'm binding my theme with page slugs, consequently the URL.

How do you create your pages?

Collapse
 
sebtoombs profile image
Seb

Hey! Thanks for the feedback!

That's certainly one way to do it, but it depends how quickly you need to develop it, and how flexible it needs to be.

An approach you could try instead; look at using page templates. They can be a good way to go if you need specific functionality per page type. I haven't written a post on them yet, would you like to see one?

Hope that helps. If you'd like more in depth, please DM me on twitter @baffledbasti