• I’d like to let my users to freely chose the Page where the want their Posts appear.

    My understanding is that 1)I can set the page for EVERY Post on my Admin dashboard; 2) There several plugins which can display Posts on Pages based on the Categories assigned to the Posts, while the Post will still appear on the Page set by Admin.

    As far as I can see, Posts are child objects of Pages, and Comments are child objects of Posts and Pages as well. Therefore I can’t understand why it is not allowed to place a new Post on a Page selectable on case by case basis (while to place a comment to any page, post or even comment is possible). In Post>Add New dialog only one additional combo box would be required showing the list of existing or allowed Pages for posting to let the author to pick the desired one.

    Could someone give me an insight why it is not possible or not implemented yet? Many thanks in advance. Cheers, Janos

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Bet Hannon

    (@bethannon1)

    Actually, pages are a special type of post, not the other way around as you have suggested. Posts are separate things, parallel to pages. You can have a list (index) of posts on a page, but each post stands on it’s own.

    Once for each site, you can set the page on which the list of posts will appear. Set this at Settings–>Reading. You can set the number of posts here too.

    Are you talking about multiple authors for each blog having a page of only their posts? That would be a custom template, requiring some coding, or a plugin.

    Thread Starter jborbely

    (@jborbely)

    Thank you Bet for taking the time to reply. Perhaps my confusion results from the fact that I developed web sites before, where Pages were physical objects, e.g. html files.

    Based on your reply it seems that in the php world Pages are similar database objects to Posts but there are differences. A Page might have zero or many Posts but a Posts can’t have any Pages. At the same time a Page might have both Posts and Comments. Furthermore, each static page can have a lot of Comments, even nested Comments.

    Users can decide on which Page they want to leave a Comment. Why it is not possible to have the same freedom in deciding on which Page they want to leave a Post? Instead all Post will go – by definition – either to Home or to another Page (‘Set this at Settings–>Reading’). Than if I want to separate the Posts by topic i.e. Categories, I have to define Categories, assign them to Posts, than I have to use some plugins with which I can redirect Posts to Pages based on Categories. This for me seems to be over-engineered solution.

    Users in – not always of course – smart enough to make their choice. If I had two Pages, one for ladies fashion, another one for gents fashion, a user can decide on which one to leave a Post about skirts. So I still do not understand the reason why all Posts must go to one, single pre-set Page as opposed to Comments. Any further info would be highly appreciated on this.

    Moderator Bet Hannon

    (@bethannon1)

    I’m sorry, this is just the way WordPress works. Under GPL, you are welcome to take the code for WP and fork it to do what you are wanting to do.

    If you want to give more concrete examples or situations of what you are trying to do, perhaps we can give some suggestions about how to make it work for you.

    Thread Starter jborbely

    (@jborbely)

    Thank you Bet. Did you see the James Bond film titled ‘Tomorrow never dies’?

    Mr. Carver ‘…taught me one important lesson. The key to a great story is not who, or what, or when, but WHY. … I want to know WHY?’.

    If I had two Pages, one for ladies fashion, another one for gents fashion, I want to let my users to decide on which one to leave a Post about skirts. How can I achieve this without using Categories and plugins to filter categories? Many thanks in advance and have a relaxing Sunday. Cheers, Janos

    Moderator Bet Hannon

    (@bethannon1)

    Janos,

    You might be able to do this by creating a page template and then filtering posts by category to be displayed on it.

    But how are you hoping your users will be able to make posts? Posts are usually only created by users with at least author-level accounts.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Based on your reply it seems that in the php world Pages are similar database objects to Posts but there are differences. A Page might have zero or many Posts but a Posts can’t have any Pages. At the same time a Page might have both Posts and Comments. Furthermore, each static page can have a lot of Comments, even nested Comments.

    You’re making this a lot more complex than it actually is.

    In WordPress, you have things called Posts. They are the primary type of item. Think of the concept of a blog. It has posts, going backward in time. You make posts, it displays them on the homepage in reverse chronological order. You can display posts made by specific authors, you can display posts by specific categories or tags, and so on.

    This is all built-in and has a predefined URL structure. So, for example, /author/otto would show all my posts. While /category/stuff would show all the posts in the stuff category.

    “Pages” are special types of Posts. They don’t hold posts, they are posts. Specifically, they are posts without an inherent date to them. They get a top-level URL. So a page named “about” would be at /about. Pages were made to have an easy way to create “static” content that doesn’t change a lot.

    Pages have hierarchy. Pages can be parents to other pages. So if I wanted to make /about/this-thing then I could make two pages, “about” and “this-thing” and make one the parent of the other.

    In the theme, Pages have special case templates. Normally, the theme template hierarchy defines templates to be used for each type of thing. So, author pages use author.php and category pages use category.php and so on. Page Templates are custom, and can be named whatever you like. Then in the Page editor itself, you can choose from a drop down list of the available Page Templates for that page to use.

    So, basically, it’s a lot easier to work within the existing system than it is to try to mold it to fit something else. If you’re wanting a situation where your users can make a post and decide which area of the site it appears on, then Categories are likely what you’re wanting to use. Pages is probably not the best fit. Not that you can’t do it, you can certainly do it with some custom Page Templates, but you’re still going to need something like categories or a custom taxonomy for the users to be able to make that choice.

    I’m not a programmer, and I roughly understand the logic. But I just want to know the same answer, in a very cut-and-dry answer. How do I create a template to display the posts from a specific category? It used to be very easy to do this in WordPress. I would copy a .php page, modify the code and name, and link to it. Done. Since I’ve been away for awhile, I guess things have changed. Where is the standard template for the main blog located in the file system? From what I’m seeing now, it looks like functions.php drives everything for one blog page. I’m not sure how to workaround that.

    suechen

    (@suechen)

    Your “new-post-writer” only need pick a category, not a page.

    Hello jborbely, you might have it sorted out by now. I’m just wanting to share my approach to a similar issue.

    Here’s what I’d do in your scenario:

    I’d have a ladies fashion page and a gents fashion page. I’d then install for each a navigation bar with a category-based menu. For example, the ladies fashion page menu bar is made of categories of skirts/shoes/etc, the gents’ of categories of tie/shirts/etc.

    Menus consisting of categories can be assembled from the dashboard menu function (i’m using WP 2013 theme). Menu bars can be build with some simple coding. (i did it by following some helpful WP forum posts. i’m not trained in coding.)

    I believe WP works this way for flexibility for us to arrange and re-arrange ‘content blocks’. Say, one day, your site would like to have the pages based on shoes and fashion accessories instead of on ladies/gents fashion, you only need to change categories for the menu and WP would do the “posts-shuffling” for you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add new Post & select the Page to put it’ is closed to new replies.