Home › Forums › Back End › Adding a variable to a link that’s inside a variable › Re: Adding a variable to a link that’s inside a variable
June 18, 2010 at 3:10 pm
#78207
cmoist
Member
The problem you’re facing, I believe, is that bloginfo(‘description’) is echoing the value. Try get_bloginfo(‘description’). It just returns the value, so you can use it within your PHP. Here is the WP page: Function Reference/get bloginfo
To concatenate, or add it to the $whaturl variable, do something like the below:
Code: