define in functions use in frontend
-
Hi
I added some define declarations in function.php, like simple texts which are to be displayed on pages.
(sort of a language switcher: if russian define this, this if spanish define this, that etc)
I want to use them in my templatefiles like search.php or footer.php in this way:
<h1 class=”entry-title”><?php echo CONSTANT; ?></h1>Funny thing is the defines do not seem to be available: nothing shows
What is the proper way?
How do I get to see my defines?thx i.a.
I
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘define in functions use in frontend’ is closed to new replies.