Changes from verbosa/0.9.0 at r357746 to verbosa/0.9.1 at r357746
- Location:
- verbosa
- Files:
-
- 2 added
- 11 deleted
- 70 edited
-
0.9.1/404.php (modified) (1 diff)
-
0.9.1/admin/defaults.php (modified) (7 diffs)
-
0.9.1/admin/images/1c.png (modified) ( previous)
-
0.9.1/admin/images/2cSl.png (modified) ( previous)
-
0.9.1/admin/images/2cSr.png (modified) ( previous)
-
0.9.1/admin/images/coffee.png (modified) ( previous)
-
0.9.1/admin/images/image-style-0.png (modified) ( previous)
-
0.9.1/admin/images/image-style-1.png (modified) ( previous)
-
0.9.1/admin/images/image-style-2.png (modified) ( previous)
-
0.9.1/admin/images/image-style-3.png (modified) ( previous)
-
0.9.1/admin/images/image-style-4.png (modified) ( previous)
-
0.9.1/admin/images/image-style-5.png (modified) ( previous)
-
0.9.1/admin/images/logo-about-customize.png (modified) ( previous)
-
0.9.1/admin/images/logo-about-top.png (modified) ( previous)
-
0.9.1/admin/images/logo-customizer.png (modified) ( previous)
-
0.9.1/admin/images/magazine-1col.png (modified) ( previous)
-
0.9.1/admin/images/magazine-2col.png (modified) ( previous)
-
0.9.1/admin/images/magazine-3col.png (modified) ( previous)
-
0.9.1/admin/js/admin.js (modified) (1 diff)
-
0.9.1/admin/main.php (modified) (7 diffs)
-
0.9.1/admin/options.php (modified) (10 diffs)
-
0.9.1/archive.php (modified) (1 diff)
-
0.9.1/attachment.php (modified) (1 diff)
-
0.9.1/author.php (modified) (3 diffs)
-
0.9.0/category.php (deleted)
-
0.9.1/content/content-index.php (modified) (1 diff)
-
0.9.0/cryout/_autoupdate.php (deleted)
-
0.9.1/cryout/admin-functions.php (modified) (3 diffs)
-
0.9.1/cryout/css/customizer.css (modified) (3 diffs)
-
0.9.1/cryout/customizer.php (modified) (14 diffs)
-
0.9.1/cryout/framework.php (modified) (2 diffs)
-
0.9.1/cryout/js/customizer.js (modified) (2 diffs)
-
0.9.0/cryout/languages (deleted)
-
0.9.1/cryout/prototypes.php (modified) (4 diffs)
-
0.9.0/cryout/settings-xml.php (deleted)
-
0.9.0/cryout/widget-areas.php (deleted)
-
0.9.0/cryout/widgets.php (deleted)
-
0.9.1/functions.php (modified) (2 diffs)
-
0.9.1/includes/core.php (modified) (7 diffs)
-
0.9.1/includes/custom-styles.php (modified) (7 diffs)
-
0.9.1/includes/hooks.php (modified) (1 diff)
-
0.9.1/includes/loop.php (modified) (4 diffs)
-
0.9.1/includes/setup.php (modified) (7 diffs)
-
0.9.1/includes/styles.php (modified) (3 diffs)
-
0.9.0/languages/_default.pot (deleted)
-
0.9.1/languages/verbosa.pot (added)
-
0.9.0/license.txt (deleted)
-
0.9.1/page.php (modified) (1 diff)
-
0.9.1/readme.txt (modified) (3 diffs)
-
0.9.1/resources/fonts/fontello.eot (modified) ( previous)
-
0.9.1/resources/fonts/fontello.ttf (modified) ( previous)
-
0.9.1/resources/fonts/fontello.woff (modified) ( previous)
-
0.9.1/resources/fonts/fontfaces.css (modified) (1 diff)
-
0.9.1/resources/fonts/icomoon.eot (modified) ( previous)
-
0.9.1/resources/fonts/icomoon.ttf (modified) ( previous)
-
0.9.1/resources/fonts/icomoon.woff (modified) ( previous)
-
0.9.1/resources/images/headers/breakfast.jpg (modified) ( previous)
-
0.9.1/resources/images/headers/homeoffice.jpg (modified) ( previous)
-
0.9.1/resources/images/headers/typewriter.jpg (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern1.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern2.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern3.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern4.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern5.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern6.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern7.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern8.png (modified) ( previous)
-
0.9.1/resources/images/patterns/pattern9.png (modified) ( previous)
-
0.9.1/resources/js/frontend.js (modified) (2 diffs)
-
0.9.1/resources/js/html5shiv.js (added)
-
0.9.0/resources/js/masonry.min.js (deleted)
-
0.9.1/resources/styles/responsive.css (modified) (7 diffs)
-
0.9.1/screenshot.png (modified) ( previous)
-
0.9.1/search.php (modified) (1 diff)
-
0.9.1/single.php (modified) (1 diff)
-
0.9.1/style.css (modified) (71 diffs)
-
0.9.0/tag.php (deleted)
-
0.9.0/templates/template-blog.php (deleted)
-
0.9.1/templates/template-onecolumn.php (modified) (1 diff)
-
0.9.1/templates/template-page-with-intro.php (modified) (1 diff)
-
0.9.1/templates/template-twocolumns-left.php (modified) (1 diff)
-
0.9.1/templates/template-twocolumns-right.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
verbosa/0.9.1/404.php
r357746 r357746 10 10 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 13 13 14 14 <header id="post-0" class="pad-container error404 not-found" <?php cryout_schema_microdata('element'); ?>> -
verbosa/0.9.1/admin/defaults.php
r357746 r357746 16 16 "verbosa_sitewidth" => 1440, // pixels 17 17 //"verbosa_contentwidth" => 66, // percent 18 //"verbosa_sidebar" => 34, // percent 18 //"verbosa_sidebar" => 34, // percent 19 19 "verbosa_sidebar" => 440, // pixels 20 20 "verbosa_sidebarback" => 1, // 0,1 21 21 "verbosa_magazinelayout" => 1, // one column 22 22 23 23 "verbosa_headerheight" => 250, // pixels 24 24 "verbosa_logoupload" => '', // empty … … 29 29 "verbosa_fgeneralgoogle" => '', 30 30 "verbosa_fgeneralsize" => '18px', 31 "verbosa_fgeneralweight" => ' 300',32 31 "verbosa_fgeneralweight" => '400', 32 33 33 "verbosa_fsitetitle" => 'Josefin Sans/gfont', 34 34 "verbosa_fsitetitlegoogle" => '', … … 47 47 "verbosa_fwtitlegoogle" => '', 48 48 "verbosa_fwtitlesize" => '80%', 49 "verbosa_fwtitleweight" => '400', 49 "verbosa_fwtitleweight" => '400', 50 50 "verbosa_fwcontent" => 'Merriweather/gfont', 51 51 "verbosa_fwcontentgoogle" => '', 52 52 "verbosa_fwcontentsize" => '100%', 53 "verbosa_fwcontentweight" => '400', 53 "verbosa_fwcontentweight" => '400', 54 54 55 55 "verbosa_ftitles" => 'Merriweather/gfont', 56 56 "verbosa_ftitlesgoogle" => '', 57 57 "verbosa_ftitlessize" => '220%', 58 "verbosa_ftitlesweight" => '400', 58 "verbosa_ftitlesweight" => '400', 59 59 "verbosa_fmetas" => 'Lato/gfont', 60 60 "verbosa_fmetasgoogle" => '', 61 61 "verbosa_fmetassize" => '85%', 62 "verbosa_fmetasweight" => ' 300',62 "verbosa_fmetasweight" => '400', 63 63 "verbosa_fheadings" => 'Merriweather/gfont', 64 64 "verbosa_fheadingsgoogle" => '', 65 65 "verbosa_fheadingssize" => '120%', 66 "verbosa_fheadingsweight" => '400', 66 "verbosa_fheadingsweight" => '400', 67 67 68 68 "verbosa_textalign" => "Default", … … 76 76 "verbosa_contentbackground" => "#fff", 77 77 "verbosa_sidebarbackground" => "#fff", 78 "verbosa_footerbackground" => "#fff", 78 "verbosa_footerbackground" => "#fff", 79 79 "verbosa_menutext" => "#555", 80 80 "verbosa_menutexthover" => "#F26E3F", … … 87 87 "verbosa_pagination" => 1, 88 88 "verbosa_contenttitles" => 1, // 1, 2, 3, 0 89 89 90 90 "verbosa_elementborder" => 0, 91 91 "verbosa_elementshadow" => 1, … … 109 109 "verbosa_comdate" => 2, // 1, 2 110 110 "verbosa_comclosed" => 1, // 1, 2, 3, 0 111 "verbosa_comformwidth" => 0, // pixels 111 "verbosa_comformwidth" => 0, // pixels 112 112 113 113 "verbosa_excerpthome" => 'excerpt', … … 127 127 128 128 "verbosa_socials_header_above" => 0, 129 "verbosa_socials_header_below" => 1,129 "verbosa_socials_header_below" => 0, 130 130 "verbosa_socials_footer" => 0, 131 131 -
verbosa/0.9.1/admin/js/admin.js
r357746 r357746 20 20 if (!confirm(reset_confirmation)) { return false;} 21 21 }); 22 23 /* jQuery version for admin page system info */24 text = jQuery('#cryout-sysinfo').val();25 text = text.replace('jQuery not detected', jQuery.fn.jquery);26 if(text.length) jQuery('#cryout-sysinfo').val(text);27 22 28 23 });/* document.ready */ 29 24 30 25 31 /* FB like button */32 (function(d, s, id) {33 var js, fjs = d.getElementsByTagName(s)[0];34 if (d.getElementById(id)) return;35 js = d.createElement(s); js.id = id;36 js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";37 fjs.parentNode.insertBefore(js, fjs);38 }(document, 'script', 'facebook-jssdk'));39 40 /* Twitter follow button */41 window.twttr = (function (d, s, id) {42 var t, js, fjs = d.getElementsByTagName(s)[0];43 if (d.getElementById(id)) return;44 js = d.createElement(s); js.id = id;45 js.src= "https://platform.twitter.com/widgets.js";46 fjs.parentNode.insertBefore(js, fjs);47 return window.twttr || (t = { _e: [], ready: function (f) { t._e.push(f) } });48 }(document, "script", "twitter-wjs"));49 50 26 /* FIN */ -
verbosa/0.9.1/admin/main.php
r357746 r357746 38 38 // Hooks/Filters 39 39 add_action('admin_menu', 'verbosa_add_page_fn'); 40 add_action('init', 'verbosa_init');40 //add_action('init', 'verbosa_init'); 41 41 42 42 // Add admin scripts … … 63 63 } // verbosa_add_page_fn() 64 64 65 65 66 // Display the admin options page 66 67 if ( isset( $_POST['verbosa_export'] ) ){68 add_action( 'init', 'cryout_export_options' );69 }70 67 function verbosa_page_fn() { 71 68 … … 74 71 } 75 72 76 // Load the import form page if the import button has been pressed77 if (isset($_POST['verbosa_import'])) {78 cryout_import_form();79 return;80 }81 82 // Load the import form page after upload button has been pressed83 if (isset($_POST['cryout_import_confirmed'])) {84 cryout_import_file();85 return;86 }87 88 73 // Reset settings to defaults if the reset button has been pressed 89 74 if (isset($_POST['verbosa_reset_defaults'])) { … … 137 122 138 123 <a class="button" href="customize.php" id="customizer"> <?php _e('Customize Verbosa', 'verbosa'); ?> </a> 139 140 <div id="debuginfo">141 <?php cryout_sysinfo(); ?>142 </div>143 124 144 125 </div><!--lefty --> … … 170 151 </form> 171 152 </div> 172 173 <p>or socially smother, caress and embrace us:</p> 174 <div style="display:table;float:none;margin:0 auto;"> 175 <div id="fb-root"></div><div class="fb-like" data-href="https://www.facebook.com/CryoutCreations" data-layout="button" data-action="like" data-show-faces="false" data-share="false"></div> 176 <a href="https://twitter.com/cryoutcreations" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @cryoutcreations</a> 177 <script src="https://apis.google.com/js/platform.js" async defer></script> <div class="g-plusone" data-href="https://plus.google.com/+CryoutcreationsEuCR2" data-size="medium" data-annotation="none"></div> 178 </div> 153 179 154 </div><!-- inside --> 180 155 … … 185 160 <h3 class="hndle"><?php _e( 'Settings Management', 'verbosa' ); ?></h3> 186 161 <div class="panel-wrap inside"> 187 188 <form action="" method="post"> 189 <?php wp_nonce_field('verbosa-export', 'verbosa-export'); ?> 190 <input type="hidden" name="verbosa_export" value="true" /> 191 <input type="submit" class="button" value="<?php _e('Export Theme Settings', 'verbosa'); ?>" /> 192 </form> 193 <br /> 194 195 <form action="" method="post"> 196 <input type="hidden" name="verbosa_import" value="true" /> 197 <input type="submit" class="button" value="<?php _e('Import Theme Settings', 'verbosa'); ?>" /> 198 </form> 199 <br /> 200 162 201 163 <form action="" method="post"> 202 164 <input type="hidden" name="verbosa_reset_defaults" value="true" /> … … 209 171 210 172 <div id="verbosa-news" class="postbox news" > 211 <h3 class="hndle"><?php _e( ' Latest News', 'verbosa' ); ?></h3>173 <h3 class="hndle"><?php _e( 'Theme Updates', 'verbosa' ); ?></h3> 212 174 <div class="panel-wrap inside"> 213 175 </div><!-- inside --> -
verbosa/0.9.1/admin/options.php
r357746 r357746 49 49 50 50 'info_sections' => array( 51 ' support' => array(52 'title' => __( ' Support', 'cryout' ),51 'about' => array( 52 'title' => __( 'About ' . _CRYOUT_THEME_NAME, 'cryout' ), 53 53 'desc' => __( 'Got a question? Need help?', 'cryout' ), 54 54 ), 55 'rating' => array(56 'title' => __( 'Rating', 'cryout' ),57 'desc' => __( 'If you like the theme, rate it. If you hate the theme, rate it as well. Let us know how we can make it better.', 'cryout' ),58 ),59 55 ), // info_sections 60 56 61 57 'info_settings' => array( 62 'support_link 1' => array(63 ' default' => 'http://www.cryoutcreations.eu/' . _CRYOUT_THEME_NAME . '/' . _CRYOUT_THEME_NAME .'-faqs',64 ' label' => __( 'Read the FAQs', 'cryout'),65 'desc' => '',66 'section' => ' support',67 ), 68 'support_link 2' => array(69 ' default' => 'http://www.cryoutcreations.eu/forums/f/wordpress/' . cryout_sanitize_tn( _CRYOUT_THEME_NAME ),70 ' label' => __( 'Browse the Forum', 'cryout'),71 'desc' => '', 72 'section' => ' support',58 'support_link_faqs' => array( 59 'label' => '', 60 'default' => sprintf( '<a href="http://www.cryoutcreations.eu/' . _CRYOUT_THEME_NAME . '/' . _CRYOUT_THEME_NAME .'-faqs" target="_blank">%s</a>', __( 'Read the FAQs', 'cryout' ) ), 61 'desc' => '', 62 'section' => 'about', 63 ), 64 'support_link_forum' => array( 65 'label' => '', 66 'default' => sprintf( '<a href="http://www.cryoutcreations.eu/forums/f/wordpress/' . cryout_sanitize_tn( _CRYOUT_THEME_NAME ) . '" target="_blank">%s</a>', __( 'Browse the Forum', 'cryout' ) ), 67 'desc' => '', 68 'section' => 'about', 73 69 ), 74 70 'premium_support_link' => array( 75 ' default' => 'https://www.cryoutcreations.eu/premium-support',76 ' label' => __( 'Request Premium Support', 'cryout'),77 'desc' => __( 'We also provide fast support via our premium support system.', 'cryout' ),78 'section' => ' support',71 'label' => '', 72 'default' => sprintf( '<a href="https://www.cryoutcreations.eu/premium-support" target="_blank">%s</a>', __( 'Priority Support', 'cryout' ) ), 73 'desc' => '', 74 'section' => 'about', 79 75 ), 80 76 'rating_url' => array( 81 'default' => 'https://wordpress.org/support/view/theme-reviews/'. cryout_sanitize_tn( _CRYOUT_THEME_NAME ).'#postform', 82 'label' => sprintf( __( 'Rate %s on Wordpress.org', 'cryout' ) , ucwords(_CRYOUT_THEME_NAME) ), 83 'desc' => '', 84 'section' => 'rating', 85 ), 86 ), // info_settings 77 'label' => __('Rating', 'cryout'), 78 'default' => sprintf( '<a href="https://wordpress.org/support/view/theme-reviews/'. cryout_sanitize_tn( _CRYOUT_THEME_NAME ).'#postform" target="_blank">%s</a>', sprintf( __( 'Rate %s on WordPress.org', 'cryout' ) , ucwords(_CRYOUT_THEME_NAME) ) ), 79 'desc' => __('If you like the theme, rate it. If you hate the theme, rate it as well. Let us know how we can make it better.', 'cryout'), 80 'section' => 'about', 81 ), 82 'management' => array( 83 'label' => __('Manage Settings', 'cryout') , 84 'default' => sprintf( '<a href="themes.php?page=about-' . cryout_sanitize_tn( _CRYOUT_THEME_NAME ) . '-theme">%s</a>', __('Manage Theme Settings', 'cryout') ), 85 'desc' => __('Theme settings can be imported, exported or reset from the theme\'s about page.', 'cryout'), 86 'section' => 'about', 87 ), 88 ), // info_settings 87 89 88 90 'panel_overrides' => array( 89 91 'background' => array( 90 'title' => __( 'Background', 'cryout' ),92 'title' => __( 'Background', 'cryout' ), 91 93 'desc' => __( 'Background Settings.', 'cryout' ), 92 94 'priority' => 50, 93 'section' => ' verbosa_graphics_section',95 'section' => 'cryoutoverride-verbosa_siteidentity', 94 96 'replaces' => 'background_image', 95 97 'type' => 'section', … … 99 101 'desc' => __( 'Header Image Settings.', 'cryout' ), 100 102 'priority' => 50, 101 'section' => ' verbosa_header_section',103 'section' => 'cryoutoverride-verbosa_siteidentity', 102 104 'replaces' => 'header_image', 103 105 'type' => 'section', … … 107 109 'desc' => '', 108 110 'priority' => 50, 109 'section' => ' verbosa_header_section',111 'section' => 'cryoutoverride-verbosa_siteidentity', 110 112 'replaces' => 'title_tagline', 111 113 'type' => 'section', … … 123 125 'panels' => array( 124 126 125 array('id'=>'verbosa_ header_section', 'title'=>__('Header','verbosa'), 'callback'=>''),127 array('id'=>'verbosa_siteidentity', 'title'=>__('Site Identity','verbosa'), 'callback'=>'', 'identifier'=>'cryoutoverride-' ), 126 128 array('id'=>'verbosa_graphics_section', 'title'=>__('Graphics','verbosa') , 'callback'=>''), 127 129 array('id'=>'verbosa_post_section', 'title'=>__('Post Information','verbosa') , 'callback'=>''), … … 137 139 array('id'=>'verbosa_layout', 'title'=>__('Layout', 'verbosa'), 'callback'=>'', 'sid'=>''), 138 140 // header 139 array('id'=>'verbosa_siteheader', 'title'=>__('Header Structure','verbosa'), 'callback'=>'', 'sid'=> 'verbosa_header_section'), 141 array('id'=>'verbosa_siteheader', 'title'=>__('Header Structure','verbosa'), 'callback'=>'', 'sid'=> ''), 142 // presentation 143 /* to be done */ 140 144 // text 141 145 array('id'=>'verbosa_fontfamily', 'title'=>__('General Font','verbosa'), 'callback'=>'', 'sid'=> 'verbosa_text_section'), … … 302 306 'label' => __('Logo Image','verbosa'), 303 307 'desc' => __("The logo will appear in the header.","verbosa"), 308 'disable_if' => 'the_custom_logo', 304 309 'section' => 'verbosa_siteheader' ), 305 310 array( … … 901 906 'desc' => __("Enable to also show the selected featured image on single posts and pages.","verbosa"), 902 907 'section' => 'verbosa_featured' ), 903 /*array(904 'id' => 'verbosa_fpostlink',905 'type' => 'checkbox',906 'label' => __( 'Link the thumbnail to the post', 'verbosa' ),907 'desc' => __("Show featured images as thumbnails on posts. The images must be selected for each post in the Featured Image section.","verbosa"),908 'section' => 'verbosa_featured' ),*/909 908 array( 910 909 'id' => 'verbosa_fauto', … … 925 924 'type' => 'number', 926 925 'label' => __( 'Featured Image Height', 'verbosa' ), 927 'desc' => __("In pixels. The width is not configurable as it is site-width and layout dependent.<br> " , "verbosa"), //<strong style='color: #990000;'>You will need to use a thumbnail regeneration plugin after changing size options to recreate the thumbnails at the new size.</strong>"926 'desc' => __("In pixels. The width is not configurable as it is site-width and layout dependent.<br><u style='color: #990000;'>Remember to regenerate your thumbnails after changing this value</u>" , "verbosa"), 928 927 'section' => 'verbosa_featured' ), 929 928 array( … … 987 986 //////////////////////////////////////////////////// !!! DEVELOPER !!! //////////////////////////////////////////////////// 988 987 array( 989 'id' => 'verbosa_frontpage ',990 'type' => 'select', 991 'label' => __('Presentation Page ','verbosa'),992 'values' => array( 2,1, 0 ),993 'labels' => array( __("Enabled (with posts)", "verbosa"), __("Enabled (without posts)","verbosa"), __("Disabled (use Wordpress homepage)","verbosa") ),994 'desc' => sprintf( __("Enable the Presentation Page homepage feature which replaces the default Wordpress homepage.<br><br>If you have this option enabled and you can't see the presentation page, make sure that </strong>Your Front page displays</strong> is set to the default value <strong>Your Latest Posts</strong>.<br><br>If you want another page to hold your latest blog posts, set it to use the 'Blog (Posts) Template' from the page templates list.","verbosa"), '#'),988 'id' => 'verbosa_frontpageslider', 989 'type' => 'select', 990 'label' => __('Presentation Page Slider','verbosa'), 991 'values' => array( 1, 0 ), 992 'labels' => array( __("Enabled", "verbosa"), __("Disabled","verbosa") ), 993 'desc' => sprintf( __("Enable the Presentation Page homepage slider above the posts list.","verbosa"), '#'), 995 994 'section' => 'verbosa_developer' ), 996 array(997 'id' => 'verbosa_topbar',998 'type' => 'select',999 'values' => array( 1, 0 ),1000 'labels' => array( __("Enabled","verbosa"), __("Disabled","verbosa") ),1001 'label' => __('Top Bar','verbosa'),1002 'desc' => __("The top bar is displayed above the menu/site title.","verbosa"),1003 'section' => 'verbosa_developer' ),1004 array(1005 'id' => 'verbosa_headermargintop',1006 'type' => 'number',1007 'label' => 'Header Content Spacing',1008 'desc' => __("Top margin (%)","verbosa"),1009 'order' => 4,1010 'section' => 'verbosa_developer' ),1011 array(1012 'id' => 'verbosa_headermarginleft',1013 'type' => 'number',1014 'label' => '',1015 'desc' => __("Left margin (%)","verbosa"),1016 'order' => 4,1017 'section' => 'verbosa_developer' ),1018 array(1019 'id' => 'verbosa_duality',1020 'type' => 'select',1021 'label' => 'Duality',1022 'values' => array( "Wide" , "Boxed" ),1023 'labels' => array( __("Wide","verbosa"), __("Boxed","verbosa") ),1024 'desc' => __("Select the layout format for your site.<br> <strong>Wide</strong> - full width layout. <br><strong>Boxed</strong> - fixed width layout.","verbosa"),1025 'section' => 'verbosa_developer' ),1026 array(1027 'id' => 'verbosa_mobile',1028 'type' => 'select',1029 'label' => 'Mobile',1030 'values' => array( 1, 0 ),1031 'labels' => array( __("Enabled","verbosa"), __("Disabled","verbosa") ),1032 'desc' => '',1033 'section' => 'verbosa_developer' ),1034 array(1035 'id' => 'verbosa_customjs',1036 'type' => 'textarea',1037 'label' => __( 'Custom JavaScript', 'verbosa' ),1038 'desc' => __("Insert your simple Javascript code to include in the footer. This field does not accept <script> tags.","verbosa"),1039 'section' => 'verbosa_developer' ),1040 1041 995 1042 996 ), // options … … 1057 1011 'labels' => array( ), 1058 1012 'desc' => '', 1013 // conditionals 1014 'disable_if' => 'function_name', 1015 'require_fn' => 'function_name', 1059 1016 'section' => '' ), 1060 1017 -
verbosa/0.9.1/archive.php
r357746 r357746 4 4 * 5 5 * Used to display archive-type pages if nothing more specific matches a query. 6 * For example, puts together date-based pages if no date.php file exists. 7 * 8 * If you'd like to further customize these archive views, you may create a 9 * new template file for each one. For example, tag.php (Tag archives), 10 * category.php (Category archives), author.php (Author archives), etc. 11 * 12 * @link https://codex.wordpress.org/Template_Hierarchy 6 13 * 7 14 * @package Verbosa 15 * 8 16 */ 9 17 10 18 get_header(); ?> 11 19 12 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>">13 <?php verbosa_header_section() ?>14 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?>>15 <?php cryout_before_content_hook(); ?>20 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 21 <?php verbosa_header_section() ?> 22 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 23 <?php cryout_before_content_hook(); ?> 16 24 17 25 <?php if ( have_posts() ) : ?> 18 26 19 <header class="arhive-header pad-container" <?php cryout_schema_microdata('element'); ?>> 20 <h1 class="page-title" <?php cryout_schema_microdata('entry-title'); ?>> 21 <?php if ( is_day() ) : ?> 22 <?php printf( __( 'Daily Archives: %s', 'verbosa' ), '<strong>' . get_the_date() . '</strong>' ); ?> 23 <?php elseif ( is_month() ) : ?> 24 <?php printf( __( 'Monthly Archives: %s', 'verbosa' ), '<strong>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'verbosa' ) ) . '</strong>' ); ?> 25 <?php elseif ( is_year() ) : ?> 26 <?php printf( __( 'Yearly Archives: %s', 'verbosa' ), '<strong>' . get_the_date( _x( 'Y', 'yearly archives date format', 'verbosa' ) ) . '</strong>' ); ?> 27 <?php else : ?> 28 <?php _e( 'Blog Archives', 'verbosa' ); ?> 29 <?php endif; ?> 30 </h1> 31 </header> 32 33 <div id="content-masonry"> 34 <?php /* Start the Loop */ ?> 35 <?php while ( have_posts() ) : the_post(); ?> 27 <header class="page-header pad-container" <?php cryout_schema_microdata('element'); ?>> 28 <?php 29 the_archive_title( '<h1 class="page-title" ' . cryout_schema_microdata('entry-title', 0) . '>', '</h1>' ); 30 the_archive_description( '<div class="taxonomy-description">', '</div>' ); 31 ?> 32 </header><!-- .page-header --> 33 34 <div id="content-masonry"> 35 <?php 36 while ( have_posts() ) : the_post(); 36 37 37 <?php 38 /* Include the Post-Format-specific template for the content. 39 * If you want to overload this in a child theme then include a file 40 * called content-___.php (where ___ is the Post Format name) and that will be used instead. 41 */ 42 get_template_part( 'content/content', get_post_format() ); 43 ?> 38 /* 39 * Include the Post-Format-specific template for the content. 40 * If you want to override this in a child theme, then include a file 41 * called content-___.php (where ___ is the Post Format name) and that will be used instead. 42 */ 43 get_template_part( 'content/content', get_post_format() ); 44 44 45 <?php endwhile; ?> 46 </div><!--content-masonry--> 47 <?php 48 verbosa_pagination(); 45 endwhile; 46 ?> 47 48 </div><!--content-masonry--> 49 <?php verbosa_pagination(); 49 50 50 else :51 51 // If no content, include the "No posts found" template. 52 else : 52 53 get_template_part( 'content/content', 'notfound' ); 53 ?><div id="content-masonry"></div><?php 54 55 endif; ?> 56 57 <?php cryout_after_content_hook(); ?> 58 </main><!-- #main --> 59 </div><!-- #container --> 54 endif; 60 55 56 cryout_after_content_hook(); ?> 57 </main><!-- #main --> 58 </div><!-- #container --> 61 59 62 60 <?php get_footer(); ?> -
verbosa/0.9.1/attachment.php
r357746 r357746 10 10 <div id="container" class="single-attachment <?php echo verbosa_get_layout_class(); ?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" >12 <main id="main" role="main" class="main"> 13 13 14 14 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> -
verbosa/0.9.1/author.php
r357746 r357746 10 10 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 13 13 <?php cryout_before_content_hook(); ?> 14 14 … … 25 25 the_post(); 26 26 ?> 27 <header class=" author-header pad-container">27 <header class="page-header pad-container"> 28 28 <?php 29 29 /* Since we called the_post() above, we need to … … 37 37 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'verbosa_author_bio_avatar_size', 80 ), '', '', array('extra_attr' => cryout_schema_microdata('image', 0) ) ); ?> 38 38 </div><!-- #author-avatar --> 39 <h2 class="page-title" cryout_schema_microdata('author-name', 0)><?php echo __('Author:', 'verbosa') . ' <strong' . cryout_schema_microdata('author-name', 0) . '>' . esc_attr( get_the_author() ) . '</strong>'; ?></h2>39 <h2 class="page-title" <?php cryout_schema_microdata('author-name', 0) ?>><?php echo __('Author:', 'verbosa') . ' <strong' . cryout_schema_microdata('author-name', 0) . '>' . esc_attr( get_the_author() ) . '</strong>'; ?></h2> 40 40 41 41 <?php // If a user has filled out their description, show a bio on their entries. -
verbosa/0.9.1/content/content-index.php
r357746 r357746 8 8 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 9 9 <?php verbosa_header_section() ?> 10 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >10 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 11 11 <?php cryout_before_content_hook(); ?> 12 12 -
verbosa/0.9.1/cryout/admin-functions.php
r357746 r357746 4 4 * @since Cryout 0.5.1 5 5 */ 6 7 // generic functions8 9 function cryout_export_options(){10 11 if (ob_get_contents()) ob_clean();12 13 /* Check authorisation */14 $authorised = true;15 // Check nonce16 if ( ! wp_verify_nonce( $_POST[_CRYOUT_THEME_NAME.'-export'], _CRYOUT_THEME_NAME.'-export' ) ) {17 $authorised = false;18 }19 // Check permissions20 if ( ! current_user_can( 'edit_theme_options' ) ){21 $authorised = false;22 }23 24 if ( $authorised) {25 26 date_default_timezone_set('UTC');27 $name = _CRYOUT_THEME_NAME.'settings-'.preg_replace("/[^a-z0-9-_]/i",'',preg_replace("/https?\:\/\//","",get_option('siteurl'))).'-'.date('Ymd-His').'.xml';28 $data = cryout_get_theme_options();29 $data[_CRYOUT_THEME_NAME . '_version'] = _CRYOUT_THEME_VERSION;30 //$data = json_encode( $data );31 //$size = strlen( $data );32 $xml = Cryout_Array2XML::createXML(_CRYOUT_THEME_NAME . '-settings', $data);33 34 header( 'Content-Type: text/xml' );35 header( 'Content-Disposition: attachment; filename="'.$name.'"' );36 header( "Content-Transfer-Encoding: binary" );37 header( 'Accept-Ranges: bytes' );38 39 /* The three lines below basically make the download non-cacheable */40 header( "Cache-control: private" );41 header( 'Pragma: private' );42 header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );43 44 //header( "Content-Length: " . sizeof($xml) );45 print ( $xml->saveXML() );46 }47 die();48 } // cryout_export_options()49 50 /**51 * This file manages the theme settings uploading and import operations.52 * Uses the theme page to create a new form for uplaoding the settings53 * Uses WP_Filesystem54 */55 function cryout_import_form(){56 57 $bytes = apply_filters( 'import_upload_size_limit', wp_max_upload_size() );58 $size = size_format( $bytes );59 $upload_dir = wp_upload_dir();60 if ( ! empty( $upload_dir['error'] ) ) :61 ?><div class="error"><p><?php _e('Before you can upload your import file, you will need to fix the following error:', 'cryout'); ?></p>62 <p><strong><?php echo $upload_dir['error']; ?></strong></p></div><?php63 else :64 ?>65 <style>.notice, div.error, div.updated {max-width: 400px;padding: 1em; margin: 2em 2em 0 2em;}</style>66 <div class="wrap">67 <div style="display: inline-block; margin: 2em; padding: 2em; background: #fff;">68 <div id="icon-tools" class="icon32"><br></div>69 <h2><?php echo __( 'Import Customizer Theme Settings', 'cryout' );?></h2>70 <form enctype="multipart/form-data" id="import-upload-form" method="post" action="">71 <p><?php _e('<em> Please remember that this is still an experimental feature.</em>', 'cryout'); ?></p>72 <p>73 <label for="upload"><strong><?php _e('Choose an XML file:', 'cryout'); ?> </strong><i>(<?php echo _CRYOUT_THEME_NAME; ?>-settings.xml)</i></label><br><br>74 <input type="file" id="upload" name="import" size="25" />75 <span style="font-size:11px;">(<?php printf( __( 'Maximum size: %s', 'cryout' ), $size ); ?> )</span>76 <input type="hidden" name="action" value="save" />77 <input type="hidden" name="max_file_size" value="<?php echo $bytes; ?>" />78 <?php wp_nonce_field(_CRYOUT_THEME_NAME.'-import', _CRYOUT_THEME_NAME.'-import'); ?>79 <input type="hidden" name="cryout_import_confirmed" value="true" />80 </p><br>81 <input type="submit" class="button" value="<?php _e('Import', 'cryout'); ?>" style="display: table; margin: 0 auto;"/>82 </form>83 </div>84 </div> <!-- end wrap -->85 <?php86 endif;87 } // cryout_import_form()88 89 /**90 * This actual import of the options from the file to the settings array.91 */92 function cryout_import_file() {93 94 $theme_settings = cryout_get_theme_options();95 96 /* Check authorisation */97 $authorised = true;98 // Check nonce99 if (!wp_verify_nonce($_POST[_CRYOUT_THEME_NAME.'-import'], _CRYOUT_THEME_NAME.'-import')) {$authorised = false;}100 // Check permissions101 if (!current_user_can('edit_theme_options')){ $authorised = false; }102 103 // If the user is authorised, import the theme's options to the database104 if ($authorised) {?>105 <?php106 // make sure there is an import file uploaded107 if ( (isset($_FILES["import"]["size"]) && ($_FILES["import"]["size"] > 0) ) ) {108 109 $form_fields = array('import');110 $method = '';111 112 $url = wp_nonce_url('themes.php?page='._CRYOUT_THEME_NAME.'-page', _CRYOUT_THEME_NAME.'-import');113 114 // Get file writing credentials115 if (false === ($creds = request_filesystem_credentials($url, $method, false, false, $form_fields) ) ) {116 return true;117 }118 119 if ( ! WP_Filesystem($creds) ) {120 // our credentials were no good, ask the user for them again121 request_filesystem_credentials($url, $method, true, false, $form_fields);122 return true;123 }124 125 // Write the file if credentials are good126 $upload_dir = wp_upload_dir();127 $filename = trailingslashit($upload_dir['path'])._CRYOUT_THEME_NAME.'-settings-import-'.date('Ymd-His').'.xml';128 129 // by this point, the $wp_filesystem global should be working, so let's use it to create a file130 global $wp_filesystem;131 if ( ! $wp_filesystem->move($_FILES['import']['tmp_name'], $filename, true) ) {132 echo 'Error saving file!';133 return;134 }135 136 $file = $_FILES['import'];137 138 if ($file['type'] == 'text/xml') {139 140 $data = $wp_filesystem->get_contents($filename);141 // try to read the file142 if ($data !== FALSE){143 //$settings = json_decode($data, true);144 $settings = Cryout_XML2Array::createArray($data);145 $settings = $settings["verbosa-settings"];146 // try to read the settings array147 if (isset($settings[_CRYOUT_THEME_NAME . '_db'])){ ?>148 <div class="wrap">149 <div id="icon-tools" class="icon32"><br></div>150 <h2><?php echo __( 'Import Theme Options ', 'cryout' );?></h2> <?php151 $settings = array_merge($theme_settings, $settings);152 update_option(_CRYOUT_THEME_NAME.'_settings', $settings);153 echo '<div class="updated fade"><p>'. __('Great! The options have been imported!', 'cryout').'<br />';154 echo '<a href="themes.php?page=about-'._CRYOUT_THEME_NAME.'-theme">'.__('Go back to the theme settings page and check them out!', 'cryout').'<a></p></div>';155 }156 else { // else: try to read the settings array157 echo '<div class="error"><p><strong>'.__('Oops, there\'s a small problem.', 'cryout').'</strong><br />';158 echo __('The uploaded file does not contain valid theme options. Make sure the file is exported from the theme options page.', 'cryout').'</p></div>';159 cryout_import_form();160 }161 }162 else { // else: try to read the file163 echo '<div class="error"><p><strong>'.__('Oops, there\'s a small problem.', 'cryout').'</strong><br />';164 echo __('The uploaded file could not be read.', 'cryout').'</p></div>';165 cryout_import_form();166 }167 }168 else { // else: make sure the file uploaded was a plain text file169 echo '<div class="error"><p><strong>'.__('Oops, there\'s a small problem.', 'cryout').'</strong><br />';170 echo __('The uploaded file is not supported. Make sure the file was exported from the theme settings page and that it is an XML file.', 'cryout').'</p></div>';171 cryout_import_form();172 }173 174 // Delete the file after we're done175 $wp_filesystem->delete($filename);176 177 }178 else { // else: make sure there is an import file uploaded179 echo '<div class="error"><p>'.__( 'Oops! The file is empty or there was no file. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.', 'cryout' ).'</p></div>';180 cryout_import_form();181 }182 echo '</div> <!-- end wrap -->';183 }184 else {185 wp_die(__('ERROR: You are not authorised to perform that operation', 'cryout'));186 }187 } // cryout_import_file()188 6 189 7 // Truncate function for use in the Admin RSS feed … … 195 13 add_action('wp_ajax_feed_action', 'cryout_fetch_feed'); 196 14 function cryout_fetch_feed() { 197 15 198 16 $theme_news = fetch_feed( array( 'http://www.cryoutcreations.eu/cat/'._CRYOUT_THEME_NAME.'/feed/') ); 199 17 $maxitems = 0; … … 211 29 <a class="news-more" target="_blank" href='<?php echo esc_url( $news_item->get_permalink() ); ?>'><?php _e('Read the full post','cryout');?> →</a> 212 30 </li> 213 <?php endforeach; 31 <?php endforeach; 214 32 endif; ?> 215 33 </ul> 216 <?php 34 <?php 217 35 die(); 218 36 } // cryout_fetch_feed() 219 220 // Gather sys info for debug221 /* Inspired by Easy Digital Download plugin by Pippin Williamson */222 function cryout_sysinfo($echo=true) {223 ob_start();224 ?>225 <div class="wrap">226 <h3><?php _e( 'Debug Information', 'cryout' ); ?></h3>227 <p><?php _e( 'Please include the debug information when creating a support request or posting to the forum.' , 'cryout' ) ?></p>228 229 <textarea readonly="readonly" onclick="this.focus();" id="cryout-sysinfo" name="cryout-sysinfo" title="" rows="10">230 General Information231 -------------------232 Website URL : <?php echo site_url() . "\n"; ?>233 Home URL : <?php echo home_url() . "\n"; ?>234 Multisite : <?php echo ( is_multisite() ? 'Yes' : 'No' ) . "\n" ?>235 236 Theme : <?php printf( '%1$s v%2$s', _CRYOUT_THEME_NAME, _CRYOUT_THEME_VERSION ); echo "\n"; ?>237 <?php if ( get_stylesheet_directory() != get_template_directory() ) { $child_theme = wp_get_theme(); ?>238 Child Theme : <?php printf( '%1$s v%2$s', $child_theme->get('Name'), $child_theme->get('Version') ); echo "\n" ?>239 <?php }; ?>240 WordPress : <?php echo get_bloginfo( 'version' ) . "\n"; ?>241 Language : <?php echo get_bloginfo( 'language' ) . (is_RTL() ? ' (RTL)' : '') . "\n" ; ?>242 jQuery : jQuery not detected243 Permalinks : <?php echo get_option( 'permalink_structure' ) . "\n"; ?>244 WP_DEBUG : <?php echo defined( 'WP_DEBUG' ) ? WP_DEBUG ? 'On' . "\n" : 'Off' . "\n" : 'Undefined' . "\n" ?>245 246 Show On Front : <?php echo get_option( 'show_on_front' ) . "\n" ?>247 Page On Front : <?php $id = get_option( 'page_on_front' ); echo get_the_title( $id ) . ' ID=' . $id . '' . "\n" ?>248 Page For Posts : <?php $id = get_option( 'page_for_posts' ); echo get_the_title( $id ) . ' ID=' . $id . '' . "\n" ?>249 250 PHP : <?php echo PHP_VERSION . "\n"; ?>251 MySQL : <?php echo @mysql_get_server_info() . "\n"; ?>252 Server : <?php echo $_SERVER['SERVER_SOFTWARE'] . "\n"; ?>253 254 WordPress Memory Limit : <?php echo WP_MEMORY_LIMIT; echo "\n"; ?>255 PHP Safe Mode : <?php echo ini_get( 'safe_mode' ) ? "Yes" : "No\n"; ?>256 PHP Memory Limit : <?php echo ini_get( 'memory_limit' ) . "\n"; ?>257 PHP Upload Max Size : <?php echo ini_get( 'upload_max_filesize' ) . "\n"; ?>258 PHP Post Max Size : <?php echo ini_get( 'post_max_size' ) . "\n"; ?>259 PHP Time Limit : <?php echo ini_get( 'max_execution_time' ) . "\n"; ?>260 PHP Max Input Vars : <?php echo ini_get( 'max_input_vars' ) . "\n"; ?>261 PHP Allow URL FOpen : <?php echo ini_get( 'allow_url_fopen' ) ? "Yes\n" : "No\n"; ?>262 263 Currently active plugins264 ------------------------265 <?php266 $plugins = get_plugins();267 $active_plugins = get_option( 'active_plugins', array() );268 269 foreach ( $plugins as $plugin_path => $plugin ) {270 // If the plugin isn't active, don't show it.271 if ( ! in_array( $plugin_path, $active_plugins ) )272 continue;273 274 echo $plugin['Name'] . ': ' . $plugin['Version'] ."\n";275 }276 277 if ( is_multisite() ) :278 $plugins = wp_get_active_network_plugins();279 $active_plugins = get_site_option( 'active_sitewide_plugins', array() );280 281 foreach ( $plugins as $plugin_path ) {282 $plugin_base = plugin_basename( $plugin_path );283 284 // If the plugin isn't active, don't show it.285 if ( ! array_key_exists( $plugin_base, $active_plugins ) )286 continue;287 288 $plugin = get_plugin_data( $plugin_path );289 290 echo $plugin['Name'] . ' :' . $plugin['Version'] . " (multisite)\n";291 }292 293 endif;294 ?>295 --296 </textarea>297 </div> <?php298 $output = ob_get_contents();299 ob_end_clean();300 if ($echo) echo $output; else return $output;301 } // cryout_sysinfo() -
verbosa/0.9.1/cryout/css/customizer.css
r357746 r357746 13 13 margin-left: 0 !important; 14 14 width: 40% !important; } 15 15 /* wp 4.5+ */ 16 .wp-full-overlay .wp-full-overlay-footer { transition: width .2s; } 17 .wp-full-overlay.cryout-maximized .wp-full-overlay-footer { width: 40% !important; } 18 .wp-full-overlay-footer .devices .cryout-expand-sidebar { float: left; position: static; } 19 .wp-full-overlay-footer .devices .cryout-expand-sidebar .collapse-sidebar-label { display: none; } 16 20 17 21 /* 1 */ … … 96 100 } 97 101 102 #accordion-section-about .accordion-section-content { 103 display: block; 104 } 105 #accordion-section-about .customize-cryout-about-link a { 106 background: #fff; 107 padding: 4px 10px; 108 font-weight: bold; 109 } 110 98 111 /* Theme logo in Customizer >> About menu item */ 99 112 #accordion-panel-cryout-about-theme > .accordion-section-title::before { 100 background: url(../../admin/images/logo-customizer.png) no-repeat;113 background: url(../../admin/images/logo-customizer.png) center right no-repeat; 101 114 content: ""; 102 115 height: 22px; … … 104 117 right: 40px; 105 118 top: 11px; 106 width: 90px;119 min-width: 35%; 107 120 } 108 121 -
verbosa/0.9.1/cryout/customizer.php
r357746 r357746 2 2 /** 3 3 * Custom WP Customizer functionality 4 * @since Cryout 0.5.25 4 */ 6 5 … … 30 29 31 30 function cryout_customizer_sanitize_color($input){ 32 if ( preg_match('/#?([0-9a-f]{6}|[0-9a-f]{3})/i', $input, $ms) ) return '#' . $ms[1]; 33 return ''; 31 return sanitize_hex_color($input); 34 32 } // cryout_customizer_sanitize_color() 35 33 … … 66 64 public $type = 'about'; 67 65 public function render_content() { 68 ?> 69 <label> 70 <?php if ( ! empty( $this->label ) ) : ?> 71 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 72 <?php endif; 73 if ( ! empty( $this->description ) ) : ?> 74 <span class="description customize-control-description"><?php echo $this->description; ?></span> 75 <?php endif; ?> 76 </label> 77 <?php 66 if ( ! empty( $this->label ) ) { ?> 67 <span class="customize-control-title"><?php echo $this->label ?></span> 68 <?php } 69 if ( ! empty( $this->description ) ) { ?> 70 <span class="description customize-control-description cryout-nomove"><?php echo $this->description; ?></span> 71 <?php } ?> 72 <span class="customize-control-content customize-cryout-about-link"><?php echo $this->value() ?></span> 73 <?php 78 74 } 79 75 } // class Cryout_Customize_About_Control … … 85 81 echo ' '; 86 82 } 87 } // class Cryout_Customize_ Link_Control83 } // class Cryout_Customize_Blank_Control 88 84 89 85 … … 93 89 public function render_content() { 94 90 $this->fonts = cryout_get_theme_structure('fonts'); 95 ?>96 <label>97 <?php if ( ! empty( $this->label ) ) : ?>98 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span>99 <?php endif;100 if ( ! empty( $this->description ) ) : ?>101 <span class="description customize-control-description"><?php echo $this->description; ?></span>102 <?php endif; ?>103 104 <select <?php $this->link(); ?>>105 <?php91 ?> 92 <label> 93 <?php if ( ! empty( $this->label ) ) : ?> 94 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?></span> 95 <?php endif; 96 if ( ! empty( $this->description ) ) : ?> 97 <span class="description customize-control-description"><?php echo $this->description; ?></span> 98 <?php endif; ?> 99 100 <select <?php $this->link(); ?>> 101 <?php 106 102 foreach ( $this->fonts as $fgroup => $fsubs ): ?> 107 103 <optgroup label='<?php echo $fgroup; ?>'> … … 114 110 </optgroup> 115 111 <?php endforeach; // $this->fonts ?> 116 </select>117 </label>118 <?php112 </select> 113 </label> 114 <?php 119 115 } // render_content() 116 117 public function enqueue() { 118 wp_enqueue_script( 'jquery-ui-core' ); 119 wp_enqueue_script( 'jquery-ui-slider' ); 120 wp_enqueue_script( 'cryout-customizer-controls-js', get_template_directory_uri() . '/cryout/js/customizer-controls.js', array('jquery'), _CRYOUT_THEME_VERSION ); 121 wp_enqueue_style( 'jquery-ui-slider', get_template_directory_uri() . '/cryout/css/jquery-ui.structure.css', NULL, _CRYOUT_THEME_VERSION ); 122 wp_enqueue_style( 'jquery-ui-slider-theme', get_template_directory_uri() . '/cryout/css//jquery-ui.theme.css', NULL, _CRYOUT_THEME_VERSION ); 123 } // enqueue() 120 124 121 125 } // class Cryout_Customize_Font_Control … … 123 127 124 128 class Cryout_Customize_Slider_Control extends WP_Customize_Control { 125 public $type = 'slider'; 126 public function __construct($manager, $id, $args = array(), $options = array()) { 127 parent::__construct( $manager, $id, $args ); 128 } // __construct() 129 130 public function render_content() { ?> 131 <label> 132 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?>: 133 <strong class="value"><?php echo $this->value(); ?></strong><?php echo $this->input_attrs['um']; ?> 134 </span> 135 </label> 136 <input name="<?php echo $this->id; ?>" type="number" <?php $this->link(); ?> value="<?php echo $this->value(); ?>" class="slider" 137 step="<?php echo $this->input_attrs['step'] ?>" min="<?php echo $this->input_attrs['min'] ?>" max="<?php echo $this->input_attrs['max'] ?>" /> 138 <div class="slider"></div> 139 <?php if ( ! empty( $this->description ) ) : ?> 140 <span class="description cryout-nomove customize-control-description"><?php echo $this->description; ?></span> 141 <?php endif; ?> 142 <?php 143 } // render_content() 144 145 public function enqueue() { 146 wp_enqueue_script( 'jquery-ui-core' ); 147 wp_enqueue_script( 'jquery-ui-slider' ); 148 wp_enqueue_script( 'cryout-customizer-controls-js', get_template_directory_uri() . '/cryout/js/customizer-controls.js', array('jquery'), _CRYOUT_THEME_VERSION ); 149 wp_enqueue_style( 'jquery-ui-slider', get_template_directory_uri() . '/cryout/css/jquery-ui.structure.css', NULL, _CRYOUT_THEME_VERSION ); 150 wp_enqueue_style( 'jquery-ui-slider-theme', get_template_directory_uri() . '/cryout/css//jquery-ui.theme.css', NULL, _CRYOUT_THEME_VERSION ); 151 $cryout_theme_structure = cryout_get_theme_structure(); 152 $verbosas = cryout_get_option(); 153 154 // google fonts enqueues for the font selectors preview 155 $gfonts = array(); 156 $cryout_theme_structure = cryout_get_theme_structure(); 157 $cryout_theme_options = cryout_get_option(); 158 foreach ($cryout_theme_structure['google-font-enabled-fields'] as $item) { 159 if ( preg_match('/^(.*)\/gfont$/i', $cryout_theme_options[$item], $bits) ) $gfonts[] = $bits[1]; 160 }; 161 if ( count($gfonts) ): 162 wp_enqueue_style( 'cryout-googlefonts', '//fonts.googleapis.com/css?family=' . implode( "|" , array_unique($gfonts) ), null, _CRYOUT_THEME_VERSION ); 163 endif; 164 } // enqueue() 129 130 public $type = 'slider'; 131 public function __construct($manager, $id, $args = array(), $options = array()) { 132 parent::__construct( $manager, $id, $args ); 133 } // __construct() 134 135 public function render_content() { ?> 136 <label> 137 <span class="customize-control-title"><?php echo esc_html( $this->label ); ?>: 138 <strong class="value"><?php echo $this->value(); ?></strong><?php echo $this->input_attrs['um']; ?> 139 </span> 140 </label> 141 <input name="<?php echo $this->id; ?>" type="number" <?php $this->link(); ?> value="<?php echo $this->value(); ?>" class="slider" 142 step="<?php echo $this->input_attrs['step'] ?>" min="<?php echo $this->input_attrs['min'] ?>" max="<?php echo $this->input_attrs['max'] ?>" /> 143 <div class="slider"></div> 144 <?php if ( ! empty( $this->description ) ) : ?> 145 <span class="description cryout-nomove customize-control-description"><?php echo $this->description; ?></span> 146 <?php endif; ?> 147 <?php 148 } // render_content() 149 150 public function enqueue() { 151 // google fonts enqueues for the font selectors preview 152 $gfonts = array(); 153 $cryout_theme_structure = cryout_get_theme_structure(); 154 $cryout_theme_options = cryout_get_option(); 155 foreach ($cryout_theme_structure['google-font-enabled-fields'] as $item) { 156 if ( preg_match('/^(.*)\/gfont$/i', $cryout_theme_options[$item], $bits) ) $gfonts[] = $bits[1]; 157 }; 158 if ( count($gfonts) ): 159 wp_enqueue_style( 'cryout-googlefonts', '//fonts.googleapis.com/css?family=' . implode( "|" , array_unique($gfonts) ), null, _CRYOUT_THEME_VERSION ); 160 endif; 161 } // enqueue() 165 162 166 163 } // class Cryout_Customize_Slider_Control … … 168 165 169 166 class Cryout_Customize_SliderTwo_Control extends WP_Customize_Control { 170 public $type = 'slidertwo';171 public function __construct($manager, $id, $args = array(), $options = array()) {172 parent::__construct( $manager, $id, $args );173 } // __construct()174 175 public function render_content() { ?>176 <label><span class="customize-control-title"><?php echo esc_html( $this->label ); ?>:177 <strong class="value"><?php echo $this->value(); ?></strong><?php echo $this->input_attrs['um']; ?> /178 <strong class="value2"><?php echo ( intval($this->input_attrs['total']) - intval($this->value()) ); ?></strong><?php echo $this->input_attrs['um']; ?>179 </span></label>180 <input name="<?php echo $this->id; ?>" type="number" <?php $this->link(); ?> value="<?php echo $this->value(); ?>" class="slidertwo"181 step="<?php echo $this->input_attrs['step'] ?>" min="<?php echo $this->input_attrs['min'] ?>"182 max="<?php echo $this->input_attrs['max'] ?>" size="<?php echo $this->input_attrs['total'] ?>"/>183 <div class="slidertwo"></div>184 <?php if ( ! empty( $this->description ) ) : ?>185 <span class="description cryout-nomove customize-control-description"><?php echo $this->description; ?></span>186 <?php endif; ?>187 <?php188 } // render_content()189 190 public function enqueue() {191 wp_enqueue_script( 'jquery-ui-core' );192 wp_enqueue_script( 'jquery-ui-slider' );193 wp_enqueue_script( 'cryout-customizer-controls-js', get_template_directory_uri() . '/cryout/js/customizer-controls.js', array('jquery'), _CRYOUT_THEME_VERSION );194 wp_enqueue_style( 'jquery-ui-slider', get_template_directory_uri() . '/cryout/css/jquery-ui.structure.css' );195 wp_enqueue_style( 'jquery-ui-slider-theme', get_template_directory_uri() . '/cryout/css//jquery-ui.theme.css' );196 } // enqueue()167 public $type = 'slidertwo'; 168 public function __construct($manager, $id, $args = array(), $options = array()) { 169 parent::__construct( $manager, $id, $args ); 170 } // __construct() 171 172 public function render_content() { ?> 173 <label><span class="customize-control-title"><?php echo esc_html( $this->label ); ?>: 174 <strong class="value"><?php echo $this->value(); ?></strong><?php echo $this->input_attrs['um']; ?> / 175 <strong class="value2"><?php echo ( intval($this->input_attrs['total']) - intval($this->value()) ); ?></strong><?php echo $this->input_attrs['um']; ?> 176 </span></label> 177 <input name="<?php echo $this->id; ?>" type="number" <?php $this->link(); ?> value="<?php echo $this->value(); ?>" class="slidertwo" 178 step="<?php echo $this->input_attrs['step'] ?>" min="<?php echo $this->input_attrs['min'] ?>" 179 max="<?php echo $this->input_attrs['max'] ?>" size="<?php echo $this->input_attrs['total'] ?>"/> 180 <div class="slidertwo"></div> 181 <?php if ( ! empty( $this->description ) ) : ?> 182 <span class="description cryout-nomove customize-control-description"><?php echo $this->description; ?></span> 183 <?php endif; ?> 184 <?php 185 } // render_content() 186 187 public function enqueue() { 188 wp_enqueue_script( 'jquery-ui-core' ); 189 wp_enqueue_script( 'jquery-ui-slider' ); 190 wp_enqueue_script( 'cryout-customizer-controls-js', get_template_directory_uri() . '/cryout/js/customizer-controls.js', array('jquery'), _CRYOUT_THEME_VERSION ); 191 wp_enqueue_style( 'jquery-ui-slider', get_template_directory_uri() . '/cryout/css/jquery-ui.structure.css' ); 192 wp_enqueue_style( 'jquery-ui-slider-theme', get_template_directory_uri() . '/cryout/css//jquery-ui.theme.css' ); 193 } // enqueue() 197 194 198 195 } // class Cryout_Customize_Slider_Control … … 200 197 201 198 class Cryout_Customize_RadioImage_Control extends WP_Customize_Control { 202 public $type = 'radioimage'; 203 public function __construct($manager, $id, $args = array(), $options = array()) { 204 parent::__construct( $manager, $id, $args ); 205 } // __construct() 206 207 public function render_content() { 208 209 if ( empty( $this->choices ) ) return; 210 211 $name = '_customize-imageradio-' . $this->id; ?> 212 213 <?php if ( ! empty( $this->label ) ) { ?> <span class="customize-control-title"><?php echo esc_html( $this->label ) ?></span> <?php } ?> 214 215 <div class="buttonset"> <?php 216 foreach ( $this->choices as $value => $data ) : 199 public $type = 'radioimage'; 200 public function __construct($manager, $id, $args = array(), $options = array()) { 201 parent::__construct( $manager, $id, $args ); 202 } // __construct() 203 204 public function render_content() { 205 206 if ( empty( $this->choices ) ) return; 217 207 218 $data['url'] = esc_url( sprintf( $data['url'], get_template_directory_uri(), get_stylesheet_directory_uri() ) ); 219 ?> 220 <input type="radio" value="<?php echo esc_attr( $value ); ?>" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ) . "-" . $value; ?>" <?php $this->link(); checked( $this->value(), $value ); ?> /> 221 <label for="<?php echo esc_attr( $name ) . "-" . $value; ?>"> 222 <img src="<?php echo $data['url'] ?>" alt="<?php echo esc_html( $data['label'] ) ?>" title="<?php echo esc_html( $data['label'] ) ?>"/> 223 <span class="screen-reader-text"><?php echo esc_html( $data['label'] ); ?></span> 224 </label> 225 <?php 226 endforeach; ?> 227 </div><!-- .buttonset --> 228 229 <?php if ( ! empty( $this->description ) ) { ?> <span class="description cryout-nomove customize-control-description"><?php echo $this->description; ?></span><?php } ?> 230 <?php 231 } // render_content() 232 233 public function enqueue() { 234 wp_enqueue_script( 'jquery-ui-core' ); 235 wp_enqueue_script( 'jquery-ui-button' ); 236 wp_enqueue_script( 'cryout-customizer-controls-js', get_template_directory_uri() . '/cryout/js/customizer-controls.js', array('jquery'), _CRYOUT_THEME_VERSION ); 237 } 208 $name = '_customize-imageradio-' . $this->id; ?> 209 210 <?php if ( ! empty( $this->label ) ) { ?> <span class="customize-control-title"><?php echo esc_html( $this->label ) ?></span> <?php } ?> 211 212 <div class="buttonset"> <?php 213 foreach ( $this->choices as $value => $data ) : 214 215 $data['url'] = esc_url( sprintf( $data['url'], get_template_directory_uri(), get_stylesheet_directory_uri() ) ); 216 ?> 217 <input type="radio" value="<?php echo esc_attr( $value ); ?>" name="<?php echo esc_attr( $name ); ?>" id="<?php echo esc_attr( $name ) . "-" . $value; ?>" <?php $this->link(); checked( $this->value(), $value ); ?> /> 218 <label for="<?php echo esc_attr( $name ) . "-" . $value; ?>"> 219 <img src="<?php echo $data['url'] ?>" alt="<?php echo esc_html( $data['label'] ) ?>" title="<?php echo esc_html( $data['label'] ) ?>"/> 220 <span class="screen-reader-text"><?php echo esc_html( $data['label'] ); ?></span> 221 </label> 222 <?php 223 endforeach; ?> 224 </div><!-- .buttonset --> 225 226 <?php if ( ! empty( $this->description ) ) { ?> <span class="description cryout-nomove customize-control-description"><?php echo $this->description; ?></span><?php } ?> 227 <?php 228 } // render_content() 229 230 public function enqueue() { 231 wp_enqueue_script( 'jquery-ui-core' ); 232 wp_enqueue_script( 'jquery-ui-button' ); 233 wp_enqueue_script( 'cryout-customizer-controls-js', get_template_directory_uri() . '/cryout/js/customizer-controls.js', array('jquery'), _CRYOUT_THEME_VERSION ); 234 } 238 235 } // class Cryout_Customize_RadioImage_Control 239 236 … … 242 239 243 240 244 ////////// THE CUSTOMIZER CLASS /////////241 ////////// THE CUSTOMIZER CLASS ///////// 245 242 class Cryout_Customizer { 246 243 … … 252 249 global $cryout_theme_settings; 253 250 global $cryout_theme_defaults; 251 252 ////////// add about theme panel and sections ////////// 253 if (!empty($cryout_theme_settings['info_sections'])): 254 $wp_customize->add_panel( 'cryout-about-theme', array( 255 'priority' => 0, 256 'title' => sprintf( __( 'About %s', 'cryout' ), ucwords(_CRYOUT_THEME_NAME) ), 257 'description' => sprintf( __( '%1$s by %1$s', 'cryout' ), ucwords(_CRYOUT_THEME_NAME), 'Cryout Creations' ), 258 ) ); 259 $section_priority = 10; 260 261 foreach ($cryout_theme_settings['info_sections'] as $iid=>$info): 262 $wp_customize->add_section( $iid, array( 263 'title' => $info['title'], 264 'description' => $info['desc'], 265 'priority' => $section_priority++, 266 'panel' => 'cryout-about-theme', 267 ) ); 268 endforeach; 269 endif; //!empty 270 271 foreach ($cryout_theme_settings['info_settings'] as $iid => $info): 272 $wp_customize->add_setting( $iid, array( 273 'default' => $info['default'], 274 'capability' => 'edit_theme_options', 275 'sanitize_callback' => 'cryout_customizer_sanitize_blank' 276 ) ); 277 $wp_customize->add_control( new Cryout_Customize_About_Control( $wp_customize, $iid, array( 278 'label' => $info['label'], 279 'description' => $info['desc'], 280 'section' => $info['section'], 281 'default' => $info['default'], 282 'settings' => $iid, 283 'priority' => 10, 284 ) ) ); 285 endforeach; 286 ////////// end about panel 287 288 ////////// add custom theme options panels ////////// 289 $priority = 45; 290 foreach ($cryout_theme_settings['panels'] as $panel): 291 292 $identifier = ( !empty($panel['identifier'])? $panel['identifier'] : 'cryout-' ); 293 $wp_customize->add_panel( $identifier . $panel['id'], array( 294 'title' => $panel['title'], 295 'description' => '', 296 'priority' => $priority+=5, 297 ) ); 298 299 endforeach; 300 301 ////////// add custom theme options sections, settings and empty placeholder control ////////// 302 $section_priority = 60; 303 foreach ($cryout_theme_settings['sections'] as $section): 304 305 // override section id to make it uniquely identifiable 306 $wp_customize->add_section( 'cryout-' . $section['id'], array( 307 'title' => $section['title'], 308 'description' => '', //__( '', 'cryout' ), 309 'priority' => ( isset($section['priority']) ? $section['priority'] : $section_priority+=5 ), 310 'panel' => ($section['sid']?'cryout-' . $section['sid']:''), 311 ) ); 312 313 $wp_customize->add_setting( 'placeholder_'.$section_priority, array( 314 'default' => '', 315 'capability' => 'edit_theme_options', 316 'sanitize_callback' => 'cryout_customizer_sanitize_blank' 317 ) ); 318 319 // override section id to make it uniquely identifiable 320 $wp_customize->add_control( new Cryout_Customize_Blank_Control( $wp_customize, 'placeholder_'.$section_priority, array( 321 'section' => 'cryout-' . $section['id'], 322 'settings' => 'placeholder_'.$section_priority, 323 'priority' => 10, 324 ) ) ); 325 326 endforeach; 327 ////////// end option panels/sections 254 328 255 329 ////////// override built-in wordpress customizer panels, if set ////////// … … 274 348 break; 275 349 case 'section': // move built-in setting to theme panel 276 $wp_customize->get_section( $pover['replaces'] )->panel = 'cryout-' .$pover['section'];350 $wp_customize->get_section( $pover['replaces'] )->panel = $pover['section']; 277 351 $wp_customize->get_section( $pover['replaces'] )->priority = $pover['priority2']; 278 352 break; … … 290 364 291 365 endforeach; 292 293 ////////// add about theme panel and sections //////////294 if (!empty($cryout_theme_settings['info_sections'])):295 $wp_customize->add_panel( 'cryout-about-theme', array(296 'priority' => 0,297 'title' => sprintf( __( 'About %s', 'cryout' ), ucwords(_CRYOUT_THEME_NAME) ),298 'description' => sprintf( __( '%1$s by %1$s', 'cryout' ), ucwords(_CRYOUT_THEME_NAME), 'Cryout Creations' ),299 ) );300 $section_priority = 10;301 302 foreach ($cryout_theme_settings['info_sections'] as $iid=>$info):303 $wp_customize->add_section( $iid, array(304 'title' => $info['title'],305 'description' => $info['desc'],306 'priority' => $section_priority++,307 'panel' => 'cryout-about-theme',308 ) );309 endforeach;310 endif; //!empty311 312 foreach ($cryout_theme_settings['info_settings'] as $iid => $info):313 $wp_customize->add_setting( $iid, array(314 'default' => $info['default'],315 'capability' => 'edit_theme_options',316 'sanitize_callback' => 'cryout_customizer_sanitize_blank'317 ) );318 $wp_customize->add_control( new Cryout_Customize_Link_Control( $wp_customize, $iid, array(319 'label' => $info['label'],320 'description' => $info['desc'],321 'section' => $info['section'],322 'settings' => $iid,323 'priority' => 10,324 ) ) );325 endforeach;326 ////////// end about panel327 328 ////////// add custom theme options panels //////////329 $priority = 50;330 foreach ($cryout_theme_settings['panels'] as $section):331 332 $wp_customize->add_panel( 'cryout-' . $section['id'], array(333 'title' => $section['title'],334 'description' => '',335 'priority' => $priority++,336 ) );337 338 endforeach;339 340 ////////// add custom theme options sections, settings and empty placeholder control //////////341 $section_priority = 50;342 foreach ($cryout_theme_settings['sections'] as $field):343 344 // override field id to make it uniquely identifiable345 $wp_customize->add_section( 'cryout-' . $field['id'], array(346 'title' => $field['title'],347 'description' => '', //__( '', 'cryout' ),348 'priority' => ( isset($field['priority']) ? $field['priority'] : $section_priority++ ),349 'panel' => ($field['sid']?'cryout-' . $field['sid']:''),350 ) );351 352 $wp_customize->add_setting( 'placeholder_'.$section_priority, array(353 'default' => '',354 'capability' => 'edit_theme_options',355 'sanitize_callback' => 'cryout_customizer_sanitize_blank'356 ) );357 358 // override section id to make it uniquely identifiable359 $wp_customize->add_control( new Cryout_Customize_Blank_Control( $wp_customize, 'placeholder_'.$section_priority, array(360 'section' => 'cryout-' . $field['id'],361 'settings' => 'placeholder_'.$section_priority,362 'priority' => 10,363 ) ) );364 365 endforeach;366 ////////// end option panels/sections367 366 368 367 ////////// add custom theme option controls, based on option type ////////// 369 368 foreach ($cryout_theme_settings['options'] as $opt): 369 370 // check if option should be visible on this wp version 371 if ( !empty( $opt['disable_if'] ) ) { 372 if ( function_exists($opt['disable_if']) ) continue; 373 } 374 if ( !empty( $opt['require_fn'] ) ) { 375 if ( ! function_exists($opt['require_fn']) ) continue; 376 } 370 377 371 378 ////////// sanitizer function callback select … … 556 563 wp_enqueue_style( 'cryout-customizer-css', get_template_directory_uri() . '/cryout/css/customizer.css', array(), _CRYOUT_FRAMEWORK_VERSION ); 557 564 wp_enqueue_script( 'cryout-customizer-js', get_template_directory_uri() . '/cryout/js/customizer.js', array( 'jquery' ), _CRYOUT_FRAMEWORK_VERSION, true ); 558 //wp_enqueue_style( 'cryout-genericons', get_template_directory_uri() . '/cryout/css/genericons.css', array(), _CRYOUT_FRAMEWORK_VERSION );559 565 } 560 566 add_action('customize_controls_enqueue_scripts', 'cryout_customizer_enqueue_scripts'); -
verbosa/0.9.1/cryout/framework.php
r357746 r357746 2 2 /** 3 3 * @package Cryout Framework 4 * @version 0.5. 25 * @revision 20160 2076 * @author Cryout Creations - www.cryoutcreations.eu4 * @version 0.5.5 5 * @revision 20160525 6 * @author Cryout Creations - www.cryoutcreations.eu 7 7 */ 8 8 9 9 define('_CRYOUT_FRAMEWORK_VERSION', '0.5.5'); 10 10 … … 17 17 require_once(get_template_directory() . "/cryout/prototypes.php"); 18 18 require_once(get_template_directory() . "/cryout/customizer.php"); 19 require_once(get_template_directory() . "/cryout/widgets.php");20 19 require_once(get_template_directory() . "/cryout/ajax.php"); 21 @include_once(get_template_directory() . "/cryout/_autoupdate.php"); // temporary for on-site release until approved in the repo22 20 23 21 if( is_admin() ) { 24 22 // Admin functionality 25 23 require_once(get_template_directory() . "/cryout/admin-functions.php"); 26 require_once(get_template_directory() . "/cryout/settings-xml.php");27 24 } 28 25 -
verbosa/0.9.1/cryout/js/customizer.js
r357746 r357746 3 3 4 4 var innerHTML = '<button class="collapse-sidebar cryout-expand-sidebar button-secondary" aria-expanded="true" aria-label="' + _label_max + '" href="#">\ 5 <span class="collapse-sidebar-arrow"></span>\6 5 <span class="collapse-sidebar-label">' + _label_max + '</span>\ 6 <span class="collapse-sidebar-arrow" title="' + _label_max + '"></span>\ 7 7 </button> '; 8 8 … … 11 11 12 12 jQuery('#customize-theme-controls .customize-control-description:not(.cryout-nomove)').each(function() { 13 jQuery(this).insertAfter(jQuery(this).parent().children('.customize-control-content, select, input:not(input[type=checkbox]), .buttonset'));13 jQuery(this).insertAfter(jQuery(this).parent().children('.customize-control-content, select, input:not(input[type=checkbox]), .buttonset')); 14 14 }); 15 15 16 jQuery('#customize-footer-actions').append(innerHTML); 16 if (jQuery('#customize-footer-actions .devices').length>0) { 17 /* wp 4.5 or newer */ 18 jQuery('#customize-footer-actions .devices').prepend(innerHTML); 19 } else { 20 jQuery('#customize-footer-actions').append(innerHTML); 21 } 17 22 18 23 jQuery('.collapse-sidebar:not(.cryout-expand-sidebar)').on( 'click', function( event ) { -
verbosa/0.9.1/cryout/prototypes.php
r357746 r357746 2 2 /** 3 3 * Framework prototypes 4 * @ since Cryout 0.5.24 * @updated Cryout 0.5.5 5 5 */ 6 6 … … 185 185 * Returns the cleaned up Google font name to be displayed in the font list and used in custom styling 186 186 */ 187 function cryout_clean_gfont( $font, $identifier = ' \/gfont$' ){187 function cryout_clean_gfont( $font, $identifier = '(:\d+)?\/gfont$' ){ 188 188 return preg_replace( "/$identifier/i", '', $font ); 189 189 } // cryout_clean_gfont() … … 224 224 * Returns the first attached post image (or none if images were not uploaded directly to post). 225 225 */ 226 function cryout_post_first_image( $postID ) {226 function cryout_post_first_image( $postID, $size = 'cryout-featured' ) { 227 227 $args = array( 228 228 'numberposts' => 1, … … 239 239 if ($attachments) { 240 240 foreach($attachments as $attachment) { 241 $image_attributes = wp_get_attachment_image_src( $attachment->ID, 'featured') ?242 wp_get_attachment_image_src( $attachment->ID, 'featured') :241 $image_attributes = wp_get_attachment_image_src( $attachment->ID, $size ) ? 242 wp_get_attachment_image_src( $attachment->ID, $size ) : 243 243 wp_get_attachment_image_src( $attachment->ID ); 244 244 return $image_attributes[0]; -
verbosa/0.9.1/functions.php
r357746 r357746 3 3 * Functions file - Calls all other required files 4 4 * 5 * PLEASE DO NOT EDIT ANY THEME FILES 5 * PLEASE DO NOT EDIT ANY THEME FILES 6 6 * unless you are prepared to lose all changes on the next update 7 7 * … … 9 9 */ 10 10 11 // variables for theme identification - do NOT edit unless you know what you are doing 12 define ("_CRYOUT_THEME_NAME", "verbosa"); 13 define ("_CRYOUT_THEME_VERSION", "0.9. 0");11 // variables for theme identification - do NOT edit unless you know what you are doing 12 define ("_CRYOUT_THEME_NAME", "verbosa"); 13 define ("_CRYOUT_THEME_VERSION", "0.9.1"); 14 14 15 15 require_once(get_template_directory() . "/admin/main.php"); // Admin side -
verbosa/0.9.1/includes/core.php
r357746 r357746 33 33 echo '<div class="identity">'; 34 34 if ( in_array($verbosas['verbosa_siteheader'], array( 'logo', 'both' ) ) ) { 35 if ( !empty($verbosas['verbosa_logoupload']) ) : 36 $img = wp_get_attachment_image_src($verbosas['verbosa_logoupload'], 'full'); 37 echo '<a id="logo" href="'.esc_url( home_url( '/' ) ).'" ><img title="" alt="" src="' . $img[0] . '" /></a>'; 38 endif; 35 echo verbosa_logo_helper($verbosas['verbosa_logoupload']); 39 36 } 40 37 if ( in_array($verbosas['verbosa_siteheader'], array('title', 'both') ) ) { … … 51 48 add_action ('cryout_branding_hook', 'verbosa_title_and_description'); 52 49 50 function verbosa_logo_helper($verbosa_logo) { 51 if ( function_exists( 'the_custom_logo' ) ) { 52 // WP 4.5+ 53 $wp_logo = str_replace('class="custom-logo-link"','id="logo" class="custom-logo-link"', get_custom_logo()); 54 if (!empty($wp_logo) ) return $wp_logo; 55 } else { 56 // older WP 57 if ( !empty($verbosa_logo) ) : 58 $img = wp_get_attachment_image_src($verbosa_logo, 'full'); 59 return '<a id="logo" href="'.esc_url( home_url( '/' ) ).'" > 60 <img title="'.get_bloginfo( 'name' ).'" alt="'.get_bloginfo( 'name' ).'" src="' . $img[0] . '" /> 61 </a>'; 62 endif; 63 } 64 return ''; 65 } // verbosa_logo_helper() 53 66 54 67 /** … … 104 117 * Footer Hook 105 118 */ 106 add_action('cryout_footer_hook', function() { 119 add_action('cryout_master_footer_hook', 'verbosa_master_footer'); 120 function verbosa_master_footer() { 121 do_action('cryout_footer_hook'); 107 122 echo '<div id="site-copyright">' . cryout_get_option( 'verbosa_copyright' ) . '</div>'; 108 123 echo '<div style="display:block;float:none;clear: both;font-size:.85em; text-align: center;">' . __("Powered by","verbosa") . … … 110 125 echo 'Verbosa Theme by ' . 'Cryout Creations"> ' . 'Verbosa' .'</a> & <a target="_blank" href="' . esc_url("http://wordpress.org/"); 111 126 echo '" title="' . esc_attr("Semantic Personal Publishing Platform", "verbosa") . '"> ' . sprintf( " %s.", "WordPress" ) . '</a></div>'; 112 }, 20 ); 113 114 115 add_action('wp_ajax_nopriv_do_ajax', 'verbosa_ajax_function'); 116 add_action('wp_ajax_do_ajax', 'verbosa_ajax_function'); 117 118 if ( ! function_exists( 'verbosa_ajax_function' ) ) : 119 function verbosa_ajax_function(){ 120 ob_clean(); 121 122 // the first part is a SWITCHBOARD that fires specific functions 123 // according to the value of Query Var 'fn' 124 125 switch($_REQUEST['fn']){ 126 case 'get_latest_posts': 127 $output = verbosa_ajax_get_latest_posts($_REQUEST['count'],$_REQUEST['categName']); 128 break; 129 default: 130 $output = 'No function specified, check your jQuery.ajax() call'; 131 break; 132 } 133 134 // at this point, $output contains some sort of valuable data! 135 // Now, convert $output to JSON and echo it to the browser 136 // That way, we can recapture it with jQuery and run our success function 137 138 $output=json_encode($output); 139 if(is_array($output)) { print_r($output); } 140 else { echo $output; } 141 die; 142 } // verbosa_ajax_function() 143 endif; 144 145 if ( ! function_exists( 'verbosa_ajax_get_latest_posts' ) ) : 146 function verbosa_ajax_get_latest_posts($count,$categName){ 147 $testVar=''; 148 // The Query 149 $the_query = new WP_Query( 'category_name='.$categName); 150 // The Loop 151 if ( $the_query->have_posts() ) : 152 while ( $the_query->have_posts() ) : $the_query->the_post(); 153 $testVar .= the_title("<option>","</option>",0); 154 endwhile; 155 endif; 156 return $testVar; 157 } // verbosa_ajax_get_latest_posts() 158 endif; 127 } 128 159 129 160 130 if ( ! function_exists( 'verbosa_header_section' ) ) : … … 181 151 182 152 <?php get_sidebar('right'); ?> 183 <?php cryout_ footer_hook(); ?>153 <?php cryout_master_footer_hook(); ?> 184 154 185 155 </div><!--sidebar--> … … 481 451 'verbosa_searchboxmain', 482 452 'verbosa_searchboxfooter', 483 'verbosa_comlabels') 453 'verbosa_comlabels', 454 'verbosa_socials_header_above', 455 'verbosa_socials_header_below', 456 'verbosa_socials_sidebar', 457 ) 484 458 ); 485 459 if ( $verbosa_interim_options['verbosa_breadcrumbs'] ) add_action('cryout_before_content_hook', 'verbosa_breadcrumbs'); … … 489 463 add_filter('comment_form_field_comment', 'verbosa_comments_form_textarea'); 490 464 } 465 466 if ( $verbosa_interim_options['verbosa_socials_header_above'] ) add_action('cryout_branding_hook', 'verbosa_socials_menu_header_above', 5); 467 if ( $verbosa_interim_options['verbosa_socials_header_below'] ) add_action('cryout_branding_hook', 'verbosa_socials_menu_header_below', 30); 468 if ( $verbosa_interim_options['verbosa_socials_sidebar'] ) add_action('cryout_footer_hook', 'verbosa_socials_menu_footer', 17); 469 491 470 }; 492 471 endif; -
verbosa/0.9.1/includes/custom-styles.php
r357746 r357746 75 75 #container.one-column { } 76 76 #container.two-columns-left #sidebar { float: left; } 77 #container.two-columns-left #main { width: calc(<?php echo 97-(int)$colPadding ?>% - <?php echo $verbosa_sidebar; ?>px); float: left; margin-left: 3%; }77 #container.two-columns-left .main { width: calc(<?php echo 97-(int)$colPadding ?>% - <?php echo $verbosa_sidebar; ?>px); float: left; margin-left: 3%; } 78 78 #container.two-columns-left #sidebar-back { width: calc( 50% - <?php echo (($verbosa_sitewidth)/2 - $verbosa_sidebar); ?>px); min-width: <?php echo $verbosa_sidebar;?>px;} 79 79 #container.two-columns-right #sidebar { float: right; } 80 #container.two-columns-right #main { width: calc(<?php echo 97-(int)$colPadding ?>% - <?php echo $verbosa_sidebar; ?>px); float: right; margin-right: 3%; }80 #container.two-columns-right .main { width: calc(<?php echo 97-(int)$colPadding ?>% - <?php echo $verbosa_sidebar; ?>px); float: right; margin-right: 3%; } 81 81 #container.two-columns-right #sidebar-back { left: auto; right: 0; width: calc( 50% - <?php echo (($verbosa_sitewidth)/2 - $verbosa_sidebar); ?>px); min-width: <?php echo $verbosa_sidebar;?>px;} 82 82 … … 135 135 color: <?php echo esc_html($verbosa_sidebarbackground) ?>;} 136 136 137 article.hentry, #main > div:not(#content-masonry), .comment-header,138 #main > header, #main > nav#nav-below, .pagination span, .pagination a, #nav-old-below, .content-widget137 article.hentry, .main > div:not(#content-masonry), .comment-header, 138 .main > header, .main > nav#nav-below, .pagination span, .pagination a, #nav-old-below, .content-widget 139 139 { background-color: <?php echo esc_html($verbosa_contentbackground) ?>; } 140 140 #sidebar-back, #sidebar { background-color: <?php echo esc_html($verbosa_sidebarbackground) ?>; } … … 167 167 .socials a:after { background-color: <?php echo esc_html($verbosa_accent2); ?>; } 168 168 169 170 169 #commentform { <?php if ($verbosa_comformwidth) { echo 'max-width:' . esc_html($verbosa_comformwidth) . 'px;';}?>} 171 170 … … 175 174 .page-link > span > em { background-color: <?php echo esc_html(cryout_hexdiff($verbosa_contentbackground,17)) ?>; } 176 175 177 .verbosa-caption-one #main .wp-caption .wp-caption-text { border-color: <?php echo esc_html(cryout_hexdiff($verbosa_contentbackground,17)) ?>; }178 .verbosa-caption-two #main .wp-caption .wp-caption-text { background-color: <?php echo esc_html(cryout_hexdiff($verbosa_contentbackground,10)) ?>; }176 .verbosa-caption-one .main .wp-caption .wp-caption-text { border-color: <?php echo esc_html(cryout_hexdiff($verbosa_contentbackground,17)) ?>; } 177 .verbosa-caption-two .main .wp-caption .wp-caption-text { background-color: <?php echo esc_html(cryout_hexdiff($verbosa_contentbackground,10)) ?>; } 179 178 180 179 .verbosa-image-one .entry-content img[class*="align"], … … 188 187 189 188 #sidebar .searchform { border-color: <?php echo esc_html( cryout_hexdiff($verbosa_sidebarbackground, 17) ) ?>; } 190 #main .searchform { border-color: <?php echo esc_html( cryout_hexdiff($verbosa_contentbackground, 17) ) ?>;189 .main .searchform { border-color: <?php echo esc_html( cryout_hexdiff($verbosa_contentbackground, 17) ) ?>; 191 190 background-color: <?php echo esc_html($verbosa_contentbackground) ?>;} 192 191 .searchform .searchsubmit { color: <?php echo esc_html($verbosa_metatext); ?>;} … … 246 245 /////////// LAYOUT /////////// 247 246 /*if ($verbosa_tables) { ?> 248 #main table, #main tr, #main tr th, #main thead th, #main tr td, #main tr.even { background:none; border:none; color:inherit; }247 .main table, .main tr, .main tr th, .main thead th, .main tr td, .main tr.even { background:none; border:none; color:inherit; } 249 248 <?php }*/ ?> 250 #main .entry-content, #main .entry-summary { text-align: <?php echo esc_html($verbosa_textalign) ?>; }251 #main p, #main ul, #main ol, #main dd, #main pre, #main hr249 .main .entry-content, .main .entry-summary { text-align: <?php echo esc_html($verbosa_textalign) ?>; } 250 .main p, .main ul, .main ol, .main dd, .main pre, .main hr 252 251 { margin-bottom: <?php echo esc_html($verbosa_paragraphspace) ?>; } 253 #main p { text-indent: <?php echo esc_html($verbosa_parindent) ?>;}254 #main a.post-featured-image { background-position: <?php echo esc_html($verbosa_falign) ?>; }255 #main .featured-bar { height: <?php echo esc_html($verbosa_fbar); ?>px;252 .main p { text-indent: <?php echo esc_html($verbosa_parindent) ?>;} 253 .main a.post-featured-image { background-position: <?php echo esc_html($verbosa_falign) ?>; } 254 .main .featured-bar { height: <?php echo esc_html($verbosa_fbar); ?>px; 256 255 background-color: <?php echo esc_html($verbosa_accent2);?>;} 257 256 258 #main { margin-top: <?php echo esc_html($verbosa_contentmargintop) ?>px; }257 .main { margin-top: <?php echo esc_html($verbosa_contentmargintop) ?>px; } 259 258 <?php if ($verbosa_fpost) { ?> 260 .verbosa-cropped-featured #main .post-thumbnail-container259 .verbosa-cropped-featured .main .post-thumbnail-container 261 260 { height: <?php echo esc_html($verbosa_fheight) ?>px; } 262 .verbosa-responsive-featured #main .post-thumbnail-container261 .verbosa-responsive-featured .main .post-thumbnail-container 263 262 { max-height: <?php echo esc_html($verbosa_fheight) ?>px; height: auto; } 264 263 <?php } ?> … … 287 286 #branding img.header-image { max-height: <?php echo esc_html($verbosa_headerheight) ?>px; } 288 287 <?php if (! display_header_text() ) { ?> 289 #site-title { display: none; }288 #site-title, #site-description { display: none; } 290 289 <?php }; 291 290 // end </style> -
verbosa/0.9.1/includes/hooks.php
r357746 r357746 63 63 */ 64 64 65 // Footer hook 66 function cryout_footer_hook() { ?> 65 // Footer hook is handled in core master footer 66 67 // Master Footer hook 68 function cryout_master_footer_hook() { ?> 67 69 <footer id="footer" role="contentinfo" <?php cryout_schema_microdata('footer');?>> 68 70 <div id="footer-inside"> 69 <?php do_action('cryout_ footer_hook'); ?>71 <?php do_action('cryout_master_footer_hook'); ?> 70 72 </div> <!-- #footer-inside --> 71 73 </footer><!-- #footer --> 72 74 <?php 73 75 } 74 75 76 76 77 /** -
verbosa/0.9.1/includes/loop.php
r357746 r357746 160 160 function verbosa_posted_after() { 161 161 edit_post_link( __( 'Edit', 'verbosa' ), '<span class="edit-link icon-metas"><i class="icon-pencil2 icon-metas"></i> ', '</span>' ); 162 cryout_post_footer_hook(); /* ?!? */162 //cryout_post_footer_hook(); /* ?!? */ 163 163 164 164 }; // verbosa_posted_after() … … 172 172 add_action( 'cryout_post_meta_hook', 'verbosa_posted_after', 99 ); 173 173 add_action( 'cryout_post_after_content_hook', 'verbosa_posted_tags' ); 174 add_action( 'cryout_post_footer_hook', 'verbosa_posted_tags' ); 174 175 } 175 176 add_action('wp_head','verbosa_meta_infos'); … … 216 217 if ( function_exists("has_post_thumbnail") && has_post_thumbnail() && $verbosas['verbosa_fpost']) { 217 218 // has featured image 218 $featured_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ' featured' );219 $featured_image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'verbosa-featured' ); 219 220 $featured_image = $featured_image[0]; 220 221 … … 241 242 242 243 </a> 243 <a href="<?php echo get_permalink( $post->ID ) ?>" title="<?php echo esc_attr( get_post_field( 'post_title', $post->ID ) ) ?>">244 <a class="responsive-featured-image" href="<?php echo get_permalink( $post->ID ) ?>" title="<?php echo esc_attr( get_post_field( 'post_title', $post->ID ) ) ?>"> 244 245 <img class="post-featured-image" alt="" itemprop="image" src="<?php echo $featured_image; ?>" /> 245 246 </a> -
verbosa/0.9.1/includes/setup.php
r357746 r357746 42 42 // Make theme available for translation 43 43 load_theme_textdomain( 'verbosa', get_template_directory() . '/languages' ); 44 load_theme_textdomain( 'cryout', get_template_directory() . '/cryout/languages' );44 load_theme_textdomain( 'cryout', '' ); 45 45 46 46 // This theme allows users to set a custom backgrounssd 47 47 add_theme_support( 'custom-background' ); 48 49 // This theme supports WordPress 4.5 logos 50 add_theme_support( 'custom-logo', array( 'height' => 240, 'width' => 240, 'flex-height' => true, 'flex-width' => true ) ); 51 add_filter('get_custom_logo', 'verbosa_filter_wp_logo_img' ); 48 52 49 53 // This theme uses wp_nav_menu() in 3 locations. … … 57 61 set_post_thumbnail_size( 1440, 1440 ); // default Post Thumbnail dimensions (cropped) 58 62 // Custom image size for use with post thumbnails 59 add_image_size( ' featured', 1440, 1440, array( 'center', 'center') );63 add_image_size( 'verbosa-featured', 1440, 1440, array( 'center', 'center') ); 60 64 61 65 // We'll be using post thumbnails for custom header images on posts and pages. … … 100 104 endif; 101 105 106 /* 107 * Have two textdomains work with translation systems. 108 * https://gist.github.com/justintadlock/7a605c29ae26c80878d0 109 */ 110 add_filter( 'override_load_textdomain', 'verbosa_override_load_textdomain', 10, 2 ); 111 112 function verbosa_override_load_textdomain( $override, $domain ) { 113 // Check if the domain is our framework domain. 114 if ( 'cryout' === $domain ) { 115 global $l10n; 116 // If the theme's textdomain is loaded, assign the theme's translations 117 // to the framework's textdomain. 118 if ( isset( $l10n[ 'verbosa' ] ) ) 119 $l10n[ $domain ] = $l10n[ 'verbosa' ]; 120 // Always override. We only want the theme to handle translations. 121 $override = true; 122 } 123 return $override; 124 } 125 126 function verbosa_filter_wp_logo_img ( $input ) { 127 return preg_replace( '/(height=".*?"|width=".*?")/i', '', $input); 128 } 102 129 103 130 /** … … 149 176 echo strip_tags( 150 177 wp_nav_menu( array( 151 'menu' => 'Socials Menu',152 178 'container' => 'nav', 153 179 'container_class' => 'socials', … … 167 193 function verbosa_socials_menu_footer() { verbosa_socials_menu('sfooter'); } 168 194 169 if ( cryout_get_option('verbosa_socials_header_above') ) add_action('cryout_branding_hook', 'verbosa_socials_menu_header_above', 5); 170 if ( cryout_get_option('verbosa_socials_header_below') ) add_action('cryout_branding_hook', 'verbosa_socials_menu_header_below', 30); 171 if ( cryout_get_option('verbosa_socials_sidebar') ) add_action('cryout_footer_hook', 'verbosa_socials_menu_footer', 17); 195 /* social hooking moved to master hook to avoid customizer option caching */ 196 172 197 173 198 /** … … 175 200 * Uses cryout_widgets_init() from cryout/widget-areas.php 176 201 */ 202 function cryout_widgets_init() { 203 204 $areas = cryout_get_theme_structure('widget-areas'); 205 206 if (!empty( $areas )): 207 foreach ($areas as $aid => $area): 208 register_sidebar( array( 209 'name' => $area['name'], 210 'id' => $aid, 211 'description' => ( isset($area['description'])?$area['description']:'' ), 212 'before_widget' => $area['before_widget'], 213 'after_widget' => $area['after_widget'], 214 'before_title' => $area['before_title'], 215 'after_title' => $area['after_title'], 216 ) ); 217 endforeach; 218 endif; 219 220 } // cryout_widgets_init() 177 221 add_action( 'widgets_init', 'cryout_widgets_init' ); 178 222 … … 218 262 add_action ('cryout_before_content_hook', 'verbosa_widget_before'); 219 263 add_action ('cryout_after_content_hook', 'verbosa_widget_after'); 220 221 /* ajax frontpage read more button hooks */222 /* if ( 'posts' == get_option( 'show_on_front' )) add_action('pre_get_posts', 'cryout_query_offset', 1 );223 if ( 'posts' == get_option( 'show_on_front' )) add_action('template_redirect', 'cryout_ajax_init'); */224 264 225 265 -
verbosa/0.9.1/includes/styles.php
r357746 r357746 21 21 foreach ($cryout_theme_structure['google-font-enabled-fields'] as $item) { 22 22 $itemg = $item . 'google'; 23 if ( !empty($verbosas[$itemg]) ) $gfonts[] = cryout_gfontclean( $verbosas[$itemg] ); 24 if ( preg_match('/^(.*)\/gfont$/i', $verbosas[$item], $bits) ) $gfonts[] = $bits[1]; 23 $itemw = $item . 'weight'; 24 if ( !empty($verbosas[$itemg]) ) $gfonts[] = cryout_gfontclean( $verbosas[$itemg].":".$verbosas[$itemw] ); 25 if ( preg_match('/^(.*)\/gfont$/i', $verbosas[$item], $bits) ) $gfonts[] = $bits[1].":".$verbosas[$itemw]; 25 26 }; 26 27 … … 100 101 101 102 wp_enqueue_script( 'verbosa-frontend', get_template_directory_uri() . '/resources/js/frontend.js', array('jquery'), _CRYOUT_THEME_VERSION ); 102 wp_enqueue_script( 'verbosa-masonry', get_template_directory_uri() . '/resources/js/masonry.min.js', array('jquery'), _CRYOUT_THEME_VERSION ); 103 104 wp_enqueue_script( 'jquery-masonry' ); 103 105 104 106 if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); … … 106 108 } 107 109 add_action('wp_footer', 'verbosa_scripts_method'); 110 111 function verbosa_scripts_filter($tag) { 112 $scripts_to_defer = array('comment-reply.min.js', 'frontend.js', 'masonry.min.js'); 113 foreach($scripts_to_defer as $defer_script){ 114 if(true == strpos($tag, $defer_script ) ) 115 return str_replace( ' src', ' defer src', $tag ); // ' async' causes issues with masonry 116 } 117 return $tag; 118 } 119 add_filter('script_loader_tag', 'verbosa_scripts_filter', 10, 2); 108 120 109 121 function verbosa_responsive_meta() { -
verbosa/0.9.1/page.php
r357746 r357746 14 14 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 15 15 <?php verbosa_header_section() ?> 16 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >16 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 17 17 <?php cryout_before_content_hook(); ?> 18 18 -
verbosa/0.9.1/readme.txt
r357746 r357746 1 1 ============= 2 2 Verbosa WordPress Theme 3 Copyright 2015 Cryout Creations3 Copyright 2015-2016 Cryout Creations 4 4 5 5 Author: Cryout Creations 6 6 Requires at least: 4.2 7 Tested up to: 4. 48 Stable tag: 0.9. 07 Tested up to: 4.5.3 8 Stable tag: 0.9.1 9 9 License: GPLv3 10 10 License URI: http://www.gnu.org/licenses/gpl.html … … 46 46 Source: http://fitvidsjs.com/ 47 47 48 Masonry, Copyright David DeSandro49 Licensed under the terms of the MIT LIcense50 Source: http://masonry.desandro.com/51 52 Array2XML & XML2Array, Copyright Lalit Patel53 Licensed under the terms of the Apache License 2.054 Source: http://www.lalit.org/lab/convert-php-array-to-xml-with-attributes55 56 48 == Bundled Fonts == 57 49 … … 82 74 == Changelog == 83 75 76 = 0.9.1 = 77 * Fixed widget titles line not spanning all sidebar 78 * Added auto-detection of RSS link in social icons 79 * Added margin botton for multi-line socials menu 80 * Fixed mobile menu out of frame on narrow screen (<400px), horizontal scroll on chrome, removed .noscroll position:fixed 81 * Improved mobile menu animations 82 * Fixed colophon flex compatibility with IE9 83 * Removed template-blog.php page template, license.txt, bundled masonry.js 84 * Improved arhive.php to handle archives, categories and tags (removed category.php and tag.php) 85 * Updated Cryout Framework to 0.5.5 86 * Rearranged customizer section overrides to account for autofocus issue 87 * Improved plugin/child theme styling override support by changing #main ID to .main class 88 * Removed social links (and respective scripts) from the admin area 89 * Removed import/export settings from admin area 90 * Renamed 'Latest News' section in admin to 'Theme Updates' 91 * Added unminified resources/js/html5shiv.js 92 * Fixed cryout_schema_microdata() call in author info page HTML 93 * Renamed _default.pot to verbosa.pot 94 * Added WordPress 4.5 site logo support 95 * Added second textdomain support for WordPress' language packs (also deleted languages folder under cryout and removed redundant loading of text domains in admin area) 96 * Fixed social menu and turned off social menu locations by default 97 * Switched to loading JS files as deferred to improve load speed. 98 * Switched to using core WordPress 'jquery-masonry' 99 * Removed deprecated style.css tags and added new ones 100 * Fixed social icons placement options not refreshing in Customizer 101 * Fixed 'Display Site Title and Tagline' option not affecting the tagline 102 84 103 = 0.9 = 85 104 Initial release -
verbosa/0.9.1/resources/fonts/fontfaces.css
r357746 r357746 465 465 .socials a[href*="plancast.com"]:before, .socials a.plancast:before { content: '\e82c'; } 466 466 .socials a[href*="disqus.com"]:before, .socials a.disqus:before { content: '\e82d'; } 467 .socials a[href*="/feed"]:before, .socials a .rss:before, .socials a.feed:before { content: '\e82e'; }467 .socials a[href*="/feed"]:before, .socials a[href*="/rss"]:before, .socials a.rss:before, .socials a.feed:before { content: '\e82e'; } 468 468 .socials a[href^="callto:"]:before, .socials a.skype:before { content: '\e82f'; } 469 469 .socials a[href*="twitter.com"]:before, .socials a.twitter:before { content: '\e830'; } -
verbosa/0.9.1/resources/js/frontend.js
r357746 r357746 102 102 //Toggle buttons and submenu items with active children menu items. 103 103 container.find( '.current-menu-ancestor > button, .current-page-ancestor > button' ).addClass( 'toggle-on' ); 104 container.find( '.current-menu-ancestor > .sub-menu, .current-page-ancestor > .sub-menu, .current-menu-ancestor .children, .current-page-ancestor .children' ). addClass( 'toggled-on' );104 container.find( '.current-menu-ancestor > .sub-menu, .current-page-ancestor > .sub-menu, .current-menu-ancestor .children, .current-page-ancestor .children' ).show(0).addClass( 'toggled-on' ); 105 105 106 106 container.find( '.dropdown-toggle' ).click( function( e ) { … … 108 108 e.preventDefault(); 109 109 _this.toggleClass( 'toggle-on' ); 110 _this.next( '.children, .sub-menu' ).toggleClass( 'toggled-on' ); 110 if ( _this.hasClass( 'toggle-on') ) { 111 _this.next( '.children, .sub-menu' ).show(0).addClass( 'toggled-on' ); 112 } 113 else { 114 _this.next( '.children, .sub-menu' ).removeClass( 'toggled-on' ); 115 } 116 111 117 //_this.parent().find( 'a' ).toggleClass( 'toggled-on' ); 112 118 _this.attr( 'aria-expanded', _this.attr( 'aria-expanded' ) === 'false' ? 'true' : 'false' ); -
verbosa/0.9.1/resources/styles/responsive.css
r357746 r357746 1 /** ==Responsive Styling== */ 2 body.mobile {-webkit-text-size-adjust: 100%;} /* Iphone browser fix*/ 3 body.mobile #main {min-height:0;}1 /** ==Responsive Styling== */ 2 body.mobile {-webkit-text-size-adjust: 100%;} /* Iphone browser fix*/ 3 body.mobile .main {min-height:0;} 4 4 5 5 @media (max-width: 1280px) { … … 9 9 margin-top: 0; /* removed fixed header menu */ 10 10 } 11 11 12 12 .magazine-three #content-masonry article.hentry { 13 13 width: 48%; 14 14 } 15 15 16 16 .noscroll { /* to be added to body on mobile */ 17 position: fixed;18 17 overflow: hidden; 19 18 } 20 21 }22 19 23 @media (max-width: 1024px) { 20 } 24 21 25 #container[class*="two-"] #main { 22 @media (max-width: 1024px) { 23 24 #container[class*="two-"] .main { 26 25 width: 100%; 27 26 margin: 0 0 1.5em; 28 27 } 29 28 30 29 #container[class*="two-"] #primary, 31 30 #container[class*="two-"] #secondary { … … 34 33 float: none; 35 34 } 36 35 37 36 #container[class*="two-"] .widget-container, 38 37 #colophon .widget-container { … … 40 39 margin: 0 5% 1.5em; 41 40 float: left; 42 } 43 41 } 42 44 43 .magazine-three #content-masonry article.hentry { 45 44 width: 48%; 46 45 } 47 46 48 47 #branding { 49 48 margin-top: 1.5em; 50 49 } 51 50 52 51 #sidebar { 53 52 float: none; … … 70 69 display: block; 71 70 } 72 71 73 72 } 74 75 @media (max-width: 800px) { 73 74 @media (max-width: 800px) { 76 75 77 76 body { 78 77 font-size: .90em; 79 78 } 80 79 81 80 .magazine-three #content-masonry article.hentry, 82 81 .magazine-two #content-masonry article.hentry { 83 82 width: 98%; 84 } 85 83 } 84 86 85 } 87 86 … … 91 90 font-size: .85em; 92 91 } 93 92 94 93 #container[class*="two-"] .widget-container, 95 94 #colophon .widget-container { … … 98 97 clear: both; 99 98 } 100 99 101 100 } 102 101 103 @media (max-width: 480px) { 102 @media (max-width: 480px) { 104 103 105 104 body { 106 105 font-size: .8em; 107 106 } 108 107 108 #mobile-menu > div { 109 max-width: 300px; 110 } 111 109 112 } 110 113 -
verbosa/0.9.1/search.php
r357746 r357746 10 10 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 13 13 <?php cryout_before_content_hook(); ?> 14 14 -
verbosa/0.9.1/single.php
r357746 r357746 10 10 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 13 13 <?php cryout_before_content_hook(); ?> 14 14 -
verbosa/0.9.1/style.css
r357746 r357746 2 2 Theme Name: Verbosa 3 3 Theme URI: http://www.cryoutcreations.eu/verbosa 4 Description: Are you a writer? Or maybe a photographer? An artist? Perhaps you do online reviews? Or are you just casually blogging about music, movies and such? Do you like to ramble on? Are you a creator? Do you generate content of any kind? Are we asking too many questions? Is this too much? Have we crossed the line? Well then you should give Verbosa a try as she may have all the tools needed to assist you and your creativity. Verbosa is all about elegant typography, efficient use of contrast, spacing and simplicity. We used all the tricks at our disposal to improve legibility, create emphasis and generate a proper design flow that would make your content more inviting to be read. Verbosa is also truly responsive, with a fluid layout, uses microformats and microdata for best SEO results, takes great advantage of featured images, supports Google fonts, has social menus with over 100 social icons, is translation ready and RTL. And everything's editable via the customizer with over 100 options! And as an extra, we've coded in a fresh and exquisite perfume that will follow you everywhere once you install the theme! 4 Description: Are you a writer? Or maybe a photographer? An artist? Perhaps you do online reviews? Or are you just casually blogging about music, movies and such? Do you like to ramble on? Are you a creator? Do you generate content of any kind? Are we asking too many questions? Is this too much? Have we crossed the line? Well then you should give Verbosa a try as she may have all the tools needed to assist you and your creativity. Verbosa is all about elegant typography, efficient use of contrast, spacing and simplicity. We used all the tricks at our disposal to improve legibility, create emphasis and generate a proper design flow that would make your content more inviting to be read. Verbosa is also truly responsive, with a fluid layout, uses microformats and microdata for best SEO results, takes great advantage of featured images, supports Google fonts, has social menus with over 100 social icons, is translation ready and RTL. And everything's editable via the customizer with over 100 options! And as an extra, we've coded in a fresh and exquisite perfume that will follow you everywhere once you install the theme! 5 5 Author: Cryout Creations 6 6 Author URI: http://www.cryoutcreations.eu 7 Version: 0.9. 07 Version: 0.9.1 8 8 License: GNU General Public License v3.0 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html 10 Tags: white, orange, red, gray, silver, light, black, one-column, two-columns, right-sidebar, left-sidebar, fixed-layout, fluid-layout, responsive-layout, custom-background, custom-colors, custom-header, flexible-header, custom-menu, featured-images, front-page-post-form, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready10 Tags: one-column, two-columns, right-sidebar, left-sidebar, footer-widgets, grid-layout, custom-background, custom-colors, custom-header, flexible-header, custom-menu, featured-images, front-page-post-form, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, entertainment, food-and-drink, news, photography 11 11 Text Domain: verbosa 12 12 … … 27 27 28 28 -------------------------------------------------------------- 29 == TABLE OF CONTENTS == 29 == TABLE OF CONTENTS == 30 30 -------------------------------------------------------------- 31 31 … … 63 63 ## Blockquotes 64 64 # Conditionals 65 # Fixes 65 # Fixes 66 66 67 67 … … 93 93 94 94 *, *:before, *:after { 95 -webkit-box-sizing: border-box; 95 -webkit-box-sizing: border-box; 96 96 -moz-box-sizing: border-box; 97 97 box-sizing: border-box; … … 193 193 194 194 /* Text elements */ 195 #main ul ul,196 #main ul ol,197 #main ol ol,198 #main ol ul {195 .main ul ul, 196 .main ul ol, 197 .main ol ol, 198 .main ol ul { 199 199 margin-bottom: 0; 200 200 } 201 201 202 #main ol > li {202 .main ol > li { 203 203 text-indent: 0; 204 204 } 205 205 206 #main li li {206 .main li li { 207 207 margin-left: 1em; 208 208 } … … 360 360 361 361 embed, iframe { 362 max-width: 100%; 362 max-width: 100%; 363 363 } 364 364 … … 389 389 } 390 390 391 #main {391 .main { 392 392 margin-bottom: 0; 393 393 min-height: 400px; … … 501 501 -webkit-transition: all .5s ease-in-out; 502 502 -moz-transition: all .5s ease-in-out; 503 -o-transition: all .5s ease-in-out; 503 -o-transition: all .5s ease-in-out; 504 504 transition: all .5s ease-in-out; 505 505 } … … 518 518 } 519 519 520 #branding .header-image { 520 #branding .header-image { 521 521 width: auto; 522 522 max-width: 100%; … … 621 621 622 622 .dropdown-toggle:hover:after { 623 623 624 624 } 625 625 … … 633 633 nav .sub-menu, 634 634 nav .children { 635 display: block;635 display: none; 636 636 opacity: 0; 637 637 max-height: 0; 638 -webkit-transition: .5s max-height ease-in-out ;639 -moz-transition: .5s max-height ease-in-out ;640 -o-transition: .5s max-height ease-in-out ;641 transition: .5s max-height ease-in-out ;638 -webkit-transition: .5s max-height ease-in-out, .3s opacity ease-in-out, .3s padding ease; 639 -moz-transition: .5s max-height ease-in-out, .3s opacity ease-in-out, .3s padding ease; 640 -o-transition: .5s max-height ease-in-out, .3s opacity ease-in-out, .3s padding ease; 641 transition: .5s max-height ease-in-out, .3s opacity ease-in-out, .3s padding ease; 642 642 } 643 643 … … 655 655 656 656 /*-------------------------------------------------------------- 657 ## MOBILE MENU 657 ## MOBILE MENU 658 658 --------------------------------------------------------------*/ 659 #nav-toggle { /* Mobile nav toggle will only be visible on mobile */ 659 #nav-toggle { /* Mobile nav toggle will only be visible on mobile */ 660 660 display: none; 661 661 float: right; … … 663 663 position: absolute; 664 664 top: 0; 665 left: 49%; 665 666 left: calc(50% - 1em); 666 667 } … … 686 687 display: none; 687 688 position: fixed; 688 overflow-y: scroll; 689 overflow-y: auto; 690 overflow-x: hidden; 689 691 top: 0; 690 692 left: -100%; … … 701 703 margin: 6em auto 0; 702 704 max-width: 400px; 705 position: static; 703 706 } 704 707 705 708 nav#mobile-menu a { 706 display: inline -block;709 display: inline; 707 710 text-decoration: none; 708 711 text-transform: uppercase; … … 714 717 display: inline-block; 715 718 } 719 716 720 nav#mobile-menu .dropdown-toggle { 717 721 right: auto; … … 732 736 float: none; 733 737 clear: both; 734 white-space: no wrap;738 white-space: normal; 735 739 line-height: 3; 736 740 } … … 796 800 797 801 /*-------------------------------------------------------------- 798 ## FOOTER WIDGET AREA 802 ## FOOTER WIDGET AREA 799 803 --------------------------------------------------------------*/ 800 804 #colophon { 801 display: table;805 display: block; 802 806 float: none; 803 807 display: -webkit-box; … … 805 809 display: -ms-flexbox; 806 810 display: -webkit-flex; 807 display: flex; 811 display: flex; 808 812 -webkit-box-flex: 1; 809 813 -webkit-flex: 1; 810 814 -moz-flex: 1; 811 -ms-flex: 1; 815 -ms-flex: 1; 812 816 flex: 1; 813 817 -webkit-flex-flow: row wrap; … … 818 822 overflow: hidden; 819 823 margin: 2em auto 0; 824 max-width: 100%; 820 825 } 821 826 … … 831 836 display: -ms-flexbox; 832 837 display: -webkit-flex; 833 display: flex; 838 display: flex; 834 839 -webkit-flex-direction: column; 835 840 -moz-flex-direction: column; … … 883 888 --------------------------------------------------------------*/ 884 889 885 #main h1,886 #main h2,887 #main h3,888 #main h4,889 #main h5,890 #main h6 {890 .main h1, 891 .main h2, 892 .main h3, 893 .main h4, 894 .main h5, 895 .main h6 { 891 896 margin: 1em 0 .5em; 892 897 } 893 898 894 #main table {899 .main table { 895 900 border: 0; 896 901 margin: 0 0 2em 0; … … 899 904 } 900 905 901 #main tr {906 .main tr { 902 907 vertical-align: top; 903 908 } 904 909 905 #main .alternate {}906 907 #main tr th,908 #main thead th {910 .main .alternate {} 911 912 .main tr th, 913 .main thead th { 909 914 padding: .5em; 910 915 font-weight: 600; 911 916 } 912 917 913 #main tr td {918 .main tr td { 914 919 border-top: 1px solid transparent; 915 920 padding: .5em; 916 921 } 917 922 918 #main tr td:last-child,919 #main tr th:last-child {923 .main tr td:last-child, 924 .main tr th:last-child { 920 925 border-right: none; 921 926 } 922 927 923 #main tr.odd td {}928 .main tr.odd td {} 924 929 925 930 .entry-header { … … 948 953 } 949 954 950 #main .entry-summary p:last-child {955 .main .entry-summary p:last-child { 951 956 margin-bottom: 1em; 952 957 } … … 986 991 987 992 /*-------------------------------------------------------------- 988 ## PAGE TITLES 993 ## PAGE TITLES 989 994 --------------------------------------------------------------*/ 990 #main .page-title {995 .main .page-title { 991 996 display: block; 992 997 float: none; … … 997 1002 } 998 1003 999 #main .page-title:only-child {1004 .main .page-title:only-child { 1000 1005 padding: 0; 1001 1006 } 1002 1007 1003 #main .pad-container p:last-child {1008 .main .pad-container p:last-child { 1004 1009 margin: 0; 1005 1010 } … … 1041 1046 } 1042 1047 1043 #main .entry-title, 1044 #main #comments-title {1048 .main .entry-title, 1049 .main #comments-title { 1045 1050 margin: 0; 1046 1051 } 1047 1052 1048 1053 /*-------------------------------------------------------------- 1049 ## POST METAS 1054 ## POST METAS 1050 1055 --------------------------------------------------------------*/ 1051 1056 .entry-meta { … … 1075 1080 .entry-meta a { 1076 1081 background-repeat: no-repeat; 1077 background-size: 0 1px;1082 background-size: 0 2px; 1078 1083 background-position: 0 100%; 1079 1084 -webkit-transition: all .3s ease-in-out; … … 1115 1120 1116 1121 .comments-link strong { 1117 font-weight: 300;1122 font-weight: 400; 1118 1123 } 1119 1124 … … 1149 1154 } 1150 1155 1151 span.edit-link { 1156 span.edit-link { 1152 1157 display: block; 1153 1158 padding: 0; … … 1173 1178 1174 1179 /*-------------------------------------------------------------- 1175 ## AUTHOR INFO 1180 ## AUTHOR INFO 1176 1181 --------------------------------------------------------------*/ 1177 1182 … … 1242 1247 1243 1248 #author-avatar .avatar { 1244 border-radius: 4px;1249 border-radius: 100px; 1245 1250 } 1246 1251 #entry-author-info #author-description { … … 1256 1261 } 1257 1262 1258 #main .video-player {1263 .main .video-player { 1259 1264 padding: 0; 1260 1265 } 1261 1266 1262 1267 /*-------------------------------------------------------------- 1263 ## ARTICLES 1268 ## ARTICLES 1264 1269 --------------------------------------------------------------*/ 1265 1270 … … 1269 1274 1270 1275 article.hentry, 1271 #main .content-widget {1276 .main .content-widget { 1272 1277 display: block; 1273 1278 position: relative; … … 1304 1309 } 1305 1310 1306 #main .content-search.pad-container .page-title {1311 .main .content-search.pad-container .page-title { 1307 1312 padding-top: 1em; 1308 1313 padding-bottom: 0; … … 1317 1322 } 1318 1323 1319 .verbosa-cropped-featured #main .post-thumbnail-container img.post-featured-image {display: none;}1320 .verbosa-responsive-featured #main .post-thumbnail-container a.post-featured-image {display: none;}1324 .verbosa-cropped-featured .main .post-thumbnail-container img.post-featured-image {display: none;} 1325 .verbosa-responsive-featured .main .post-thumbnail-container a.post-featured-image {display: none;} 1321 1326 1322 1327 .magazine-one #content-masonry article.hentry, 1323 .magazine-one .pad-container { 1328 .magazine-one .pad-container { 1324 1329 width: 100%; 1325 1330 margin-left: 0; … … 1337 1342 padding: 1em; 1338 1343 margin-bottom: 1.5em; 1339 width: 31.333333333%; 1344 width: 31.333333333%; 1340 1345 float: left; 1341 1346 } … … 1345 1350 .verbosa-elementborder #sidebar-bg, 1346 1351 .verbosa-elementborder .page-numbers:not(.dots) { 1347 border: 1px solid rgba(0, 0, 0, . 07);1352 border: 1px solid rgba(0, 0, 0, .1); 1348 1353 } 1349 1354 … … 1362 1367 1363 1368 /*-------------------------------------------------------------- 1364 ## IMAGES 1369 ## IMAGES 1365 1370 --------------------------------------------------------------*/ 1366 1371 1367 1372 /* Prevent overlfow */ 1368 .size-auto, 1373 .size-auto, 1369 1374 .size-full, 1370 1375 .size-large, … … 1375 1380 } 1376 1381 1377 #main a.post-featured-image {1382 .main a.post-featured-image { 1378 1383 background-position: center center; 1379 1384 background-size: cover; … … 1389 1394 } 1390 1395 1391 #main a.post-featured-image:hover {1396 .main a.post-featured-image:hover { 1392 1397 background-position: 50% 0%; 1393 1398 } 1394 #main a.post-featured-image::before {1399 .main a.post-featured-image::before { 1395 1400 content: ""; 1396 1401 position: absolute; … … 1406 1411 } 1407 1412 1408 #main a.post-featured-image:hover::before {1413 .main a.post-featured-image:hover::before { 1409 1414 bottom: -1px; 1410 1415 } 1411 1416 1412 #main img.post-featured-image {1417 .main img.post-featured-image { 1413 1418 display: table; 1414 1419 margin: 0 auto; … … 1422 1427 } 1423 1428 1424 #main .post-thumbnail-container + .featured-bar {1429 .main .post-thumbnail-container + .featured-bar { 1425 1430 margin-top: -.5em; 1426 1431 } 1427 1432 1428 #main img {1433 .main img { 1429 1434 margin: 0; 1430 1435 height: auto; … … 1432 1437 } 1433 1438 1434 #main .alignleft,1435 #main img.alignleft {1439 .main .alignleft, 1440 .main img.alignleft { 1436 1441 display: inline; 1437 1442 float: left; … … 1439 1444 } 1440 1445 1441 #main .alignright,1442 #main img.alignright {1446 .main .alignright, 1447 .main img.alignright { 1443 1448 display: inline; 1444 1449 float: right; … … 1446 1451 } 1447 1452 1448 #main .aligncenter,1449 #main img.aligncenter {1453 .main .aligncenter, 1454 .main img.aligncenter { 1450 1455 clear: both; 1451 1456 display: block; … … 1454 1459 } 1455 1460 1456 #main img.alignleft,1457 #main img.alignright,1458 #main img.aligncenter {1461 .main img.alignleft, 1462 .main img.alignright, 1463 .main img.aligncenter { 1459 1464 margin-bottom: 1em; 1460 1465 } 1461 1466 1462 #main img.alignleft,1463 #main img.alignright,1464 #main img.aligncenter,1465 #main img.alignnone,1466 #main .wp-caption img {1467 .main img.alignleft, 1468 .main img.alignright, 1469 .main img.aligncenter, 1470 .main img.alignnone, 1471 .main .wp-caption img { 1467 1472 -webkit-transition:all .3s ease-in-out; 1468 1473 -moz-transition: all .3s ease-in-out; … … 1471 1476 } 1472 1477 1473 #main img.alignleft:hover,1474 #main img.alignright:hover,1475 #main img.aligncenter:hover,1476 #main img.alignnone:hover,1477 #main .wp-caption img:hover {}1478 1479 #main .wp-caption {1478 .main img.alignleft:hover, 1479 .main img.alignright:hover, 1480 .main img.aligncenter:hover, 1481 .main img.alignnone:hover, 1482 .main .wp-caption img:hover {} 1483 1484 .main .wp-caption { 1480 1485 margin-bottom: 1em; 1481 1486 text-align: center; … … 1483 1488 } 1484 1489 1485 body #main .wp-caption > a {1486 display: block; 1487 } 1488 1489 #main .wp-caption img {1490 body .main .wp-caption > a { 1491 display: block; 1492 } 1493 1494 .main .wp-caption img { 1490 1495 display: block; 1491 1496 border: none; … … 1495 1500 } 1496 1501 1497 #main .wp-caption .wp-caption-text {1502 .main .wp-caption .wp-caption-text { 1498 1503 padding: .7em .5em; 1499 1504 text-align: center; 1500 1505 font-style: italic; 1501 1506 } 1502 #main .wp-smiley {1507 .main .wp-smiley { 1503 1508 margin: 0; 1504 1509 width: auto; … … 1510 1515 1511 1516 /*-------------------------------------------------------------- 1512 ## PAGE NAVIGATION 1517 ## PAGE NAVIGATION 1513 1518 --------------------------------------------------------------*/ 1514 1519 … … 1850 1855 } 1851 1856 1852 #main .attachment img { /* single attachment images should be centered */1857 .main .attachment img { /* single attachment images should be centered */ 1853 1858 display: block; 1854 1859 margin: 2em auto; … … 1906 1911 } 1907 1912 1908 #main h3#comments-title {1913 .main h3#comments-title { 1909 1914 margin-bottom: 1.5em; 1910 1915 line-height: 1.5; … … 1934 1939 } 1935 1940 1936 #main .commentlist .pingback p {1941 .main .commentlist .pingback p { 1937 1942 margin: 0; 1938 1943 } … … 1952 1957 1953 1958 .commentlist img.avatar { 1954 height: 60px; 1959 height: 60px; 1955 1960 width: 60px; 1956 1961 padding: 5px; … … 2068 2073 } 2069 2074 2070 #main .nocomments, #main .nocomments2 {2075 .main .nocomments, .main .nocomments2 { 2071 2076 margin-bottom: 0; 2072 2077 } … … 2077 2082 2078 2083 /*-------------------------------------------------------------- 2079 ## COMMENT FORM 2084 ## COMMENT FORM 2080 2085 --------------------------------------------------------------*/ 2081 2086 #respond { … … 2088 2093 font-size: 0.8em; 2089 2094 } 2095 2090 2096 .form-allowed-tags { 2091 2097 line-height: 1em; 2092 2098 } 2099 2093 2100 .children #respond { 2094 2101 margin: 0 4em 0 0; 2095 2102 min-width: 400px; 2096 2103 } 2104 2097 2105 h3#reply-title { 2098 2106 margin: 0; … … 2101 2109 font-weight: 300; 2102 2110 } 2111 2103 2112 #comments-list #respond { 2104 2113 margin: 0 0 1.5em 0; 2105 2114 } 2115 2106 2116 #comments-list ul #respond { 2107 2117 margin: 0; 2108 2118 } 2119 2109 2120 #cancel-comment-reply-link { 2110 2121 font-size: 1em; … … 2112 2123 line-height: 1.5em; 2113 2124 } 2125 2114 2126 #respond .required {} 2115 2127 … … 2274 2286 overflow: hidden; 2275 2287 margin-left: -2.5em; 2288 width: 100%; 2289 width: calc(100% + 2.5em); 2290 max-width: 100%; 2291 max-width: calc(100% + 2.5em); 2276 2292 } 2277 2293 … … 2362 2378 2363 2379 /*-------------------------------------------------------------- 2364 # SEARCHFORM 2380 # SEARCHFORM 2365 2381 --------------------------------------------------------------*/ 2366 2382 … … 2376 2392 } 2377 2393 2378 #main .no-results .content-search {2394 .main .no-results .content-search { 2379 2395 padding: 0; 2380 2396 } 2381 2397 2382 #main .no-results .entry-title,2383 #main .not-found .entry-title {2398 .main .no-results .entry-title, 2399 .main .not-found .entry-title { 2384 2400 margin: 1em auto; 2385 2401 } … … 2477 2493 } 2478 2494 2479 /*-------------------------------------------------------------- 2495 /*-------------------------------------------------------------- 2480 2496 # SOCIALS 2481 2497 --------------------------------------------------------------*/ … … 2497 2513 position: relative; 2498 2514 z-index: 99; 2499 margin: 0 .6em ;2515 margin: 0 .6em .5em .6em; 2500 2516 overflow: hidden; 2501 2517 font-size: .8em; … … 2514 2530 } 2515 2531 .socials a:before, 2516 .socials a:after { 2532 .socials a:after { 2517 2533 background: transparent; 2518 2534 border-radius: 100px; … … 2565 2581 2566 2582 2567 /*-------------------------------------------------------------- 2568 # MISCELLANEOUS 2583 /*-------------------------------------------------------------- 2584 # MISCELLANEOUS 2569 2585 --------------------------------------------------------------*/ 2570 2586 … … 2658 2674 2659 2675 /* ## CUSTOM CAPTION LOOK */ 2660 .verbosa-caption-zero #main .wp-caption .wp-caption-text {}2661 2662 .verbosa-caption-one #main .wp-caption .wp-caption-text {2676 .verbosa-caption-zero .main .wp-caption .wp-caption-text {} 2677 2678 .verbosa-caption-one .main .wp-caption .wp-caption-text { 2663 2679 border-bottom: 1px solid transparent; 2664 2680 border-top: 1px solid transparent; … … 2666 2682 } 2667 2683 2668 .verbosa-caption-two #main .wp-caption .wp-caption-text {2684 .verbosa-caption-two .main .wp-caption .wp-caption-text { 2669 2685 margin-top: 2px; 2670 2686 border-top: 2px solid; … … 2827 2843 } 2828 2844 2829 #main blockquote p{2845 .main blockquote p{ 2830 2846 margin-bottom: 0; 2831 2847 } 2832 2848 2833 /*-------------------------------------------------------------- 2849 /*-------------------------------------------------------------- 2834 2850 # CONDITIONALS 2835 2851 --------------------------------------------------------------*/ … … 2837 2853 .page.comhide-in-pages .nocomments { display: none; } 2838 2854 .hide-page-title .page h1.entry-title, .home.hide-page-title .page h2.entry-title { display: none; } 2839 .hide-cat-title . category-header, .hide-cat-title .arhive-header, .hide-cat-title .tag-header { display: none; }2840 2841 /*-------------------------------------------------------------- 2855 .hide-cat-title .page-header { display: none; } 2856 2857 /*-------------------------------------------------------------- 2842 2858 # FIXES 2843 2859 -------------------------------------------------------------- */ 2844 2860 2845 /* woocommerce fix*/ 2861 /* woocommerce fix*/ 2846 2862 .woocommerce .product .entry-summary { 2847 2863 clear: none; -
verbosa/0.9.1/templates/template-onecolumn.php
r357746 r357746 14 14 <div id="container" class="one-column"> 15 15 <?php verbosa_header_section() ?> 16 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >16 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 17 17 <?php get_template_part( 'content/content', 'page'); ?> 18 18 </main><!-- #main --> -
verbosa/0.9.1/templates/template-page-with-intro.php
r357746 r357746 15 15 <div id="container" class="<?php echo verbosa_get_layout_class(); ?>"> 16 16 <?php verbosa_header_section() ?> 17 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >17 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 18 18 19 19 <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> -
verbosa/0.9.1/templates/template-twocolumns-left.php
r357746 r357746 10 10 <div id="container" class="<?php echo $verbosa_template_layout;?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 13 13 <?php get_template_part( 'content/content', 'page'); ?> 14 14 </main><!-- #main --> -
verbosa/0.9.1/templates/template-twocolumns-right.php
r357746 r357746 10 10 <div id="container" class="<?php echo $verbosa_template_layout;?>"> 11 11 <?php verbosa_header_section() ?> 12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> >12 <main id="main" role="main" <?php cryout_schema_microdata('main'); ?> class="main"> 13 13 <?php get_template_part( 'content/content', 'page'); ?> 14 14 </main><!-- #main -->
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)