Title: Front End usage
Last modified: August 22, 2016

---

# Front End usage

 *  [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * (@goodmuyis)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/)
 * From some reason is the a way to make use of this plugin at the front end?
    whether
   through Tempate editing or something
 * [https://wordpress.org/plugins/similar-post-title-checker/](https://wordpress.org/plugins/similar-post-title-checker/)

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

 *  [wherepiewhere](https://wordpress.org/support/users/wherepiewhere/)
 * (@wherepiewhere)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/#post-5467539)
 * iam looking for a way to enable this on WP User Frontend Pro when submitting 
   a post via the front end, this works great in the back end btw
 *  Plugin Author [Morteza Geransayeh](https://wordpress.org/support/users/man4toman/)
 * (@man4toman)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/#post-5467610)
 * OK
    you need some modification in plugin.
 * First you must add “nopriv” to wp_ajax.
    like this:
 *     ```
       add_action( 'wp_ajax_nopriv_sp_ajax_hook', 'sp_process');
       add_action( 'wp_ajax_nopriv_sp_ajax_hook_sc', 'sp_process');
       ```
   
 * next you must load plugin’s js file in front-end:
    `asset/js/ajax.js`
 * and in final step you must add a input box with specific id, “#title”.
    That’s
   all.
 * But in another way you can wait for new version. We include this feature on it
   🙂
 *  Thread Starter [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * (@goodmuyis)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/#post-5467648)
 *     ```
       add_action( 'wp_ajax_nopriv_sp_ajax_hook', 'sp_process');
       add_action( 'wp_ajax_nopriv_sp_ajax_hook_sc', 'sp_process');
       ```
   
 * The code above am i not going to add to to `functions.php` ?
 *  Plugin Author [Morteza Geransayeh](https://wordpress.org/support/users/man4toman/)
 * (@man4toman)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/#post-5467682)
 * Yes, add to your theme functions
 *  Thread Starter [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * (@goodmuyis)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/#post-5467684)
 * I did (in a child theme)but it did not work. this is how i add it, if you have
   a working sample kindly give me
 *     ```
       /* = similar-post-title-checker
        ****************************************/
       add_action( 'wp_ajax_nopriv_sp_ajax_hook', 'sp_process');
       add_action( 'wp_ajax_nopriv_sp_ajax_hook_sc', 'sp_process');
   
       function title_checker_scripts() {
       	wp_register_script('title_checker',plugins_url().'/similar-post-title-checker/asset/js/ajax.js', array('jquery'), '1.0' );
       	wp_enqueue_script('title_checker');
       }
       add_action('wp_enqueue_scripts', 'title_checker_scripts');
       ```
   

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

The topic ‘Front End usage’ is closed to new replies.

 * ![](https://ps.w.org/similar-post-title-checker/assets/icon.svg?rev=2047984)
 * [Similar post-title checker](https://wordpress.org/plugins/similar-post-title-checker/)
 * [Support Threads](https://wordpress.org/support/plugin/similar-post-title-checker/)
 * [Active Topics](https://wordpress.org/support/plugin/similar-post-title-checker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/similar-post-title-checker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/similar-post-title-checker/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [goodmuyis](https://wordpress.org/support/users/goodmuyis/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/front-end-usage/#post-5467684)
 * Status: not resolved