diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..90ec22b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.svn diff --git a/core/actions/global-actions.php b/core/actions/global-actions.php index 1b1d739..a106168 100755 --- a/core/actions/global-actions.php +++ b/core/actions/global-actions.php @@ -32,10 +32,10 @@ * * @since 1.0 */ -function response_loop_content($content) { +function response_loop_content($content) { global $options, $themeslug, $post; //call globals - + if (is_single()) { $post_formats = $options->get($themeslug.'_single_post_formats'); $featured_images = $options->get($themeslug.'_single_show_featured_images'); @@ -51,138 +51,139 @@ function response_loop_content($content) { $featured_images = $options->get($themeslug.'_show_featured_images'); $excerpts = $options->get($themeslug.'_show_excerpts'); } - - if (get_post_format() == '') { - $format = "default"; - } - else { - $format = get_post_format(); - } ?> - - - -
-
-
-

- - '; - echo ''; - the_post_thumbnail(); - echo ''; - echo '
'; - } - ?> - - Continue Reading', 'response')); - } - ?> - - - - - - - -
- - + + +
+
+
+

+ + '; + echo ''; + the_post_thumbnail(); + echo ''; + echo '
'; + } + ?> + + Continue Reading', 'response')); + } + ?> + + + + + + + +
+ + get($themeslug.'_single_hide_byline'); - $post_formats = $options->get($themeslug.'_single_post_formats'); + $hide_byline_id = $themeslug.'_single_hide_byline'; + $post_formats_id = $themeslug.'_single_post_formats'; } elseif (is_archive()) { - $hidden = $options->get($themeslug.'_archive_hide_byline'); - $post_formats = $options->get($themeslug.'_archive_post_formats'); + $hide_byline_id = $themeslug.'_archive_hide_byline'; + $post_formats_id = $themeslug.'_archive_post_formats'; } else { - $hidden = $options->get($themeslug.'_hide_byline'); - $post_formats = $options->get($themeslug.'_post_formats'); - } - if (get_post_format() == '') { - $format = "default"; + $hide_byline_id = $themeslug.'_hide_byline'; + $post_formats_id = $themeslug.'_post_formats'; } - else { - $format = get_post_format(); - }?> - - + $hidden = $options->get($hide_byline_id); + $hide_byline_opts = $options->find_option_by_id($hide_byline_id); + $hide_byline_opts = ( $hide_byline_opts && isset($hide_byline_opts['default']) ) ? $hide_byline_opts['default'] : null; + + $post_formats = $options->get($post_formats_id); + + return [$hide_byline_opts, $post_formats]; +} + +/** + * Sets the post byline information (author, date, category). + * + * @since 1.0 + */ +function response_post_byline_content() { + global $themeslug; + + [$hide_byline_opts, $post_formats] = get_hide_byline_opts(); + + $format = (get_post_format() == '') ? "default" : get_post_format(); + + if ($post_formats != '0'): ?>
formats
-
+ get($themeslug.'_single_hide_byline'); - $post_formats = $options->get($themeslug.'_single_post_formats'); - } - elseif (is_archive()) { - $hidden = $options->get($themeslug.'_archive_hide_byline'); - $post_formats = $options->get($themeslug.'_archive_post_formats'); - } - else { - $hidden = $options->get($themeslug.'_hide_byline'); - $post_formats = $options->get($themeslug.'_post_formats'); - } - if (get_post_format() == '') { - $format = "default"; - } - else { - $format = get_post_format(); - }?> - + global $themeslug; + + [$hide_byline_opts, $post_formats] = get_hide_byline_opts(); + + $format = (get_post_format() == '') ? "default" : get_post_format(); + + ?>
- -
+
  • formats +
  • +
  • +
  • +
  • +
  • +
  • + + + get($themeslug.'_single_hide_byline'); - } - elseif (is_archive()) { - $hidden = $options->get($themeslug.'_archive_hide_byline'); - } - else { - $hidden = $options->get($themeslug.'_hide_byline'); - }?> + global $themeslug; + [$hide_byline_opts] = get_hide_byline_opts(); - - - \ No newline at end of file diff --git a/core/actions/header-actions.php b/core/actions/header-actions.php index ab0df66..c123ff9 100755 --- a/core/actions/header-actions.php +++ b/core/actions/header-actions.php @@ -50,7 +50,7 @@ function response_font() { $font = $options->get($themeslug.'_font'); } ?> - ', " > ', " > -get($themeslug.'_home_title') != '' AND is_front_page()) { ?> '/> id, array( $this, 'render' ) ); add_action( "admin_print_styles-$page", array($this, 'load_styles') ); @@ -36,7 +36,7 @@ function load_styles() { function load_scripts() { // Inline scripts from options-interface.php add_action('admin_head', array($this, 'admin_head')); - + // Enqueued scripts wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-sortable'); @@ -78,6 +78,7 @@ function find_option_by_id($id) { } return false; } + function add( $option ) { $this->options[] = $option; } @@ -131,7 +132,7 @@ function render() {
    - + false); + $overrides = array('test_form' => false); $file = wp_handle_upload($_FILES[$id], $overrides); $clean[$id] = $file; } @@ -213,7 +214,7 @@ function validate_data( $input ) { elseif(isset($_POST["{$id}_text"]) && $_POST["{$id}_text"] != '') { $input['file'] = array('url' => $_POST["{$id}_text"]); - $clean[$id] = array('url' => $_POST["{$id}_text"]); } + $clean[$id] = array('url' => $_POST["{$id}_text"]); } else { $clean[$id] = null; @@ -272,17 +273,17 @@ function fields() { $output .= '

    ' . esc_html( $value['name'] ) . '

    ' . "\n"; $output .= '
    ' . "\n" . '
    ' . "\n"; } - + // Set default value to $val if ( isset( $value['default']) ) { $val = $value['default']; } - + // If the option is already saved, ovveride $val if ( ($value['type'] != "heading") && ($value['type'] != "info" && $value['type'] != "subsection" && $value['type'] != "subsection_end") && $value['type'] != "open_outersection" && $value['type'] != "close_outersection" ) { if ( isset($settings[($value['id'])]) ) { $val = $settings[($value['id'])]; - + // Striping slashes of non-array options if (!is_array($val) && (($value['id']) != $themeslug . "_css_options") ) { $val = stripslashes($val); @@ -294,49 +295,49 @@ function fields() { if ( isset( $value['desc'] ) ) { $explain_value = $value['desc']; } - + switch ( $value['type'] ) { - + // Basic text input case 'text': $output .= ''; break; - + // Textarea case 'textarea': $cols = '8'; $ta_value = ''; - + if(isset($value['options'])){ $ta_options = $value['options']; if(isset($ta_options['cols'])){ $cols = $ta_options['cols']; } else { $cols = '8'; } } - + // Avoid stripslashes if it is custom css if( $value['id'] != $themeslug . "_css_options" ) { $val = stripslashes( $val ); } - + $output .= ''; break; - + // Select Box case 'select': $output .= ''; break; - + // Radio Box case "radio": $name = $option_name .'['. $value['id'] .']'; @@ -345,7 +346,7 @@ function fields() { $output .= '
    '; } break; - + // Image Selectors case "images": $name = $option_name .'['. $value['id'] .']'; @@ -363,13 +364,13 @@ function fields() { $output .= '' . $option .''; } break; - + // Checkbox case "checkbox": $output .= ''; $output .= ''; break; - + // Multicheck case "multicheck": foreach ($value['options'] as $key => $option) { @@ -387,47 +388,47 @@ function fields() { $output .= '
    '; } break; - + // Color picker case "color": $output .= '
    '; $output .= ''; - break; - + break; + // Uploader case "upload": - // $output .= optionsframework_medialibrary_uploader( $value['id'], $val, null ); // New AJAX Uploader using Media Library + // $output .= optionsframework_medialibrary_uploader( $value['id'], $val, null ); // New AJAX Uploader using Media Library if(isset($val['url'])) { $output .= "Preview:
    " . "
    "; } $output .= ""; $output .= "
    or enter URL
    "; $output .= ""; - + break; - + // Typography - case 'typography': - + case 'typography': + $typography_stored = $val; - + // Font Size $output .= ''; - + // Font Face $output .= ''; + } + + $output .= ''; // Font Weight $output .= ''; - // Font Color + // Font Color $output .= '
    '; $output .= ''; break; - + // Background case 'background': - + $background = $val; - - // Background Color + + // Background Color $output .= '
    '; $output .= ''; - + // Background Image - New AJAX Uploader using Media Library if (!isset($background['image'])) { $background['image'] = ''; } - + $output .= optionsframework_medialibrary_uploader( $value['id'], $background['image'], null, '',0,'image'); $class = 'of-background-properties'; if ( '' == $background['image'] ) { $class .= ' hide'; } $output .= '
    '; - + // Background Repeat $output .= ''; - + // Background Position $output .= ''; - + // Background Attachment $output .= ''; $output .= '
    '; - - break; - + + break; + // Info case "info": $class = 'section'; @@ -514,7 +515,7 @@ function fields() { $output .= wpautop( wp_kses( $value['desc'], $allowedtags) ) . "\n"; } $output .= '
    ' . "\n"; - break; + break; case "export": $output .= ""; @@ -527,7 +528,7 @@ function fields() { if($counter >= 2){ $output .= '
    '."\n"; } - + $jquery_click_hook = preg_replace('/\W/', '', strtolower($value['name']) ); $jquery_click_hook = "of-option-" . $jquery_click_hook; $menu .= '
  • '; @@ -556,7 +557,7 @@ function fields() { break; case "section_order": - $root = get_template_directory_uri(); + $root = get_template_directory_uri(); $values = explode(",", $val); $output .= "
    "; $output .= "
    "; diff --git a/core/classy-options/classy-options-framework/images/carbon_fibre.png b/core/classy-options/classy-options-framework/images/carbon_fibre.png old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/colorpicker/blank.gif b/core/classy-options/classy-options-framework/images/colorpicker/blank.gif old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_background.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_background.png old mode 100755 new mode 100644 index 8401572..19f66c7 Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_background.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_background.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hex.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hex.png old mode 100755 new mode 100644 index 4e532d7..645e199 Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hex.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hex.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_b.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_b.png old mode 100755 new mode 100644 index dfac595..2afa239 Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_b.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_b.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_h.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_h.png old mode 100755 new mode 100644 index 3977ed9..f119fa8 Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_h.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_h.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_s.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_s.png old mode 100755 new mode 100644 index a2a6997..87588be Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_s.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_hsb_s.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_indic.gif b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_indic.gif old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_overlay.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_overlay.png old mode 100755 new mode 100644 index 561cdd9..499df4c Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_overlay.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_overlay.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_b.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_b.png old mode 100755 new mode 100644 index dfac595..2afa239 Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_b.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_b.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_g.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_g.png old mode 100755 new mode 100644 index 72b3276..88904fe Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_g.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_g.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_r.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_r.png old mode 100755 new mode 100644 index 4855fe0..197b71d Binary files a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_r.png and b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_rgb_r.png differ diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_select.gif b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_select.gif old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_submit.png b/core/classy-options/classy-options-framework/images/colorpicker/colorpicker_submit.png old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/colorpicker/select.png b/core/classy-options/classy-options-framework/images/colorpicker/select.png old mode 100755 new mode 100644 index bfc46dc..85d58a2 Binary files a/core/classy-options/classy-options-framework/images/colorpicker/select.png and b/core/classy-options/classy-options-framework/images/colorpicker/select.png differ diff --git a/core/classy-options/classy-options-framework/images/downarrow.png b/core/classy-options/classy-options-framework/images/downarrow.png old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/ico-delete.png b/core/classy-options/classy-options-framework/images/ico-delete.png old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/sidearrow.png b/core/classy-options/classy-options-framework/images/sidearrow.png old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/toggle.png b/core/classy-options/classy-options-framework/images/toggle.png old mode 100755 new mode 100644 index df76a4b..95d31dc Binary files a/core/classy-options/classy-options-framework/images/toggle.png and b/core/classy-options/classy-options-framework/images/toggle.png differ diff --git a/core/classy-options/classy-options-framework/images/uparrow.png b/core/classy-options/classy-options-framework/images/uparrow.png old mode 100755 new mode 100644 diff --git a/core/classy-options/classy-options-framework/images/whitey.png b/core/classy-options/classy-options-framework/images/whitey.png old mode 100755 new mode 100644 diff --git a/core/css/orbit/bullets-new.png b/core/css/orbit/bullets-new.png old mode 100755 new mode 100644 index 67d454b..8d740cd Binary files a/core/css/orbit/bullets-new.png and b/core/css/orbit/bullets-new.png differ diff --git a/core/css/orbit/bullets-old.jpg b/core/css/orbit/bullets-old.jpg old mode 100755 new mode 100644 diff --git a/core/css/orbit/bullets.png b/core/css/orbit/bullets.png old mode 100755 new mode 100644 index 97f03d4..a74cef8 Binary files a/core/css/orbit/bullets.png and b/core/css/orbit/bullets.png differ diff --git a/core/css/orbit/bullets2.png b/core/css/orbit/bullets2.png old mode 100755 new mode 100644 index ec46b48..ff1a674 Binary files a/core/css/orbit/bullets2.png and b/core/css/orbit/bullets2.png differ diff --git a/core/css/orbit/left-arrow.png b/core/css/orbit/left-arrow.png old mode 100755 new mode 100644 index 18f891a..2aecfdb Binary files a/core/css/orbit/left-arrow.png and b/core/css/orbit/left-arrow.png differ diff --git a/core/css/orbit/loading.gif b/core/css/orbit/loading.gif old mode 100755 new mode 100644 index 969f505..28eb3a7 Binary files a/core/css/orbit/loading.gif and b/core/css/orbit/loading.gif differ diff --git a/core/css/orbit/mask-black.png b/core/css/orbit/mask-black.png old mode 100755 new mode 100644 index e4e77b5..28ec182 Binary files a/core/css/orbit/mask-black.png and b/core/css/orbit/mask-black.png differ diff --git a/core/css/orbit/next.png b/core/css/orbit/next.png old mode 100755 new mode 100644 diff --git a/core/css/orbit/pause-black.png b/core/css/orbit/pause-black.png old mode 100755 new mode 100644 index 904ff4a..fd7730c Binary files a/core/css/orbit/pause-black.png and b/core/css/orbit/pause-black.png differ diff --git a/core/css/orbit/play.png b/core/css/orbit/play.png old mode 100755 new mode 100644 diff --git a/core/css/orbit/prev.png b/core/css/orbit/prev.png old mode 100755 new mode 100644 diff --git a/core/css/orbit/right-arrow.png b/core/css/orbit/right-arrow.png old mode 100755 new mode 100644 index 7c9fe88..49222a5 Binary files a/core/css/orbit/right-arrow.png and b/core/css/orbit/right-arrow.png differ diff --git a/core/css/orbit/rotator-black.png b/core/css/orbit/rotator-black.png old mode 100755 new mode 100644 index a0d24a7..566c318 Binary files a/core/css/orbit/rotator-black.png and b/core/css/orbit/rotator-black.png differ diff --git a/core/css/orbit/spinner.gif b/core/css/orbit/spinner.gif old mode 100755 new mode 100644 index c95d05a..4e5abee Binary files a/core/css/orbit/spinner.gif and b/core/css/orbit/spinner.gif differ diff --git a/core/css/orbit/timer-black.png b/core/css/orbit/timer-black.png old mode 100755 new mode 100644 index e4e77b5..28ec182 Binary files a/core/css/orbit/timer-black.png and b/core/css/orbit/timer-black.png differ diff --git a/core/pro/actions/header-actions.php b/core/pro/actions/header-actions.php index 5f582c7..b60fae5 100755 --- a/core/pro/actions/header-actions.php +++ b/core/pro/actions/header-actions.php @@ -37,7 +37,7 @@ function response_pro_font() { $font = $options->get($themeslug.'_font'); } ?> - ', " > ', " > @@ -20,7 +20,7 @@ function widget($args, $instance) { 5, 'orderby' => 'comment_count', @@ -28,21 +28,21 @@ function widget($args, $instance) { 'order' => 'DESC' ); $cyberchimps_popular_posts = new WP_Query($args); - - while($cyberchimps_popular_posts->have_posts()): $cyberchimps_popular_posts->the_post(); + + while($cyberchimps_popular_posts->have_posts()): $cyberchimps_popular_posts->the_post(); ?>
  • - - - " style="width: 45px; height: 45px;" /> + @@ -62,39 +62,39 @@ function widget($args, $instance) { - +

    - + -

    - - + + \ No newline at end of file +} +?> diff --git a/core/widgets/recent-post.php b/core/widgets/recent-post.php index ceeb586..7dad188 100644 --- a/core/widgets/recent-post.php +++ b/core/widgets/recent-post.php @@ -4,12 +4,12 @@ ******************************************/ class cyberchimps_recent_posts extends WP_Widget { /** constructor */ - function cyberchimps_recent_posts() { - parent::WP_Widget(false, $name = 'Recent Posts With Thumbnails'); + function __construct() { // 2017-12-08 WRL Updated constructor name. + parent::__construct(false, $name = 'Recent Posts With Thumbnails'); // 2017-12-08 WRL Call generic parent constructor rather than WP_Widget() } /** @see WP_Widget::widget */ - function widget($args, $instance) { + function widget($args, $instance) { extract( $args ); $title = apply_filters('widget_title', $instance['title']); ?> @@ -21,7 +21,7 @@ function widget($args, $instance) { $args = array( 'posts_per_page' => 5, 'orderby' => 'date', - 'order' => 'DESC', + 'order' => 'DESC', 'ignore_sticky_posts' => 1 ); $cyberchimp_recent_posts = new WP_Query($args); @@ -30,15 +30,15 @@ function widget($args, $instance) {
  • - - - " style="width: 45px; height: 45px;"/> + @@ -55,35 +55,35 @@ function widget($args, $instance) {
  • + ?> - +

    - + -

    - - + + \ No newline at end of file +?> diff --git a/functions.php b/functions.php index 1e352c8..38c47d6 100755 --- a/functions.php +++ b/functions.php @@ -24,6 +24,7 @@ $root = get_template_directory_uri(); $pagedocs = 'http://cyberchimps.com/question/using-the-eclipse-pro-page-options/'; $sliderdocs = 'http://cyberchimps.com/question/using-the-eclipse-pro-feature-slider/'; + $sliderdocs = 'http://cyberchimps.com/guide/how-to-use-the-pro-slider/'; /** * Basic theme setup. @@ -708,4 +709,4 @@ function presstrends() { * End */ -?> \ No newline at end of file +?> diff --git a/images/Commentsgrey.png b/images/Commentsgrey.png old mode 100755 new mode 100644 index c97f68c..341d5c8 Binary files a/images/Commentsgrey.png and b/images/Commentsgrey.png differ diff --git a/images/achimps.png b/images/achimps.png old mode 100755 new mode 100644 index 9d0401a..d45d28c Binary files a/images/achimps.png and b/images/achimps.png differ diff --git a/images/afterfooter.png b/images/afterfooter.png index b028b05..7886eb5 100644 Binary files a/images/afterfooter.png and b/images/afterfooter.png differ diff --git a/images/apple-icon.png b/images/apple-icon.png old mode 100755 new mode 100644 index 8826a3c..1603aa2 Binary files a/images/apple-icon.png and b/images/apple-icon.png differ diff --git a/images/arrow-right.png b/images/arrow-right.png old mode 100755 new mode 100644 index b093867..b714f60 Binary files a/images/arrow-right.png and b/images/arrow-right.png differ diff --git a/images/arrow.png b/images/arrow.png old mode 100755 new mode 100644 diff --git a/images/arrowdrag.png b/images/arrowdrag.png old mode 100755 new mode 100644 diff --git a/images/bgimg.png b/images/bgimg.png index 1cac1a5..ee55d9c 100644 Binary files a/images/bgimg.png and b/images/bgimg.png differ diff --git a/images/breadcrumb-arrow.png b/images/breadcrumb-arrow.png old mode 100755 new mode 100644 index a788f1a..f766edd Binary files a/images/breadcrumb-arrow.png and b/images/breadcrumb-arrow.png differ diff --git a/images/calloutbg.png b/images/calloutbg.png old mode 100755 new mode 100644 index 4524826..c33a6a5 Binary files a/images/calloutbg.png and b/images/calloutbg.png differ diff --git a/images/comment-triangle.png b/images/comment-triangle.png index ffcb495..3cae047 100644 Binary files a/images/comment-triangle.png and b/images/comment-triangle.png differ diff --git a/images/continue.png b/images/continue.png index e5d0a8d..b9890cd 100644 Binary files a/images/continue.png and b/images/continue.png differ diff --git a/images/down-arrow.png b/images/down-arrow.png index 8da94c8..3383f8b 100644 Binary files a/images/down-arrow.png and b/images/down-arrow.png differ diff --git a/images/down-menu-arrow-hover.png b/images/down-menu-arrow-hover.png old mode 100755 new mode 100644 index 3f23239..80086ad Binary files a/images/down-menu-arrow-hover.png and b/images/down-menu-arrow-hover.png differ diff --git a/images/down-menu-arrow.png b/images/down-menu-arrow.png old mode 100755 new mode 100644 index d9a3248..de2c43d Binary files a/images/down-menu-arrow.png and b/images/down-menu-arrow.png differ diff --git a/images/downarrow.png b/images/downarrow.png old mode 100755 new mode 100644 diff --git a/images/footer.png b/images/footer.png index accc0a3..1fb59e9 100644 Binary files a/images/footer.png and b/images/footer.png differ diff --git a/images/formats/audio.png b/images/formats/audio.png index 012ca65..e020c3c 100644 Binary files a/images/formats/audio.png and b/images/formats/audio.png differ diff --git a/images/formats/link.png b/images/formats/link.png index 045b588..8ec2aac 100644 Binary files a/images/formats/link.png and b/images/formats/link.png differ diff --git a/images/formats/quote.png b/images/formats/quote.png index 729980e..b8b2622 100644 Binary files a/images/formats/quote.png and b/images/formats/quote.png differ diff --git a/images/formats/video.png b/images/formats/video.png index 4773ce9..b5ef412 100644 Binary files a/images/formats/video.png and b/images/formats/video.png differ diff --git a/images/grey.gif b/images/grey.gif old mode 100755 new mode 100644 index 8d74456..29f3e2e Binary files a/images/grey.gif and b/images/grey.gif differ diff --git a/images/headerbg.png b/images/headerbg.png old mode 100755 new mode 100644 index 4524826..c33a6a5 Binary files a/images/headerbg.png and b/images/headerbg.png differ diff --git a/images/headerbgdark.png b/images/headerbgdark.png old mode 100755 new mode 100644 index 8fa0878..e02c0a8 Binary files a/images/headerbgdark.png and b/images/headerbgdark.png differ diff --git a/images/home.png b/images/home.png old mode 100755 new mode 100644 diff --git a/images/icons/blueprint.png b/images/icons/blueprint.png old mode 100755 new mode 100644 diff --git a/images/icons/cal.png b/images/icons/cal.png index 75f2aa8..91f220a 100644 Binary files a/images/icons/cal.png and b/images/icons/cal.png differ diff --git a/images/icons/cat.png b/images/icons/cat.png index 7c5e97c..631794c 100644 Binary files a/images/icons/cat.png and b/images/icons/cat.png differ diff --git a/images/icons/cogs.png b/images/icons/cogs.png old mode 100755 new mode 100644 index 224c912..2599bff Binary files a/images/icons/cogs.png and b/images/icons/cogs.png differ diff --git a/images/icons/comments.png b/images/icons/comments.png index 35b714f..6c4b62f 100644 Binary files a/images/icons/comments.png and b/images/icons/comments.png differ diff --git a/images/icons/docs.png b/images/icons/docs.png old mode 100755 new mode 100644 index 5107583..b627ee3 Binary files a/images/icons/docs.png and b/images/icons/docs.png differ diff --git a/images/icons/home.png b/images/icons/home.png old mode 100755 new mode 100644 diff --git a/images/icons/iphone.png b/images/icons/iphone.png old mode 100755 new mode 100644 diff --git a/images/icons/search.png b/images/icons/search.png old mode 100755 new mode 100644 diff --git a/images/icons/slidericon.png b/images/icons/slidericon.png old mode 100755 new mode 100644 index 287d4fd..e7a19d7 Binary files a/images/icons/slidericon.png and b/images/icons/slidericon.png differ diff --git a/images/icons/tags.png b/images/icons/tags.png old mode 100755 new mode 100644 index c8cbc95..bfab480 Binary files a/images/icons/tags.png and b/images/icons/tags.png differ diff --git a/images/icons/widget.png b/images/icons/widget.png index a4cbbd7..7fde578 100644 Binary files a/images/icons/widget.png and b/images/icons/widget.png differ diff --git a/images/ifeaturelogo.png b/images/ifeaturelogo.png old mode 100755 new mode 100644 index abec2c5..3243851 Binary files a/images/ifeaturelogo.png and b/images/ifeaturelogo.png differ diff --git a/images/indent-menu-arrow-hover.png b/images/indent-menu-arrow-hover.png old mode 100755 new mode 100644 index 3951aa6..9ffc11a Binary files a/images/indent-menu-arrow-hover.png and b/images/indent-menu-arrow-hover.png differ diff --git a/images/indent-menu-arrow.png b/images/indent-menu-arrow.png old mode 100755 new mode 100644 index 48466b2..d505a32 Binary files a/images/indent-menu-arrow.png and b/images/indent-menu-arrow.png differ diff --git a/images/logo.png b/images/logo.png old mode 100755 new mode 100644 index 9eb85f8..054ba12 Binary files a/images/logo.png and b/images/logo.png differ diff --git a/images/minus.png b/images/minus.png old mode 100755 new mode 100644 diff --git a/images/nav.png b/images/nav.png old mode 100755 new mode 100644 index 1608ce6..a44e09b Binary files a/images/nav.png and b/images/nav.png differ diff --git a/images/nav_arrow.png b/images/nav_arrow.png old mode 100755 new mode 100644 index 59f6d89..caadda1 Binary files a/images/nav_arrow.png and b/images/nav_arrow.png differ diff --git a/images/next.png b/images/next.png old mode 100755 new mode 100644 diff --git a/images/nextpost.png b/images/nextpost.png index e5d0a8d..b9890cd 100644 Binary files a/images/nextpost.png and b/images/nextpost.png differ diff --git a/images/noise.jpg b/images/noise.jpg old mode 100755 new mode 100644 diff --git a/images/options/cyberchimpsmini.png b/images/options/cyberchimpsmini.png old mode 100755 new mode 100644 index bf34b1c..44d0bdf Binary files a/images/options/cyberchimpsmini.png and b/images/options/cyberchimpsmini.png differ diff --git a/images/options/ifeaturepro.png b/images/options/ifeaturepro.png old mode 100755 new mode 100644 diff --git a/images/options/left.png b/images/options/left.png old mode 100755 new mode 100644 index b56b7bb..6ee8d30 Binary files a/images/options/left.png and b/images/options/left.png differ diff --git a/images/options/none.png b/images/options/none.png old mode 100755 new mode 100644 index 3ad1ad5..6b133fc Binary files a/images/options/none.png and b/images/options/none.png differ diff --git a/images/options/right.png b/images/options/right.png old mode 100755 new mode 100644 index 9221596..ff02006 Binary files a/images/options/right.png and b/images/options/right.png differ diff --git a/images/options/rightleft.png b/images/options/rightleft.png old mode 100755 new mode 100644 index 8868a57..ed6ca3d Binary files a/images/options/rightleft.png and b/images/options/rightleft.png differ diff --git a/images/options/top.png b/images/options/top.png old mode 100755 new mode 100644 index 39a186e..47097f6 Binary files a/images/options/top.png and b/images/options/top.png differ diff --git a/images/options/tworight.png b/images/options/tworight.png old mode 100755 new mode 100644 index 2205edb..dd01882 Binary files a/images/options/tworight.png and b/images/options/tworight.png differ diff --git a/images/orbit/bullets-new.png b/images/orbit/bullets-new.png old mode 100755 new mode 100644 index 67d454b..8d740cd Binary files a/images/orbit/bullets-new.png and b/images/orbit/bullets-new.png differ diff --git a/images/orbit/bullets-old.jpg b/images/orbit/bullets-old.jpg old mode 100755 new mode 100644 diff --git a/images/orbit/bullets.jpg b/images/orbit/bullets.jpg old mode 100755 new mode 100644 diff --git a/images/orbit/bullets.png b/images/orbit/bullets.png old mode 100755 new mode 100644 index 97f03d4..a74cef8 Binary files a/images/orbit/bullets.png and b/images/orbit/bullets.png differ diff --git a/images/orbit/bullets2.png b/images/orbit/bullets2.png old mode 100755 new mode 100644 index ec46b48..ff1a674 Binary files a/images/orbit/bullets2.png and b/images/orbit/bullets2.png differ diff --git a/images/orbit/left-arrow.png b/images/orbit/left-arrow.png index 2f6b1c6..4ec51aa 100644 Binary files a/images/orbit/left-arrow.png and b/images/orbit/left-arrow.png differ diff --git a/images/orbit/loading.gif b/images/orbit/loading.gif old mode 100755 new mode 100644 index 969f505..28eb3a7 Binary files a/images/orbit/loading.gif and b/images/orbit/loading.gif differ diff --git a/images/orbit/mask-black.png b/images/orbit/mask-black.png old mode 100755 new mode 100644 index e4e77b5..28ec182 Binary files a/images/orbit/mask-black.png and b/images/orbit/mask-black.png differ diff --git a/images/orbit/next.png b/images/orbit/next.png old mode 100755 new mode 100644 diff --git a/images/orbit/pause-black.png b/images/orbit/pause-black.png old mode 100755 new mode 100644 diff --git a/images/orbit/play.png b/images/orbit/play.png old mode 100755 new mode 100644 diff --git a/images/orbit/prev.png b/images/orbit/prev.png old mode 100755 new mode 100644 diff --git a/images/orbit/right-arrow.png b/images/orbit/right-arrow.png index e8dc01f..e38aba3 100644 Binary files a/images/orbit/right-arrow.png and b/images/orbit/right-arrow.png differ diff --git a/images/orbit/rotator-black.png b/images/orbit/rotator-black.png old mode 100755 new mode 100644 index a0d24a7..566c318 Binary files a/images/orbit/rotator-black.png and b/images/orbit/rotator-black.png differ diff --git a/images/orbit/shadow.png b/images/orbit/shadow.png index 46214da..492991c 100644 Binary files a/images/orbit/shadow.png and b/images/orbit/shadow.png differ diff --git a/images/orbit/spinner.gif b/images/orbit/spinner.gif old mode 100755 new mode 100644 index c95d05a..4e5abee Binary files a/images/orbit/spinner.gif and b/images/orbit/spinner.gif differ diff --git a/images/orbit/timer-black.png b/images/orbit/timer-black.png old mode 100755 new mode 100644 index e4e77b5..28ec182 Binary files a/images/orbit/timer-black.png and b/images/orbit/timer-black.png differ diff --git a/images/plus.png b/images/plus.png old mode 100755 new mode 100644 diff --git a/images/portfolio/lightbox-blank.gif b/images/portfolio/lightbox-blank.gif old mode 100755 new mode 100644 diff --git a/images/portfolio/lightbox-ico-loading.gif b/images/portfolio/lightbox-ico-loading.gif old mode 100755 new mode 100644 diff --git a/images/prev.png b/images/prev.png old mode 100755 new mode 100644 diff --git a/images/previouspost.png b/images/previouspost.png index 8fe94b0..eb75daa 100644 Binary files a/images/previouspost.png and b/images/previouspost.png differ diff --git a/images/pro/carousel.jpg b/images/pro/carousel.jpg index 7281bf5..a3ce1c2 100644 Binary files a/images/pro/carousel.jpg and b/images/pro/carousel.jpg differ diff --git a/images/pro/carousel.png b/images/pro/carousel.png old mode 100755 new mode 100644 diff --git a/images/pro/checkbox.png b/images/pro/checkbox.png old mode 100755 new mode 100644 diff --git a/images/pro/portfolio.png b/images/pro/portfolio.png old mode 100755 new mode 100644 diff --git a/images/pro/product.jpg b/images/pro/product.jpg old mode 100755 new mode 100644 index b555ee7..bd4666b Binary files a/images/pro/product.jpg and b/images/pro/product.jpg differ diff --git a/images/pro/slider.png b/images/pro/slider.png old mode 100755 new mode 100644 diff --git a/images/pro/sliderdefault.jpg b/images/pro/sliderdefault.jpg index 74617c6..8fd3fde 100644 Binary files a/images/pro/sliderdefault.jpg and b/images/pro/sliderdefault.jpg differ diff --git a/images/share/facebook.png b/images/share/facebook.png old mode 100755 new mode 100644 diff --git a/images/share/linkedin.png b/images/share/linkedin.png old mode 100755 new mode 100644 index 5a99dae..9edffb8 Binary files a/images/share/linkedin.png and b/images/share/linkedin.png differ diff --git a/images/share/reddit.png b/images/share/reddit.png old mode 100755 new mode 100644 index 82cf642..2f29274 Binary files a/images/share/reddit.png and b/images/share/reddit.png differ diff --git a/images/share/twitter.png b/images/share/twitter.png old mode 100755 new mode 100644 diff --git a/images/slider/arrows.png b/images/slider/arrows.png old mode 100755 new mode 100644 index 77cb1d5..83618a9 Binary files a/images/slider/arrows.png and b/images/slider/arrows.png differ diff --git a/images/slider/bullets.png b/images/slider/bullets.png old mode 100755 new mode 100644 index 97f03d4..a74cef8 Binary files a/images/slider/bullets.png and b/images/slider/bullets.png differ diff --git a/images/slider/loading.gif b/images/slider/loading.gif old mode 100755 new mode 100644 index 1560b64..5cbb987 Binary files a/images/slider/loading.gif and b/images/slider/loading.gif differ diff --git a/images/sliderbg.png b/images/sliderbg.png old mode 100755 new mode 100644 index da4c11e..33d32df Binary files a/images/sliderbg.png and b/images/sliderbg.png differ diff --git a/images/sliderbglight.png b/images/sliderbglight.png old mode 100755 new mode 100644 index 20e10ed..9aa8e04 Binary files a/images/sliderbglight.png and b/images/sliderbglight.png differ diff --git a/images/social/default/email.png b/images/social/default/email.png old mode 100755 new mode 100644 index b411881..cac81da Binary files a/images/social/default/email.png and b/images/social/default/email.png differ diff --git a/images/social/default/facebook.png b/images/social/default/facebook.png old mode 100755 new mode 100644 diff --git a/images/social/default/flickr.png b/images/social/default/flickr.png old mode 100755 new mode 100644 index 1d554c1..7c22f4e Binary files a/images/social/default/flickr.png and b/images/social/default/flickr.png differ diff --git a/images/social/default/googlemaps.png b/images/social/default/googlemaps.png old mode 100755 new mode 100644 diff --git a/images/social/default/gplus.png b/images/social/default/gplus.png old mode 100755 new mode 100644 index 9c3b829..978c1db Binary files a/images/social/default/gplus.png and b/images/social/default/gplus.png differ diff --git a/images/social/default/linkedin.png b/images/social/default/linkedin.png old mode 100755 new mode 100644 diff --git a/images/social/default/pinterest.png b/images/social/default/pinterest.png old mode 100755 new mode 100644 index 7c6c566..8b56c86 Binary files a/images/social/default/pinterest.png and b/images/social/default/pinterest.png differ diff --git a/images/social/default/rss.png b/images/social/default/rss.png old mode 100755 new mode 100644 index 5521d1f..371334b Binary files a/images/social/default/rss.png and b/images/social/default/rss.png differ diff --git a/images/social/default/twitter.png b/images/social/default/twitter.png old mode 100755 new mode 100644 index badc038..6664e38 Binary files a/images/social/default/twitter.png and b/images/social/default/twitter.png differ diff --git a/images/social/default/youtube.png b/images/social/default/youtube.png old mode 100755 new mode 100644 index fa79e3d..044d823 Binary files a/images/social/default/youtube.png and b/images/social/default/youtube.png differ diff --git a/images/subheaderdark.png b/images/subheaderdark.png old mode 100755 new mode 100644 index f467685..8d58b39 Binary files a/images/subheaderdark.png and b/images/subheaderdark.png differ diff --git a/images/themes/bizpro.png b/images/themes/bizpro.png old mode 100755 new mode 100644 index df7e22d..060fefd Binary files a/images/themes/bizpro.png and b/images/themes/bizpro.png differ diff --git a/images/themes/cyberchimps.png b/images/themes/cyberchimps.png old mode 100755 new mode 100644 index 59e0a1c..dc022a9 Binary files a/images/themes/cyberchimps.png and b/images/themes/cyberchimps.png differ diff --git a/images/themes/ifeaturepro.png b/images/themes/ifeaturepro.png old mode 100755 new mode 100644 index c138a2f..8e37f4b Binary files a/images/themes/ifeaturepro.png and b/images/themes/ifeaturepro.png differ diff --git a/images/themes/neuropro.png b/images/themes/neuropro.png old mode 100755 new mode 100644 index ff7544d..9953a93 Binary files a/images/themes/neuropro.png and b/images/themes/neuropro.png differ diff --git a/images/themes/responsepro.png b/images/themes/responsepro.png old mode 100755 new mode 100644 index 0c7fe38..d10e30e Binary files a/images/themes/responsepro.png and b/images/themes/responsepro.png differ diff --git a/images/toggle.png b/images/toggle.png old mode 100755 new mode 100644 index df76a4b..95d31dc Binary files a/images/toggle.png and b/images/toggle.png differ diff --git a/images/twitterbarbg.png b/images/twitterbarbg.png index 85761fb..2132493 100644 Binary files a/images/twitterbarbg.png and b/images/twitterbarbg.png differ diff --git a/images/uparrow.png b/images/uparrow.png old mode 100755 new mode 100644 diff --git a/images/whitey.png b/images/whitey.png old mode 100755 new mode 100644 diff --git a/includes/options-functions.php b/includes/options-functions.php index ba9ccc7..526eec2 100755 --- a/includes/options-functions.php +++ b/includes/options-functions.php @@ -189,7 +189,7 @@ function add_menu_font() { $font = $options->get($themeslug.'_menu_font'); } - $fontstrip = ereg_replace("[^A-Za-z0-9\-]", " ", $font ); + $fontstrip = preg_replace("[^A-Za-z0-9\-]", " ", $font ); if( $font == 'Actor' || $font == 'Coda' || @@ -226,7 +226,7 @@ function add_secondary_font() { $font = $options->get($themeslug.'_secondary_font'); } - $fontstrip = ereg_replace("[^A-Za-z0-9\-]", " ", $font ); + $fontstrip = preg_replace("[^A-Za-z0-9\-]", " ", $font ); if( $font == 'Actor' || $font == 'Coda' || diff --git a/index.php b/index.php old mode 100755 new mode 100644 diff --git a/screenshot.png b/screenshot.png index ade9e25..808d3a5 100644 Binary files a/screenshot.png and b/screenshot.png differ