Best practices for static elements in home.php

Community Forums Forums Design Tips and Tricks Best practices for static elements in home.php

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  Posh John 5 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1732

    mattspaeth
    Participant
    Post count: 1

    Hey All,

    I find my site design moving more and more towards the style of chrisbrogan.com. I have been placing static elements by using PHP widgets with code pasted in. I have also done it by using a widget that inserts the contents of a page. This could also be done by hard coding it into home.php. Or it also be done by making custom plugins (I haven’t gotten into this yet). What is the best practice for doing this?

    Thank you.

    #1749

    Posh John
    Participant
    Post count: 32

    Don’t know about “best” practice, but for me…

    If i’m building a site for myself, i’ll often hard-code it into home.php (or whatever page template). If it’s a site for a client, i normally pull-in a page (which i no-index) so the client can easily change the content if they want to.


    Let the water under the sky be gathered to one place, and let dry ground appear. Genesis 1:9

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.