Hot answers tagged

1

Hmmm, a different way to output you say? <?php if ( 'en_US' === get_locale() ) : ?> Wasn't your favorite color red? <?php endif; ?> :laughing: But seriously, I mean anything can be done if you want to do it. If you look at esc_html__ - you will see that it's just calling esc_html, which is filterable after the safe text has been ...


1

Because the url is not correct. The + sign is for concatenating strings in javascript language. You should use . sign. header('Location: ' . $url);


1

It is not recommended to edit the theme file directly. It is best practice to use some sort of plugin. Monster Insight is one of the best available in the market. It is available in the WordPress repository.


1

Paste to the closing </body>tag ... Look for the footer.php file in your theme template on your hosting


Only top voted, non community-wiki answers of a minimum length are eligible