Archive for March, 2011


How to integrate my templates with WordPress

As more and more of my customers use WordPress, I decided it was finally time to show a little trick so that my templates can be used inside WordPress.

It’s not an elegant solution and it does not allow you to edit the templates inside a wordpress editor, only via the theme editor html.

However, it does allow you to use the Settings > Reading option to make your squeeze page the home page of your site.

And I believe this is the primary reason customers would like to integrate the templates.

Just as with my normal template setup you’ll still need FTP and an html editor.

Here’s the solution.

1. Edit the index.html in your HTML editor with your text changes, video and autoresponder code.  Then at the Abolute TOP of your index.html add

<?php /* Template Name: custom squeeze
*/ ?>
<!- – Enter HTML Code Below – ->

3.  Change the path of all the CSS, JS and image files in index.html to the full URL path.  EX:  http://www.yourdomain.com/css/style.css

4.  Save the file name as: customsqueeze.php

5. FTP  the CSS, JS and Images folder to your domain’s root folder  (don’t upload the index.html file)

6. Upload customsqueeze.php to your THEME directory

7.  Login to your WordPress dashboard, and goto Pages > Add New.

8.  Name your page, and then look for “Page Attributes” on right hand side.  From drop down list select “Custom Squeeze” then click update.

9.  View your page and you should see live template

10.  To make your homepage goto:  Settings > Reading and select the page name as your front page.

If it doesn’t look right verify your paths are correct in the custom template.   All your images, css and js files to be the full urls.

Finally, do you already have a squeeze page  outside of WordPress?

You can use the same system and add an html redirect to the template.  Just use the Meta Refresh code from my site MyRedirectCode.com

Read More...

Powered by WishList Member - Membership Site Software