Template tag to PHP variable
-
I have written a nifty plugin, but I cannot for the life of me assign template tags to $variables. Here is the unworking code I have and the template tags I would like assigned to variables.
$var_the_perm = the_permalink()
$var_the_title = the_title();
$var_the_blogurl = bloginfo(‘url’);
$var_the_blogname = get_bloginfo(‘name’);Anyone have any ideas? Being able to do this would really bring down the # of queries.
Thanks
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Template tag to PHP variable’ is closed to new replies.