Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jul 2009
    Posts
    199
    Thanks
    26
    Thanked 0 Times in 0 Posts

    display static ontent on front page of wp

    Probably a very straightforward question but i just installed wordpress on one of my domains, where i want it to show a lot of static content on front page, but still to show recent posts as usual.

    i am assuming there are a million ways to do this. but just tell me what you think is the best way

    i now tried a few basic themes come with wp by default and in widget area inserted a text box . but that text box doesnt display where i want. so

    1- how can i display that text where i want?

    2-or should i use a certain theme and or plugin? if so any suggestions? i don't want to reinvent the wheel and i want that static content to look nice. i am sure this is done million times.

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    I hate to just give links, but this is pretty much standard WP:
    https://codex.wordpress.org/Creating...tic_Front_Page

    You are looking at option 4, which is "dynamic" front page with a mix of static and a few WP features, like recent posts.

    Here are some more WP sources:
    https://www.google.com/#q=wordpress+...epage&safe=off

    ... and yes, it's done a million times.

  • #3
    Regular Coder
    Join Date
    Jul 2009
    Posts
    199
    Thanks
    26
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by mlseim View Post
    I hate to just give links, but this is pretty much standard WP:
    https://codex.wordpress.org/Creating...tic_Front_Page

    You are looking at option 4, which is "dynamic" front page with a mix of static and a few WP features, like recent posts.

    Here are some more WP sources:
    https://www.google.com/#q=wordpress+...epage&safe=off

    ... and yes, it's done a million times.
    ok so in that static page, we can write an html code right? and it would be a single html page then? where would it have a css file?

    and how about writing static html in a text widget and simply placing that text widget in frontpage under or above posts?

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    This is really hard to describe because I can't show you an example ... this requires a WP login.

    You use the same header.php and footer.php as all the other pages, unless you create your own template for your static page. That's why this is hard to explain. You can force it to use your own template, or your own "header.php", "footer.php", and even "style.css". I usually use the same header and footer script that all other pages use ... I just change the "body" portion. Since I have no way of knowing what your site is, or how different your 'static' page will be from the rest of your site, that can't be answered.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •