Title: POST ShortCode: values are incorrectly placed
Last modified: March 14, 2017

---

# POST ShortCode: values are incorrectly placed

 *  Resolved [micha79](https://wordpress.org/support/users/micha79/)
 * (@micha79)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/)
 * When I use the POST ShortCode in a post, the value is not displayed in the text
   where the ShortCode was placed.
 * Instead, the value is inserted before the text of the respective DIV container.
 * I use the “Page Builder by SiteOrigin” plugin to create the pages.

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

 *  [Collin](https://wordpress.org/support/users/collinmbarrett/)
 * (@collinmbarrett)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8948941)
 * Bump: I am seeing this issue too.
 * I am using the shortcode in a child theme of Genesis Framework. In the attached
   screenshot, “29” is the number of views of this post. Even though in the theme
   file I have the shortcode directly after “Views:”, the actual count returned 
   by the shortcode shows up outside of the ‘p’ element that it should be in.
 * [https://drive.google.com/file/d/0B8_RAAC1wiDrNlQ3WHZQMG1aWFU/view](https://drive.google.com/file/d/0B8_RAAC1wiDrNlQ3WHZQMG1aWFU/view)
    -  This reply was modified 9 years, 2 months ago by [Collin](https://wordpress.org/support/users/collinmbarrett/).
    -  This reply was modified 9 years, 2 months ago by [Collin](https://wordpress.org/support/users/collinmbarrett/).
 *  [Collin](https://wordpress.org/support/users/collinmbarrett/)
 * (@collinmbarrett)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8950092)
 * Could this possibly be related to this: [http://wordpress.stackexchange.com/a/47077/78453](http://wordpress.stackexchange.com/a/47077/78453)
 * ?
 *  Thread Starter [micha79](https://wordpress.org/support/users/micha79/)
 * (@micha79)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8971101)
 * I added a link to a ScreenShot to clarify my problem.
 * The wrong placements I have marked in red, and the placements corresponding to
   the positions of the shortcodes in the text green.
 * [https://www.dropbox.com/s/dls3znjjn94eczk/WP_PIWIK_SHORTCODE_II.png?dl=0](https://www.dropbox.com/s/dls3znjjn94eczk/WP_PIWIK_SHORTCODE_II.png?dl=0)
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8971358)
 * This issue is in progress.
 * [https://github.com/braekling/WP-Piwik/issues/52](https://github.com/braekling/WP-Piwik/issues/52)
 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8989581)
 * The issue was solved, the fix will be available within ~2 days.
 * If this is urgent, you can fix it manually:
    – Open classes/WP_Piwik/Widget/Post.
   php – Go to line 30: `echo isset($response[$this->parameter['key']])?$response[
   $this->parameter['key']]:'<em>not defined</em>';` – Replace line 30 by: `$this-
   >out(isset($response[$this->parameter['key']])?$response[$this->parameter['key']]:'
   <em>not defined</em>');`
    -  This reply was modified 9 years, 2 months ago by [braekling](https://wordpress.org/support/users/braekling/).
 *  [Collin](https://wordpress.org/support/users/collinmbarrett/)
 * (@collinmbarrett)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8990603)
 * Perfect! That manual fix works for me. Thanks for looking into this so quickly,
   and for the awesome plugin!
 *  Thread Starter [micha79](https://wordpress.org/support/users/micha79/)
 * (@micha79)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8991770)
 * Thank you. Me too.
 * For the sake of completeness, it would still be good that the number would be
   formatted with the thousands separator.

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

The topic ‘POST ShortCode: values are incorrectly placed’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [micha79](https://wordpress.org/support/users/micha79/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/post-shortcode-values-are-incorrectly-placed/#post-8991770)
 * Status: resolved