Statistics: Posted by Temple — December 19th, 2011, 7:34 pm
Statistics: Posted by Cristián Lávaque — September 2nd, 2011, 8:24 pm
Statistics: Posted by s1r0n — September 2nd, 2011, 9:29 am
Statistics: Posted by Jason Caldwell — August 31st, 2011, 12:57 pm
Statistics: Posted by s1r0n — August 31st, 2011, 10:09 am
Statistics: Posted by Jason Caldwell — August 30th, 2011, 7:08 pm
Statistics: Posted by s1r0n — August 29th, 2011, 6:50 pm
Statistics: Posted by Cristián Lávaque — August 26th, 2011, 11:13 pm
Statistics: Posted by ktkfo4 — August 26th, 2011, 4:42 am
Statistics: Posted by ktkfo4 — August 26th, 2011, 3:34 am
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php the_content(''); ?>
<?php endwhile; else: ?>
<?php endif; ?>
<?php if( !is_page(array('pageID', 'pageID')) ) :?>
Any code you don't want to show on the above pages goes in here. I use that to hide some parts of the header like menus, use logo with no link back....
<?php } ?>
<?php endif;?>
Statistics: Posted by drbyte — August 8th, 2011, 10:01 pm
Statistics: Posted by s1r0n — August 8th, 2011, 4:55 pm
How can I prevent s2Member Pro from loading it's default CSS?
You can create this directory and file: /wp-content/mu-plugins/s2-hacks.php
- Code:
<?php
add_action ("ws_plugin__s2member_after_loaded", "remove_s2_pro_css");
function remove_s2_pro_css ()
{
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_css_js::css");
}
?>
Or, you could remove only specific action Hooks; based on Payment Gateway.
- Code:
<?php
add_action ("ws_plugin__s2member_after_loaded", "remove_s2_pro_css");
function remove_s2_pro_css ()
{
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_alipay_css_js::alipay_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_authnet_css_js::authnet_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_ccbill_css_js::ccbill_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_clickbank_css_js::clickbank_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_google_css_js::google_css");
remove_action ("ws_plugin__s2member_during_css", "c_ws_plugin__s2member_pro_paypal_css_js::paypal_css");
}
?>
Statistics: Posted by Cristián Lávaque — August 8th, 2011, 4:08 pm
Statistics: Posted by s1r0n — August 8th, 2011, 12:46 pm
Statistics: Posted by s1r0n — August 8th, 2011, 11:15 am
Statistics: Posted by s1r0n — August 6th, 2011, 4:59 pm
Statistics: Posted by Cristián Lávaque — August 5th, 2011, 11:07 pm
Statistics: Posted by s1r0n — August 5th, 2011, 1:49 pm