alexmoba
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Custom style does not workThis is fixed, please see comment by plugin author here:
http://wordpress.org/support/topic/custom-widget-not-working-on-version-352?replies=7#post-5003331
Thanks
Worked like a charm!
Thanks so much!
Hello
For anyone interest, this has not been fixed as of 3.5.6, reverting to 3.5.1.
Forum: Themes and Templates
In reply to: Checkboxes in theme optionsSorry the correct code was:
<?php if( get_option($value['id'] ) ){ $checked = "checked=\"checked\""; } else { if ( $value['std'] === "true" ){ $checked = "checked=\"checked\""; } else { $checked = ""; } } ?> <div class="box-title"><?php echo $value['name']; ?><input class="check-field" type="<?php echo $value['type']; ?>" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']Forum: Themes and Templates
In reply to: Checkboxes in theme optionsMost tutorials show a checkbox code for theme option pages that doesn’t exactly work as expected, I modified like this and it seems to work:
<?php if( get_option($value['id']) ){ $checked = "checked=\"checked\""; } elseif ( empty($value['id']) ) { if ($value['std']){ $checked = "checked=\"checked\""; } else { $checked = ""; } } else { $checked = ""; } ?> <div class="box-title"><?php echo $value['name']; ?><input class="check-field" type="<?php echo $value['type']; ?>" name="<?php echo $value['id']; ?>" id="<?php echo $value['id']; ?>" value="true" <?php echo $checked; ?> /></div>Forum: Themes and Templates
In reply to: Run php script from theme backendI tried the error_reporting function however there doesn’t seem to be any problems with hidden errors.
As an alternative I’ve just added a link to the direct php script inside the theme backend and it works just fine, the problem is when I included the form in the backend.
Although they’re both on the same folder I have a feeling the relative paths are different when including the php script and when accessing it directly.
Forum: Fixing WordPress
In reply to: [Plugin: Lifestream] How to use localizations?Resolved it, thank you anyway. 😉