Wordpress replacing bloginfo with home_url? -



Wordpress replacing bloginfo with home_url? -

in header file, i'm using wordpress function bloginfo next 3 times:

<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

but theme check plugin gives me next warning:

bloginfo(url) found in file header.php. utilize echo home_url() instead.

can tell me how can replace that? couldn't find info in function references on wordpress website.

it may not in header.php.

find on all active theme files reference to:

bloginfo('url');

and replace with:

echo home_url();

wordpress

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -