WPIntell

Source evidence

Front End usage

Similar post-title checker · support · 2014-11-10T15:33:00+00:00

complaintsentiment
mediumseverity
0.8relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 20 rows with source links

15.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

17 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
goodmuyis unresolved
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/ 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 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 🙂 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 ? Yes, add to your theme functions 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');

Comments

5 shown
wherepiewhere 2014-11-12T10:28:00+00:00

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

Morteza Geransayeh 2014-11-16T09:21:00+00:00

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 🙂

goodmuyis 2014-11-19T13:20:00+00:00

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 ?

Morteza Geransayeh 2014-12-01T20:07:00+00:00

Yes, add to your theme functions

goodmuyis 2014-12-02T16:49:00+00:00

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');