Title: Auto Insert
Last modified: June 11, 2017

---

# Auto Insert

 *  Resolved [Ricsca2](https://wordpress.org/support/users/ricsca2/)
 * (@ricsca2)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/auto-insert/)
 * Can you plug in the automatic insertion of posts instead of having to enter the
   code in the php file of the theme?
 * Thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [8 years, 12 months ago](https://wordpress.org/support/topic/auto-insert/#post-9218458)
 * That is the recommended way if I do the auto way, then I will get users how do
   I move the ratings here and there. So to solve the problem, I let user choose
   where they want to insert it.
 * If you want to do the auto way, you can put this in functions.php of your theme
 *     ```
       <?php
       add_filter( 'the_content', 'the_conent_ratings' );
       function the_conent_ratings( $content ) {
           return $content . the_ratings( 'div', 0, false );
       }
       ?>
       ```
   
    -  This reply was modified 8 years, 12 months ago by [Lester Chan](https://wordpress.org/support/users/gamerz/).

Viewing 1 replies (of 1 total)

The topic ‘Auto Insert’ is closed to new replies.

 * ![](https://ps.w.org/wp-postratings/assets/icon.svg?rev=978014)
 * [WP-PostRatings](https://wordpress.org/plugins/wp-postratings/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postratings/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postratings/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postratings/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postratings/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postratings/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [8 years, 12 months ago](https://wordpress.org/support/topic/auto-insert/#post-9218458)
 * Status: resolved