• I want to connect wordpress with an already made website (static html pages), but I dont want to use any features of wordpress except
    one. My client wants to be able to edit the content of the website via a gui management sysytem.
    I want something very simple though, nothing complex, just content fields there and there which the client could edit himself.
    How could I achieve this?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Anonymous

    Yes that’s what I meant, I want the client to be able to edit content fields on the website via WP, or something else that would do that.
    I heard that WP can do that, so I’m affraid you might be wrong.
    I just dont know how I could do that!

    You can do a zillion things with WP, but I’ve never heard about anybody editing HTML (I repeat: HTML!) files via WP.

    Thread Starter Anonymous

    It’s because my pages are currently in html, I will convert them to php.
    What would be the procedure then?

    Actually WordPress can do this…. but I don’t think it would be a good solution in this case, because:

    • The file has to be writable (chmod 666).
    • Once the file is writable; you need to login to WP’s admin interface. By default this drops you to a page where you can enter a new post.
    • To get to the section where you can edit your files; click on the Templates link. This will default to loading up WP’s index.php.
    • Then your client would have to type in the exact name of file they want to edit in a field towards the bottom of the window and click Edit File. If they type the name wrong; WP won’t see the file and will take them to an error screen.
    • There are some links on the page to common WP files that users might want to edit on the Templates page, which could confuse your client.

    OK, Manzabar, you won… LOL
    But this would be (no, it is!) such a wicked idea, that I couldn’t think of it.

    Thread Starter Anonymous

    Ok I tried the template method, it works, thanks! But not in a user friendly way. You basically need to know the entire html syntaxe to edit, which the client doesn’t want.
    I want my client to only have access to editable fields, with the simple tag editor and so on …

    I did something like this. I used the XBitHack and then for each .html file I want editable, I put something like:
    < !--#include virtual="/wordpress/index.php?cat=3" -->
    only I changed the value of cat for each page.
    Then, when they want to change the page, your clients just need to edit the post in the category associated with that page.

    Thread Starter Anonymous

    Where do you put < !–#include virtual=”/wordpress/index.php?cat=3″ –> ? In the head of each page?

    it becomes the complete page itself. so u just need to use like it is in a php file.

    Thread Starter Anonymous

    Im affraid I dont understand (very new to php and such).
    Could you please explain precisely what I would have to do in order to edit an already made website with WP?

    Well, what I was suggesting is really just a kluge using SSI. Google for XBitHack and you’ll find a page that will explain the details.
    But to get those pages to look different from the blog itself, you might also want to create an index2.php that’s been modified accordingly. I don’t have an example on-hand, but you’ll mostly be modifying the .html, anyways.

    Actually, in this case, you might be better off adding rewrite rules to .htaccess

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Connecting WordPress with already made website.’ is closed to new replies.