WordPress.org

Ready to get started?Download WordPress

Forums

Adding a splash page on home (2 posts)

  1. roseba
    Member
    Posted 7 months ago #

    I built a splash page that does not utilize any of the templating for the theme.

    It is a full bleed image, with text that brings you into the site.

    My original thought was to create a custom page template calling only the image from the page. However, I could not make it work. The css kept breaking or the page didn't come in at all.

    After that, I tried pasting the entire contents into the splash template. That didn't work. I tried pasting the entire contents into the splash page leaving the template blank. That also didn't work.

    I finally resorted to a flat HTML file using an .htacess rule to direct it. Everything was fine except now the "home" page is outside of WordPress.

    It created another problem with search. Search parameters are based on the home page. I tried a few ways to redirect this and finally resorted to a full url in the searchform.php file. Unfortunately, this makes it impossible to search the entire site and limits it to one category.

    So what would I like to do?

    Ideally I would like to find a rock solid way to get that index.html file into WordPress with a working loop to be able to change the media attachment.

    If that doesn't work, I would like a solution to make search work sitewide. Right now, I have it set to /blog.

    The site is http://www.arielshallit.com/

    Any help (code) you can bring to the table would be greatly appreciated. Thanks.

  2. roseba
    Member
    Posted 7 months ago #

    It turned out that the parent theme's FrontPage was interfering with my custom Splash.php file.

    I did get it to work, but I was not able to get the loop to work for the contents area. (So that the user can change their home page whenever they please.)

    It breaks the css.

    The results however, I can live with.

Reply

You must log in to post.

About this Topic