Wordpress Static pages

Discussion in 'PHP' started by roxcon, Dec 30, 2010.

  1. #1
    how wordpress show up there content?? do wordpress generate static pages for each content or dynamically rendered the content??
    please your technical answers appreciate. :confused::confused::confused:
     
    roxcon, Dec 30, 2010 IP
  2. drctaccess

    drctaccess Peon

    Messages:
    62
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    0
    #2
    wordpress renders the content dynamically ... however you can render some sort of static pages by using a caching plugin like WP super cache or something. By using a caching plugin.. first time a page is accessed it will be dynamic but after that .. the page will be rendered from cache (e.g. static)

    I hope this helps
     
    drctaccess, Dec 30, 2010 IP
  3. Tutorial Feed

    Tutorial Feed Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Not too sure what you mean, but you can create pages that will have static content, purely text based. Then you can also have template files in which you can use PHP and other languages to create dynamic content.
     
    Tutorial Feed, Dec 30, 2010 IP
  4. tprinty

    tprinty Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can add a pagename.php file in the root of your wordpress install. Then when you load this file it will not run the WP code but just your new script.
     
    tprinty, Jan 2, 2011 IP