• Hi.
    Where does WordPress put the created pages that you have made under manage / pages? Which file does it save it in?

Viewing 14 replies - 1 through 14 (of 14 total)
  • It saves them in the database in the table _posts, not in a file. In the field ‘post_status’ these pages are given the status ‘static’ (rather than publish or draft).

    Kat, the Twat

    Thread Starter webmok

    (@webmok)

    Okay, in which directory do you find this “_posts” ? Where ARE the pages saved? Can we get an admin to answer these questions?

    WordPress is a PHP application which uses a MySQL database to store EVERYTHING. This includes configuration information, posts, pages and more.

    There is NO directory that contains the pages and posts you create, they are stored in the database and are retrieved on a as-needed basis when viewers come to your site.

    twat answered your question adequetly and I hope to have added a few more details.

    It is likely that you are unfamiliar with how websites are built with PHP and MySQL. So please learn about those before proceeding.

    Regards

    Thread Starter webmok

    (@webmok)

    I’m not stupid you know, but would appreciate that if the document was saved and just pulled out of a document. With the current method you are not even able to put in a tagwall, or change in the setup of the all-ready-created pages.

    Think about that.

    Uh, there’s a reason very very few pieces of softwate use a flat file system: flat files are HUGELY inefficent server and hard to manage.

    If you’re trying to add something to one of your Pages, you should start reading:

    http://codex.wordpress.org/Using_Themes
    http://codex.wordpress.org/Pages#Page_Templates

    Hmmm… this seems to be a returning issue for you:
    http://wordpress.org/support/topic/55364?replies=4

    Please, understand applications like WP (and many others based on PHP and MySQL database) store the information not in files but in the database.
    It is a different technology – compared to plain html files.

    I don’t know what is it you want to change in the setup of the all-ready-created pages, but a more concrete question could lead to an answer that solves your problem.

    Thread Starter webmok

    (@webmok)

    Fair. Well, I would just like to take my front-page ( http://www.webmok.dk/wordpress) and use that template on the other pages. So what I really need to do, is to look into the html/php of the front-page, and it doesn’t seem to excist in the mysql-database.

    I think he is looking for the sidebar.php to come up when people go from page to page on his site. I should know how to do this, but at the moment I don’t. If anyone knows how they should post it. 🙂

    webmok, I don’t know what theme are you using, but generally there are several template files that build up the blog’s “front-page”.

    Take a look at this visual anatomy – maybe it will help to understand.

    Thread Starter webmok

    (@webmok)

    moshu, thanks.
    As spnorth wrote, I would very much like to include the sidebar.php on my other pages. Just don’t know how to do it :-/

    “other pages” meaning what?
    Files made outside WP? Files at the root of your website?
    It is relatively simple to “call” the sidebar.php into another file – the question is: will it fit there by design, size etc.? I am afraid it will not, so it would create a mess just “including” the sidebar.

    Thread Starter webmok

    (@webmok)

    No, I mean the other pages that I’ve created with WordPress – for example the profile-page. I would like to include the sidebar on that page.

    How do you do that ?

    Ah, now I understand…
    My friend, you could have saved a lot of time and headache if you mentioned from the beginning that we are talking about Pages. Pages with capital P in WordPress “language” = Pages created by WP in Write > Write Pages.

    OK, so your problem is theme related. The author of your theme decided NOT to include the sidebar in the default Page template. The default Page template file is the page.php file in your theme folder.
    We are talking about Pages like this:
    http://www.webmok.dk/wordpress/?page_id=4 – right?

    That theme is very difficult to modify for beginners. If you want sidebar on Pages – choose another theme. Sorry.

    Thread Starter webmok

    (@webmok)

    Uh, okay :/
    Thanks for the help.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Outcom of created sites?’ is closed to new replies.