<content>

The Really Simple Share content shortcode.


Usage

  1. // assign value 
  2. $content = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$content]"); 
  1. // assign value 
  2. $content = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$content]"); 
  6. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/really-simple-facebook-twitter-share-buttons.php  
  1.  
  2.  
  3. function really_simple_share ($content, $filter, $link='', $title='', $author='', $force_button='') { 
  4. static $last_execution = ''; 
  5.  
  6. $content = do_shortcode( $content ); 
  7.  
  8. // IF the_excerpt IS EXECUTED AFTER the_content MUST DISCARD ANY CHANGE MADE BY the_content 
  9. if ($filter=='the_excerpt' and $last_execution=='the_content') { 
  10. // WE TEMPORARILY REMOVE CONTENT FILTERING, THEN CALL THE_EXCERPT