Include Proper HTML/CSS in Any Wordpress Page
Yesterday, we were working on a typical client site that required us to do the usual HTML/CSS template to wordpress template work… and when it came time to dump in the HTML contents of the site, it came apparent (once again) of how frustrating working with wordpress pages can be.
So, after some intense frustration, I came up with a wordpress plugin that will automatically create html files with the same name as any page created within wordpress (it will also create them within their respective sub-directories.)
Example:
—will create the directory /pages/parentpage/parentchild.html
Now we can edit parentchild.html and it’s contents will be included within the wordpress page while not compromising the HTML/CSS contained within! Wowee-wow-wow!
Keep in mind that this plugin will know to create the path for the html page when you load the wordpress page in your browser.
Instructions:
Create the a directory called
within the root location of your wordpress install and CHMOD it with permission 777.
atilus-page-include.zip and extract it inside your/wp-contents/plugins/ directory.
Then, in your page.php template file, place this php code where you want the html to be included:
if(class_exists(Atilus_PageInclude)) { Atilus_PageInclude::do_include(); }
Please email me at (JavaScript must be enabled to view this email address) with any support questions.
Tell Us What You Think
Previous entry: links for 2008-02-23
Blog Home
Search The Blog
Recent Entries
Archive
- August 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- October 2009
- September 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
Categories
Make $100. refer a friend or business | find out more Non-Profit. get the help you need | apply now
What Others Are Saying (0)
Be the first to comment on this blog! You know you want to.