• Resolved ladydoe

    (@ladydoe)


    Hi there,

    As with everyone else I want to thank you for such an amazing theme! You have made my life pretty easy being a newbie to WordPress and all. My only question has to do with creating a static page. I’m using a photo that I’m trying to link in so that when you click on it, it brings you to the regular home page with all of the stories present. I created the page that I wanted to use but I can’t seem to get it to go to the home page with all of the posts. I’ve tried creating a second page and that didn’t work either. I had made the adjustments on the reading page and it just refuses to loop around to the home page. Any suggestions? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve wondered this myself, Ladydoe. I’ve wanted to create a static page that visitors land on first, with a link on the page that takes them to my WordPress-driven site. I’m eager to see if anyone has an answer to your question.

    Bill

    Hey there,

    You can create a template and then assign it to a page. Do something like this:

    <?php
    /*
    Template Name: Static
    Description: This is the splash page.
    */
    ?>
    This is a static page.

    And save it as static.php Add it to the theme’s folder and then create a page in the WP admin and assign the template to that page.
    Now go to Settings => Reading and select static page and pick the page you create as the Front Page.

    Now just change “This is a static page.” to whatever you want to appear on the splash page.

    That should so it.

    Thread Starter ladydoe

    (@ladydoe)

    Thank you so much! I copied the code from the page.php and and added your code above to the top of it. It took some work because I had to create a second page that was linked with the “home” page (index.php). I was finally able to click on the photo I created on my home (static) page to go to the posts page. I just had to make sure that the photo was linked to xyz.com/home. Now it’s complete. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating a static page’ is closed to new replies.