WordPress.org

Ready to get started?Download WordPress

Forums

Text Box in Admin to modify main WP page? (13 posts)

  1. Mark
    Member
    Posted 8 years ago #

    I was curious if anyone created in the ADMIN section of WP a box that one could type in text or html code that would change the main page of the WP blog.

    This would be handy in my case as I am designing a blog for a local church. The users would find it easier to modify the front page through the admin section instead of using FTP in which the people at the church can barely check their email :)

    If anyone has created something like that or if there is a post that I missed while searching let me know.

    Much appreciated!

  2. VaamYob
    Member
    Posted 8 years ago #

    You can edit the index.php of the currently running theme via the Admin interface.

  3. moshu
    Member
    Posted 8 years ago #

    The "main page" of the blog is the index.php of the active theme. Can't you edit it through the Presentation > Theme Editor?

  4. Mark
    Member
    Posted 8 years ago #

    I know that I can edit it those ways. But I didn't know if there was something out there that would give my client just a simple text box under say "Manage" then "Main Page". There could be a text box that they could use to manage the main page. I'm afraid that they might delete some necessary code like the wp_get_header or something like that and screw their blog up. So if they just had a simple admin box that would just allow them to change the contents on the index.php page that would be wonderful.

  5. Mark
    Member
    Posted 8 years ago #

    Anything? I guess its not a big deal using the Presentation > Theme Editor. Just thought that having a simple edit box just for the main content section of the front page would be somewhat easily doable.

  6. moshu
    Member
    Posted 8 years ago #

    The "main page" of a blog shows the posts in chronological order. Write a new post and the "main page" is changed :) What is exactly that you would like them to be able to edit? Some kind of "static insert" on the main page? Maybe if you give an example...

  7. Mark
    Member
    Posted 8 years ago #

    Yes a static insert is exactly what I want. I would also like to have some posts below the static insert as well. Basically I want to liven up the main page with pictures and html code. Nothing totally complex, but the standard WP maing page is a little bland for me in this case. So if I could insert some static text and also have like 5 posts below that or something that would exactly what I would be looking for:)

  8. moshu
    Member
    Posted 8 years ago #

    This is what I did in a similar situation for a client.
    Set to show 5 posts on the blog. (alternatively, if you want different numbers for archives etc, use one of these plugins:
    http://mattread.com/archives/2005/03/custom-query-string-plugin/
    http://rephrase.net/miscellany/05/perpage.phps)
    Then the trick:
    1. Created a Page and hid from the page list in the sidebar
    2. Used the get-a post plugin http://guff.szub.net/2005/01/27/get-a-post/
    3. Edited the index.php and the stylesheet to display the post/Page from the plugin at the top in a way I wanted
    4. Whenever they want to change the content of that top "box" they just have to edit the hidden Page and re-save.

  9. Mark
    Member
    Posted 8 years ago #

    Moshu you are the bomb. I'll look into this tonite:)

    I knew that something like this could be done:) I'll play with it tonite and see what happens:)

  10. Mark
    Member
    Posted 8 years ago #

    For whatever reason using that plugin doesn't like any html "tables" or "images". Did you have this same problem?

  11. Mark
    Member
    Posted 8 years ago #

    I am wondering if anyone has modified any index.php page to JUST show certain categories? If so how did you guys do it?

    Thanks again!

  12. moshu
    Member
    Posted 8 years ago #

  13. Mark
    Member
    Posted 8 years ago #

    Rock n roll! Thanks as always Moshu :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.