Creating multilingual glossary for WP

I have replaced this code from functions.php: wp_localize_script( ‘ajax-script’, ‘my_ajax_object’, array( ‘ajax_url’ => admin_url( ‘admin-ajax.php’ ) ) ); } with this: wp_localize_script(“alphabetJS”, “ajaxurl”, admin_url(“admin-ajax.php”)); Then edited javascript jQuery.post(my_ajax_object.ajaxurl, data, function(response) { with this: jQuery.post(ajaxurl, data, function(response) {

How to get a clean pagination link without variable

Sure you retrieve link like site.com/page/?cp=2, because you added get parameter cp. If you wanna link like site.com/page/cp/2 – remove base parameter and set format to ?cp=%#% If you wanna link like site.com/page/2 – remove ‘base’ and ‘format’ parameters and stay it default. Because format – is ?page=%#% by default.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)