Changeset 1543138
- Timestamp:
- 11/30/2016 09:10:39 AM (9 years ago)
- File:
-
- 1 edited
-
tc-portfolio/trunk/tc-portfolio.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tc-portfolio/trunk/tc-portfolio.php
r1539986 r1543138 37 37 require_once TCPORTFOLIO_PLUGIN_DIR .'/lib/tc-metabox.php'; 38 38 require_once TCPORTFOLIO_PLUGIN_DIR .'/public/tc-view.php'; 39 39 require_once TCPORTFOLIO_PLUGIN_DIR .'/lib/tcp-class.php'; 40 40 function tcportfolio_faq_enqueue_scripts() { 41 41 //Plugin Main CSS File … … 83 83 'remove_text' => __( 'Remove Portfolio Image', 'tcpc' ) 84 84 )); 85 86 add_filter( 'gettext', 'tcp_excerpt_sd', 10, 2 ); 87 function tcp_excerpt_sd( $translation, $original ) 88 { 89 if ( 'Excerpt' == $original ) { 90 return 'Short Description'; 91 }else{ 92 $pos = strpos($original, 'Excerpts are optional hand-crafted summaries of your'); 93 if ($pos !== false) { 94 return 'This Portfolio Short Description will appear on Image hover . You can hide/show through Basic Settings'; 95 } 96 } 97 return $translation; 98 }
Note: See TracChangeset
for help on using the changeset viewer.