• Mark

    (@encryptdesigns)


    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!

Viewing 12 replies - 1 through 12 (of 12 total)
  • You can edit the index.php of the currently running theme via the Admin interface.

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

    Thread Starter Mark

    (@encryptdesigns)

    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.

    Thread Starter Mark

    (@encryptdesigns)

    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.

    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…

    Thread Starter Mark

    (@encryptdesigns)

    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:)

    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:
    https://mattread.com/archives/2005/03/custom-query-string-plugin/
    https://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 https://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.

    Thread Starter Mark

    (@encryptdesigns)

    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:)

    Thread Starter Mark

    (@encryptdesigns)

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

    Thread Starter Mark

    (@encryptdesigns)

    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!

    Thread Starter Mark

    (@encryptdesigns)

    Rock n roll! Thanks as always Moshu ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Text Box in Admin to modify main WP page?’ is closed to new replies.