skip to Main Content

Passing variables through php and jquery in wordpress

I am using wordpress and have the following code on functions.php file function fun1() { wp_enqueue_script( 'aldi_code', 'wp-content/uploads/custom-css-js/675.js', array( 'jquery' ), false, true ); wp_localize_script( 'aldi_code', 'test', array( 'current_user' => wp_get_current_user() ) ) ; } add_action( 'wp_enqueue_scripts', 'fun1' ); I…

VIEW QUESTION

Apache rewrite with and without Parameters

I need to rewrite URL's with and without parameters in the URL, I configured a RewriteMap via dbm kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html => Produkte/Werke-Uhrenersatzteile/Schraubkronen-PBBZ-wasserdicht/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=default => Produkte/Werke-Uhrenersatzteile/Schraubkronen-PBBZ-wasserdicht/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=en => en/Products/Watch-replacement-parts/Watch-crowns/Screw-on-crowns/Screw-on-crowns-PBBZ-waterproof/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=fr => fr/Produits/Couronnes/Couronnes-vissees/Couronnes-vissees-PBBZ-etanches/ kronen-und-gehaeusetuben/wasserdicht-typ-pbbz.html?___store=es => es/Productos/Movimientos-Piezas/Piezas-de-repuesto-para-relojes/Coronas/Coronas-a-rosca/Coronas-a-rosca-PBBZ-hermeticas/ <VirtualHost *:80> DocumentRoot "/var/www/html" #ServerName www.example.com RewriteMap…

VIEW QUESTION
Back To Top
Search