Changeset 620948
- Timestamp:
- 11/04/2012 03:45:23 PM (13 years ago)
- File:
-
- 1 edited
-
wpsocialite/trunk/wpsocialite.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpsocialite/trunk/wpsocialite.php
r620715 r620948 193 193 function wpsocialite_add_to_content( $content ) 194 194 { 195 global $wp_current_filter; 196 195 197 // added single and post type filters 196 197 198 $single = get_option('wpsocialite_single'); 198 199 199 $position = get_option('wpsocialite_position'); 200 201 200 $post_types = get_option('wpsocialite_post_types',array()); 202 201 $pt = get_post_type(); … … 210 209 if(is_feed()) 211 210 return $content; //do not include social markup in feed 211 212 if(in_array('get_the_excerpt', $wp_current_filter)) 213 return $content; 212 214 213 215 switch($position){
Note: See TracChangeset
for help on using the changeset viewer.