• Anonymous User 13423376

    (@anonymized-13423376)


    I am a bit of uncertain and lost how to handle things in the following case. I have my front-page.php template. It contains some dynamic content but also a few more or less static sections. The static text sections look roughly like the following two. Those parts of text won’t change much or at all over time i suppose. So i wonder how to include them into the front-page.php.

    a) Paste the text and it’s markup directly into the front-page.php template?

    b) Enter the text and markup in the backend inside the pages section? Therefor i would have to create a page for each section and then include the pages into the front-page.php template.

    c) Create a custom post type for each section and either create three posts (one for each column) in each post type or use a single wysiwg field like in alternative b and paste the text and markup into it.

    Alternative a) is quite inflexible. Alternative b and c are quite similar, the only difference is that alternative c is missing the loading of the templates into the front-page, so it sounds like the more reasonable approach. Or is there a better way of handling things?

    Best regards Ralf

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

The topic ‘How to include and handle more or less static text sections in front-page.php’ is closed to new replies.