Support » Themes and Templates » How To Achieve Stationary ‘Welcome’ On Front Page?

  • Greetings,

    I’m presently using the Asterik theme on my blog, Asterik includes a feature I like very much but have only seen on one other template. Therefore, I’m trying to figure out what I need to do to include it in any template.

    It’s called a “welcome,” and there is a welcome.php file for the template, and, inside the main index template, there is the following code to allow it to be activated:

    <!-- WELCOME-->
    <?php /* If this is the frontpage */ if ( is_home() ) { ?>
    <?php include (TEMPLATEPATH . '/welcome.php');// *If you do not want this to show the welcome text, put two forward slashes before the word "include"* ?>
    			<?php } ?>
    <!-- END OF WELCOME-->

    The welcome php file (when viewed in the theme editor) literally includes only this (save what I’ve got in there customizing it right now):

    Template Name: Welcome

    I’m wondering: can I just add the first part to any theme’s main index template and then just copy the welcome.php file to make all this happen or is there something else I need to do? I’m kind of stupid about all things “code” so I’m not sure at all. Any help would be appreciated.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How To Achieve Stationary ‘Welcome’ On Front Page?’ is closed to new replies.