Changeset 1873208
- Timestamp:
- 05/12/2018 01:51:10 PM (8 years ago)
- Location:
- mwuse/trunk
- Files:
-
- 7 added
- 4 edited
-
addons/mtw-shortcodes/mtw-shortcodes.php (modified) (4 diffs)
-
front-style.css (modified) (1 diff)
-
mtw-script/slidesbg-js (added)
-
mtw-script/slidesbg-js/LICENSE (added)
-
mtw-script/slidesbg-js/README.md (added)
-
mtw-script/slidesbg-js/index.html (added)
-
mtw-script/slidesbg-js/slidesbg.css (added)
-
mtw-script/slidesbg-js/slidesbg.js (added)
-
mtw-script/slidesbg-js/slidesbg.min.js (added)
-
mwuse.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mwuse/trunk/addons/mtw-shortcodes/mtw-shortcodes.php
r1863744 r1873208 7 7 8 8 global $wp_query; 9 10 9 11 10 if( ( is_tax() || is_category() ) && !in_the_loop() ) … … 339 338 add_shortcode( 'mw_back_to_archive_url', 'mtw_back_to_archive_url' ); 340 339 340 function mtw_define_global_authordata_if_empty() 341 { 342 global $post; 343 global $authordata; 344 if( empty($authordata) ) 345 { 346 $authordata = new WP_User( $post->post_author ); 347 return $authordata; 348 } 349 } 341 350 342 351 function mtw_author_name() 343 352 { 344 return get_the_author(); 353 global $post; 354 mtw_define_global_authordata_if_empty(); 355 return get_the_author_meta('display_name'); 345 356 } 346 357 add_shortcode( 'mtw_author_name', 'mtw_author_name' ); … … 353 364 'id' => false 354 365 ), $atts ); 355 366 mtw_define_global_authordata_if_empty(); 356 367 return get_the_author_meta( $atts['key'], $atts['id'] ); 357 368 } … … 363 374 'size' => 32 364 375 ), $atts ); 365 376 mtw_define_global_authordata_if_empty(); 366 377 return get_avatar( get_the_author_meta( 'ID' ), $atts['size'] ); 367 378 } -
mwuse/trunk/front-style.css
r1863744 r1873208 58 58 { 59 59 font-size: 150%; 60 line-height: 250%;60 line-height: 130%; 61 61 } 62 62 -
mwuse/trunk/mwuse.php
r1865959 r1873208 7 7 Text Domain: mwuse 8 8 Domain Path: /languages 9 Version: 1.2.1700 39 Version: 1.2.17005 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 29 29 define("TTR_MW_PLUGIN_DIR", plugin_dir_path( __FILE__ ) ); 30 30 define("TTR_MW_PLUGIN_URL", plugin_dir_url( __FILE__ ) ); 31 $mtw_version = '1.2.1700 3';31 $mtw_version = '1.2.17005'; 32 32 33 33 -
mwuse/trunk/readme.txt
r1865959 r1873208 43 43 44 44 == Changelog == 45 1.2.18 (progress) 46 - Woocommerce: slide scripts not find 47 - Issue with Author info 48 - Include mtw outsourcing scripts in mwuse 49 45 50 1.2.17 46 51 - ZIP Upload no need sub-folder for one project
Note: See TracChangeset
for help on using the changeset viewer.