Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress get site title

You are not outputting anything to show. You are only assigning blog name to a variable. You need to echo the content. It should be :

<h1><?php echo get_bloginfo( 'name' ); ?></h1>
Hope this helps :)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #wordpress #site #title
ADD COMMENT
Topic
Name
1+2 =