get_bloginfo(‘home’) is outputting current page
-
If I do
<?php get_bloginfo('home'); ?>
Or even:
<?php get_bloginfo('url'); ?>
It simply outputs the URL of the current page I’m on instead of the actual WordPress homepage. So if I’m on domain.com/about-page, that’s what it outputs rather than domain.com.
Any ideas what’s going on and how I can fix this issue?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_bloginfo(‘home’) is outputting current page’ is closed to new replies.