wordpress echo the page title
<?php echo get_the_title(post->$ID); ?>
wordpress echo the page title
<?php echo get_the_title(post->$ID); ?>
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 :)
how to add title to wordpress php
// For website name in <title> tag
<?php wp_title(); ?>
// For the Post title within the loop
<?php the_title(); ?>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us