Title: Problem with auto-hooked code
Last modified: August 20, 2016

---

# Problem with auto-hooked code

 *  [VentureMaker](https://wordpress.org/support/users/venturemaker/)
 * (@venturemaker)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/problem-with-auto-hooked-code/)
 * Upon every frontend edit Raptor will save GD’s post rating part in post body.
   
   Same happens with Print Friendly and PDF plugin.
 * I assume this won’t happen if I embed GD’s and Printfriendly’s codes directly
   into theme files. But it does happen when these plugins hook their codes automatically.
 * [http://wordpress.org/extend/plugins/wp-raptor/](http://wordpress.org/extend/plugins/wp-raptor/)

Viewing 1 replies (of 1 total)

 *  [controlb](https://wordpress.org/support/users/controlb/)
 * (@controlb)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-with-auto-hooked-code/#post-3135848)
 * I think I’ve got the same problem: if you have a shortcode that adds content 
   to a page, Raptor will save the content back to the page and write over the shortcode.
 * For example, if you use the [Testimonials Widget (TW)](http://wordpress.org/extend/plugins/testimonials-widget/)
   in amongst the content of a page using a shortcode, then edit something else 
   on that page and save it via Raptor, the code generated by TW is also saved and“
   hard coded” into the content instead of the shortcode. This means that any further
   testimonials will be ignored by that page, and you have to go back into the regular
   WP editor to delete the “hard code” and replace it with the shortcode EVERY time.
 * This appears to be true of all shortcoded widgets when added to the content. 
   Is there any way to get Raptor to avoid editing anything within [shortcode brackets]?

Viewing 1 replies (of 1 total)

The topic ‘Problem with auto-hooked code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-raptor.svg)
 * [Raptor Editor](https://wordpress.org/plugins/wp-raptor/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-raptor/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-raptor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-raptor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-raptor/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [controlb](https://wordpress.org/support/users/controlb/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/problem-with-auto-hooked-code/#post-3135848)
 * Status: not resolved