• Hi guys,
    I am running thesis 1.51 and I have a problem establishing a custom homepage (to implement a differnt sidebar).

    So far:
    I call up the homepage like this:

    function custom_sidebar_01() {
    if (is_Home() || is_front_page() || is_page('14'))  {
    ?>
    <div id="content">
    ...

    Later I get the sidebar like this:
    <?php thesis_sidebar_2(); ?>

    Now: how would I get the regular content via a php-function into my custom template? I have the home page saved as a static page already, so the content must be stored in the db somewhere.

    On my static home page, the divs are:
    content_box
    content
    post-14 class: post_box top
    format_text

    Thanks for any help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • you would have to use the_content(). (don’t forget, it has to be in the loop).

    Peter

    Thread Starter aeon365

    (@aeon365)

    My homepage is static – so there are no posts I can point to.
    I also dont really know “where” to get the content. I mean, I know the page name of my old homepage. But how can I call the text that is saved for that page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom page – add content via php?’ is closed to new replies.