Title: FB sharing description issues
Last modified: August 21, 2016

---

# FB sharing description issues

 *  Resolved [gallinula](https://wordpress.org/support/users/gallinula/)
 * (@gallinula)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/)
 * Hey,
    first of all thank you for a great plugin, it really lowers the bounce 
   rate on my website.
 * Since I installed and configured your plugin I have a problem with sharing my
   posts on Facebook.
    The description of post is not the excerpt (usually first
   lines from post) but part of your plugin, like “See related posts: Article one
   title Article two title”.
 * I’m using Open Graph. My header includes:
    `<meta property="og:description" content
   ="<?php echo get_the_excerpt(); ?>" />` or `<meta property="og:description" content
   ="<?php echo strip_tags(get_the_excerpt($post->ID)); ?>" />`
 * Either of above does not work properly. When I use Facebook Debugger it shows
   that og:description takes not the posts but the part of WordPress Related Posts
   plugin.
 * Any idea how I should proceed to get proper descriptions?
    Thanks in advance
 * [http://wordpress.org/plugins/wordpress-23-related-posts-plugin/](http://wordpress.org/plugins/wordpress-23-related-posts-plugin/)

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

 *  [conservativeread](https://wordpress.org/support/users/conservativeread/)
 * (@conservativeread)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386107)
 * same problem here wp_wp_rp_tags
 *  [Mateja](https://wordpress.org/support/users/sparkica/)
 * (@sparkica)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386108)
 * Hey,
 * our big apologies for the delay in our response, all the work during holidays
   and the changes we were about to set with the new years got us a bit stranded
   with support. We’ll look into this asap.
 * Can you please tell me which version of WordPress and the plugin you’re using?
 *  [conservativeread](https://wordpress.org/support/users/conservativeread/)
 * (@conservativeread)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386109)
 * wordpress 3.8 plgin v 3.3 wp_wp_rp_tags creates a database entry and interferes
   with og tags.
 *  [Mateja](https://wordpress.org/support/users/sparkica/)
 * (@sparkica)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386110)
 * Thanks for the details.
 *  [Mateja](https://wordpress.org/support/users/sparkica/)
 * (@sparkica)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386113)
 * Hey,
 * **[@gallinula](https://wordpress.org/support/users/gallinula/)**
    according to
   the [ Function Reference for get_the_excerpt](http://codex.wordpress.org/Function_Reference/get_the_excerpt)
   this tag must be used within The Loop. I’m guessing using it outside The Loop
   was causing the problems. I think I found a solution – it works on our test blog.
 * I suggest you replace the line you were using in header
    `<meta property="og:
   description" content="<?php echo get_the_excerpt(); ?>" />` with these lines:
 *     ```
       <?php if ( (is_page()) || (is_single()) ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
       <meta name="og:description" content="<?php echo get_the_excerpt(); ?>" />
       <?php endwhile; endif; elseif(is_home()) : ?>
       ```
   
 * Please let me know if this works for you.
 * **[@conservativeread](https://wordpress.org/support/users/conservativeread/)**
   
   Do you have any special OG-related plugin installed? If not, can you please post
   a snippet of code where you generate og tags? This would help me understand how
   could wp_wp_rp_tags interfere with og tags.
 *  [conservativeread](https://wordpress.org/support/users/conservativeread/)
 * (@conservativeread)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386117)
 * og plugin [http://wordpress.org/plugins/open-graph-protocol-framework/](http://wordpress.org/plugins/open-graph-protocol-framework/)
 * however happens on twittercards only see example tweet:
 * > National Weather Forecast: Hercules takes aim on the Eastern Seaboard [http://t.co/Rfas89stUO](http://t.co/Rfas89stUO)
   > — Patriot #AmericaFirst (@keichri) [January 2, 2014](https://twitter.com/keichri/status/418838701657972736?ref_src=twsrc%5Etfw)
 * I have since removed the plugin and have no problem but also no related posts
   either please reply thank you
 *  [Mateja](https://wordpress.org/support/users/sparkica/)
 * (@sparkica)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386119)
 * [@conservativeread](https://wordpress.org/support/users/conservativeread/)
    I’ve
   tested this OG plugin with our plugin and I figured out they that the content
   from our plugin is ready before the post content is available and hence OG plugin
   generates description from “Related posts” and two related post titles.
 * We’ll add a fix for this in our next release.
 * Thanks for your patience,
    Mateja
 *  [conservativeread](https://wordpress.org/support/users/conservativeread/)
 * (@conservativeread)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386120)
 * thank you very much
 *  [Mateja](https://wordpress.org/support/users/sparkica/)
 * (@sparkica)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386127)
 * Hey,
 * we released updated version of the plugin. We included a bugfix for the issue
   with OG plugins.
    Can you please update our plugin and check if everything works
   as expected so I can close the topic?
 * Thanks.
 * Best,
    Mateja

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

The topic ‘FB sharing description issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-23-related-posts-plugin_7b9a7c.
   svg)
 * [WordPress Related Posts](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-23-related-posts-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-23-related-posts-plugin/reviews/)

## Tags

 * [description](https://wordpress.org/support/topic-tag/description/)
 * [sharing](https://wordpress.org/support/topic-tag/sharing/)

 * 9 replies
 * 3 participants
 * Last reply from: [Mateja](https://wordpress.org/support/users/sparkica/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/fb-sharing-description-issues/#post-4386127)
 * Status: resolved