If I do
<?php get_bloginfo('home'); ?>
<?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?
- The topic ‘get_bloginfo(‘home’) is outputting current page’ is closed to new replies.