| bio | website | infinity.presscrew.com |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 8 months |
| seen | May 17 at 10:20 | |
| stats | profile views | 7 |
|
Mar 27 |
answered | Recommend an open source, template driven website builder UI that produces a working WordPress site |
|
Sep 14 |
awarded | Student |
|
Sep 4 |
awarded | Teacher |
|
Sep 4 |
comment |
WordPress php error after editing file with FileZilla I would go force UTF-8 so you know for certain the right encoding is used. If not you'll get weird characters added to your file which might give the PHP errors! |
|
Sep 4 |
answered | When WordPress Does Not Provide an .htaccess File for New Multisite Sites because of CPanel Fantastico Auto-Installer? |
|
Sep 4 |
answered | WordPress php error after editing file with FileZilla |
|
Sep 4 |
awarded | Scholar |
|
Sep 4 |
comment |
How can I display/hide certain content based on a Theme Option field? Thank you! This example got me an the right track.. I ended up adding your first piece of code to enable checkboxes in my Theme Options page. array( "name" => "Show Slider", "desc" => "do you want to show the slider?", "id" => $shortname."_show_slider", "type" => "checkbox", "std" => "true"), And then called the slider function directly in my theme (so not via functions.php as you did in the 2nd example) by using this code: <?php if (get_option('bp_show_slider') == 'true' ) { ?> <?php locate_template( array( 'includes/slider.php'), true ) ?> <?php } ?> Thanks! |
|
Sep 4 |
accepted | How can I display/hide certain content based on a Theme Option field? |
|
Sep 3 |
asked | How can I display/hide certain content based on a Theme Option field? |