Flexibility 2 to Squeeze Page


Flexibility 2 is the fre
e version of Flexsqueeze theme from Ryan Hellyer . Now granted, it isn’t quite as feature rich as it’s paid for cousin, but with a few tweaks and changes you can make it do almost amything you want.
To change from the standard 2 plus 1 theme that comes out of the box, to make a good squeeze page here is what I do;
I open up the editor box to 30 lines and then and add TinyMCE advanced plugin.
Then I make the following changes to the php files.
To remove comments from pages.
Remove this line. <?php comments_template(); ?> From Pages.php and main.php
—————————–
To Remove sidebars add the line:
#sidebar {display:none;} at the very bottom of style.php Then go into flexibility 2 settings and reduce the right and left sidebars to 0
——————————-
To remove the navigation bar add the line:
#nav {display:none;} at the bottom of style.php
——————————
If you want to remove all titles, you will need to edit the index.php, single.php, archive.php and page.php files. Just look for the H1 or H2 tags in each page, and remove everything from the opening tag (<h1>) to the closing tag (</h1>).
The pages are displayed by the page.php file. The posts are displayed by the single.php file. So if you want to remove just the PAGE titles, edit the page.php file. Remove <h2><?php the_title(); ?></h2>
You should be good to go from there.


