WordPress.org

Ready to get started?Download WordPress

Forums

Change Posts to Pages? (4 posts)

  1. StancyMcKatt
    Member
    Posted 8 years ago #

    Is there a way to change posts to pages without haveing to copy and paste?

    Is there a way for the pages to show up in the blog catagories, or in blog style catagory lists with just a few easy clicks? *may have missed this somehow*

    I'd like to use the pages for some content (poems essays and such) that I would like to be easy and quick to get at... BUT I don't feel like coding a link every time I add one... If anyone knows of a way to do this in wordpress let me know... Cause I'm not totally sure what I'm looking for. Cause it's for a library section of sorts.

    Thanks! :)

  2. James
    Happiness Engineer
    Posted 8 years ago #

    Is there a way to change posts to pages without haveing to copy and paste?

    Not that I know of.

    Is there a way for the pages to show up in the blog catagories, or in blog style catagory lists with just a few easy clicks?

    Use <?php wp_list_pages(); ?> anywhere, preferably in your sidebar. More info: http://codex.wordpress.org/Template_Tags/wp_list_pages

  3. davidchait
    Member
    Posted 8 years ago #

    You can change a post to a page from the database, but there might be a field or two not set properly. I'm not sure though that's quite the functionality you are really looking for.

    You could probably write them as normal posts, use a custom/meta field to identify them as side-menued posts, and then a quick query of the database to retrieve the list of posts with your special meta field set. This is similar to how people have done 'asides' or 'miniblogs', except you'd KEEP the tagged posts in your normal blog listings/archives/etc., and only show the title (and no content) in the sidebar.

    In fact, this would make for a good plugin... a particular named meta field set to whatever values you want, and then be able to output a list based on a value. For instance, have the meta field be 'side_list', and the value be 'poem', for all poems you want to show up. Of course, if you want to be able to 'tag' things as poems, but ALSO decide to have some show on the sidebar, and some not, you'd ideally want two variables, one being the 'post type' (I have this concept on my site...), the other being the 'show on sidebar' flag.

    If you give me more ideas, I could potentially flesh this out further for you (maybe even end up building a plugin).

    -d
    CHAITGEAR

  4. StancyMcKatt
    Member
    Posted 8 years ago #

    I'm really sorry for not replying sooner. I have been sick the last couple of days and haven't felt like being on the computer very much. I'll explain what I'm wanting to do as best as I can. I'm just starting to learn the 'back-end' of things.

    I have some posts, of essays, poems, book reviews, etc. That I would like to be 'static' content, but I want to still manage with wordpress so I don't have to HTML every page of it. *Very time consuming.* So I put them in wordpress, one problem solved.

    That works fine until I start getting more posts. Now the older pages of the 'library' type content aren't as easy to access (harder to find by the casual site visitor). Especially with the way that the categories are listed in 1.5 (No A.B.C order... Or did they fix this?)

    So I start tinkering with the pages feature, and I think that this might solve my problem... But there isn't a way to change posts into pages without copy and paste... With 20 something things to convert that would be a bit too time consuming for my taste. So that’s as far as I got.

    As far as the menu part goes.. I was hoping for some auto generated one... (IE I stick the base code where I want it on the page, and it generates the links using something along the lines of an include.... That maybe comes up with something along the lines of the blog categories? Sorry about being so vague... I haven't felt like giving much thought that part until today.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags