The MU forums have moved to WordPress.org

Help with Code - php echo bloginfo (2 posts)

  1. allreviews
    Member
    Posted 13 years ago #

    Hello,
    I am trying to make this line of code call a subfolder url as opposed to the main url.

    -reviews"><?php echo bloginfo('name'); ?> Reviews

    Does anyone know how I can get it to pull http://www.domain.com/subfolder/
    Right now its pulling wwww.domain.com

    Thanks,
    Kris

  2. andrea_r
    Moderator
    Posted 13 years ago #

    Place your code in backticks: ` (upper left on the keyboard.)

    <?php bloginfo('url'); ?>

    http://codex.wordpress.org/Template_Tags/bloginfo#Parameters

About this Topic

  • Started 13 years ago by allreviews
  • Latest reply from andrea_r