WordPress.org

Ready to get started?Download WordPress

Forums

how to revert a "post" back to a "page" (broke it with zempt) (4 posts)

  1. _ck_
    Member
    Posted 8 years ago #

    I was tinkering with the Zempt editor and realized I could edit "pages" if I specified the ID# and let it download it directly.

    However upon uploading I discovered WordPress (edit: I mean zempt set the wrong attributes and WordPress then) changed the Page to a Post.

    I can't seem to undo it via Zempt but I would like to go into phpmyadmin and change whatever got toggled in the database for that entry.

    Are Pages just posts with a special hidden category in WordPress? Hopefully this is an easy fix, just want to see if anyone knows for certain...

  2. Chris_K
    Member
    Posted 8 years ago #

    Pages and Posts are stored in the same table with different attributes, yes.

    I doubt WP changed the Page to a Post. I'd be looking at Zempt for that one...

  3. _ck_
    Member
    Posted 8 years ago #

    Definitely not blaming WordPress at all.
    Just would like to know how to manually fix it.

    I am certain zempt changed it because it was designed pre-Wordpress and probably saved it with attributes of a post (unknowingly).

    I could also post the fix to the zempt authors.

    Perhaps there is even a work-around possible without a zempt update (which may be a long time coming) so it can actually save "pages" correctly.

  4. _ck_
    Member
    Posted 8 years ago #

    Aha!
    I didn't think this out enough.
    I just created a fresh "page" to compare for myself in phpmyadmin and from what I can see, the difference between a "page" and a "post is that

    "post_status" is set to "static" for "page"
    and it's set to "published" for "posts"

    nice! now let me see if I can hack Zempt to support it...

    (no luck on Zempt, it's hardcoded, wrote the support people on that...)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags