Simply set the desired locale (on line 6) then add the code to your functions.php file. <?php // setup one language for admin and the other ... Read More
To use a shortcode in a theme file, simply use the do_shortcode() function as shown below: <?php echo do_shortcode("[your_shortcode]"); ?> That’s it. Super simple, and really ... Read More
Paste the code below on any files, where you’d like to display the WP Query variables. global $wp_query; var_dump($wp_query->query_vars); Thanks to WP Mix for the tip! ... Read More