Title: Short code not working
Last modified: February 4, 2019

---

# Short code not working

 *  [brianflanagan](https://wordpress.org/support/users/brianflanagan/)
 * (@brianflanagan)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/short-code-not-working-49/)
 * Hi,
 * I’ve tried to use the extension inside of a page using the following shortcode
   without success :
    [rpwe limit=”10″ thumb=”true” ]
 * When I try to publish it, the update will fail.
    I’ve tried to remove the options
   and this is the same.
 * The plugin is installed and works as a widget.
    My theme is Head Blog.
 * Is there anything I could do to fix this ?
 * Thanks a lot

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

 *  [Daniel Payne](https://wordpress.org/support/users/djepayne/)
 * (@djepayne)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/short-code-not-working-49/#post-11287848)
 * I’m having the same issues with the Gutenberg editor, trying to Save a page with
   shortcode [rpwe cat=”event” limit=”6″], gives me: Updating failed
 *  [rmpnet](https://wordpress.org/support/users/rmpnet/)
 * (@rmpnet)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/short-code-not-working-49/#post-11336037)
 * I get the same issue, though with a bit of poking around in FF developer tools
   Network, I can see the issue causing the update failure.
 * The following is being output before the expected json response when the publish
   button is clicked:
 *     ```
       <style>
       .rpwe-block ul{list-style:none!important; ...
       </style>
       ```
   
 * This is generated from
    `function rpwe_custom_styles()` which is called from `
   function rpwe_get_recent_posts( $args = array() )`
 * My fix was to comment out the call to generate the custom styles:
 *     ```
       	// Display the default style of the plugin.
       	if ( $args['styles_default'] === true ) {
       //		rpwe_custom_styles();
       	}
       ```
   
 * This also means that the front end formatting will not now have the rpwe formatting
   applied as the css is not being output.
 * What the correct solution is I don’t know, I don’t understand enough about WP.
   
   But it get’s me out of a hole!
 *  [rmpnet](https://wordpress.org/support/users/rmpnet/)
 * (@rmpnet)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/short-code-not-working-49/#post-11343920)
 * I’ve done some more searching on this and have found this issue was noted last
   September [https://wordpress.org/support/topic/gutenberg-compatibility-15/](https://wordpress.org/support/topic/gutenberg-compatibility-15/)
   and a github issue raised [https://github.com/WordPress/gutenberg/issues/9923](https://github.com/WordPress/gutenberg/issues/9923)

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

The topic ‘Short code not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-widget-extended_3384ca.
   svg)
 * [Recent Posts Widget Extended](https://wordpress.org/plugins/recent-posts-widget-extended/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-widget-extended/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-widget-extended/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-widget-extended/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-widget-extended/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [rmpnet](https://wordpress.org/support/users/rmpnet/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/short-code-not-working-49/#post-11343920)
 * Status: not resolved