Title: Shortcode &amp; Unique Excerpts
Last modified: August 20, 2016

---

# Shortcode & Unique Excerpts

 *  [65monroe@](https://wordpress.org/support/users/65monroe/)
 * (@65monroe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/shortcode-unique-excerpts/)
 * My suggestion is support the shortcode so that you can insert these within the
   post with a simple shortcode: [rt_social_buttons]
 * example code:
 *     ```
       function register_shortcodes(){
          add_shortcode('rt_social_buttons', 'rtsocial');
       }
       add_action( 'init', 'register_shortcodes');
       ```
   
 * One other question is it possible to change the link included in the excerpt 
   or the auto populate shared text? For example I am using these on a “thanks for
   signing up share with your friends confirmation page” so I would rather direct
   new traffic to the start of the sign up process.
 * [http://wordpress.org/extend/plugins/rtsocial/](http://wordpress.org/extend/plugins/rtsocial/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Saurabh](https://wordpress.org/support/users/saurabhshukla/)
 * (@saurabhshukla)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/shortcode-unique-excerpts/#post-3395962)
 * Hi,
 * The shortcode idea is good. We will consider it. The latter however is a request
   on the edge. It will complicate the plugin and take it away from being a simple,
   fast and efficient plugin.
 * Regards.
 *  Thread Starter [65monroe@](https://wordpress.org/support/users/65monroe/)
 * (@65monroe)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/shortcode-unique-excerpts/#post-3395963)
 * Ah understandable.
 * I actually just went through and replaced all the get_permalink with get_post_meta(
   $post->ID, ‘share’, true)
    and get_post_title with get_post_meta($post->ID, ‘
   share_title’, true)
 * So it is getting the info from the custom fields.
 * As it is only being used on a few pages have not noticed any speed differences.
 *  [Newfound](https://wordpress.org/support/users/precipitatejournal/)
 * (@precipitatejournal)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/shortcode-unique-excerpts/#post-3395988)
 * Yes, a shortcode would be great. Otherwise, I am stuck with Sharethis.. :/

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode & Unique Excerpts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/rtsocial_e4f2e8.svg)
 * [rtSocial](https://wordpress.org/plugins/rtsocial/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rtsocial/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rtsocial/)
 * [Active Topics](https://wordpress.org/support/plugin/rtsocial/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rtsocial/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rtsocial/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Newfound](https://wordpress.org/support/users/precipitatejournal/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/shortcode-unique-excerpts/#post-3395988)
 * Status: not resolved