olivetree Posted yesterday at 05:57 AM Share Posted yesterday at 05:57 AM Hi I'm currently building my website with PW (a few pages and templates) and I'm wondering what's a way to integrate a blog function with categories and tags so tha I'm not limited in terms of functions and I can expand my website. There are so many possibilities and ways to do this in PW. What are your experiences or tips for me as a beginner to realise blog functions? Many thanks Link to comment Share on other sites More sharing options...
virtualgadjo Posted yesterday at 09:28 AM Share Posted yesterday at 09:28 AM Hi, having made a few websites with blog/news or so parts, i would say that before chosing the way you'll do that with pw, there are a few question toi ask yourself first one, probably the most important one when it comes to structure, will your articles belong to only one category or will they be allowed to belong to more (as soon as it is two, think n 🙂 kind of a way of life, one is one, two is n 🙂 ) the second one, how do you want to - display the articles, lazy loading, pagination - select the article by category, isotope (or equivalent) or url segment - sub question, will you allow complex selections (articles belonging to more than one category at once, and so on...) once you know the answer to those little questions it will be far easier to decide you pages structure in pw and/or the kind of fields you'll need to categorize your blog articles, actually there is no limit in pw, the only one you could run into is something you hadn't thought about before deciding the structure 🙂 have a nice day 1 Link to comment Share on other sites More sharing options...
AndZyk Posted yesterday at 10:18 AM Share Posted yesterday at 10:18 AM Hi @olivetree, my preferred structure is one template blog or news which contains children with the template post. Inside this tree I have two trees for categories and tags. Every post has two page references fields to reference one or multiple categories and tags. So it would look like this: Blog Post 1 Post 2 Post 3 ... Categories Category 1 Category 2 Category 3 ... Tags Tag 1 Tag 2 Tag 3 ... You could also use URL segments for shorter urls, f.e.: blog/categories/category1/ => blog/category1/ You can also enable a pagination or comments. Of course you can choose a different structure if you want to. 😀 Regards, Andreas 2 1 Link to comment Share on other sites More sharing options...
olivetree Posted 1 hour ago Author Share Posted 1 hour ago Many thanks @virtualgadjo and @AndZyk for your inputs. In fact I thought I would build my blog structure in a very simple manner, but both your input showed me, that thinking about structure is well worth! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now