Title: Return Shortcode Content
Last modified: August 21, 2016

---

# Return Shortcode Content

 *  Resolved [Jerome Fitzpatrick](https://wordpress.org/support/users/jeromefitzpatrick/)
 * (@jeromefitzpatrick)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/return-shortcode-content/)
 * When specifying an album ID with the shortcode , it echos the HTML found in the
   photos.php include file which results in information entered above the shortcode
   in the editor showing below the photos.
 * E.G.
 * This is my Album – I want this text above:
    [fbalbumsync album=’123123131231231′]
 * Results in….
 * [photo] [photo] [photo]
    This is my Album – I want this text above:
 * I have hacked your plugin for now and used ob_start() to capture the content,
   add it to a variable and in the main plugin file, return that variable.
 * [http://wordpress.org/extend/plugins/facebook-album-sync/](http://wordpress.org/extend/plugins/facebook-album-sync/)

The topic ‘Return Shortcode Content’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-album-sync_a8b3cd.svg)
 * [Facebook Album Sync](https://wordpress.org/plugins/facebook-album-sync/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-album-sync/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-album-sync/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-album-sync/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-album-sync/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-album-sync/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jerome Fitzpatrick](https://wordpress.org/support/users/jeromefitzpatrick/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/return-shortcode-content/)
 * Status: resolved