WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Static page before blog but not part of blog (6 posts)

  1. dczepiel
    Member
    Posted 4 years ago #

    Hello,

    I am running a photography blog and a portfolio websites. http://dariuszczepiel.pl is the portfolio, blog is being created, will be /blog

    I would like to set up a static page that would be external to both of these wordpress blogs. It means when someone types or clicks on http://dariuszczepiel.pl an html site appears (let's say index2.html)
    where I have a backround and 2 pictures - one saying blog, the other saying portfolio. Once someone clicks on any of them is redirected either to the blog or to the website.

    I do not want to create a static page using Options/Reading because on that static page I want no other elements of that wordpress theme except the background (no menu etc.)

    Is there any plugin or maybe some other way to have it set up like that ? Please help

  2. MichaelH
    Member
    Posted 4 years ago #

    Just because you use the Settings->General static front page feature doesn't mean that you can't create a Page Template that renders the page in the manner you desire.

  3. dczepiel
    Member
    Posted 4 years ago #

    roger that, will work on a new page template now and if still have problems with implementation will post here again !

  4. dczepiel
    Member
    Posted 4 years ago #

    OK, I got it kind of worked out but.

    I created a page with the php code saying template name is Welcome. It looks like this:
    (link deleted)

    I have an external static.css file that this static.php pulls data from.
    Then I created new pages in WordPress - Home for the static page with custom template "Welcome" and then Portfolio for 'blog' page (blog is what ypou actually see now at http://dariuszczepiel.pl )
    I changed setting in Options/Reading but the problem is here:
    (linke deleted)

    The template does not pull data from the static.css file and no styles are applied. Can you guide me what needs to be done for css styles to be applied to the 'Home' page ?

  5. dczepiel
    Member
    Posted 4 years ago #

    fixed, the css code must be inside the template php file.
    How to do it - check for example here:
    http://www.webdesign.org/html-and-css/tutorials/embedding-css-into-an-html-document.11106.html

  6. dczepiel
    Member
    Posted 4 years ago #

    and it works perfect - resolved.
    Check out http://dariuszczepiel.pl

    Thanks for help !

Topic Closed

This topic has been closed to new replies.

About this Topic