How to display working php page name in WordPress ?

To display display working php page name in WordPress
add below code in header.php inside theme folder

 echo  get_page_template()."gggggggggg";
     exit;

See out put

 OUTPUT "/wp-content/themes/twentyseventeen/pages.phgggggggg"

default build in functon is located inside ‘wp-includes/template.php’ folder

function get_page_template() {
    $id = get_queried_object_id();
    $template = get_page_template_slug();
    $pagename = get_query_var('pagename');
 
    if ( ! $pagename && $id ) {
        // If a static page is set as the front page, $pagename will not be set. Retrieve it from the queried object
        $post = get_queried_object();
        if ( $post )
            $pagename = $post->post_name;
    }
 
    $templates = array();
    if ( $template && 0 === validate_file( $template ) )
        $templates[] = $template;
    if ( $pagename ) {
        $pagename_decoded = urldecode( $pagename );
        if ( $pagename_decoded !== $pagename ) {
            $templates[] = "page-{$pagename_decoded}.php";
        }
        $templates[] = "page-{$pagename}.php";
    }
    if ( $id )
        $templates[] = "page-{$id}.php";
    $templates[] = 'page.php';
 
    return get_query_template( 'page', $templates );
}

Places to visit near by Bangalore within 60 km

Here is the Places to visit near by Bangalore within 60 km

1) Shivagange Hill

sivaganga

Shivagange is a devotional center located  Tumakuru road, around 50km from Bengaluru  ,the beautiful mountain is shaped as a shivalinga and a spring flows near locally called “Ganga”, so the mountain  automatically named Shivagange .Shivagange is the one of the nice Places to visit near by Bangalore within 60 km

Shivagange is having various temples such as Sri Honnammadevi Temple, Gangadhareshwara temple, Olakal Teertha, Nandi Statue, PatalagangeSri Honnammadevi Temple is inside the cave. Sri Gavi Gangadhareshwara Temple is also inside the cave.

Inside the cave temple their is small water cave devotes believe that if they are able take water from cave ,within small period of time lucky things happens in their life.

2) Nandi Hills

Nandi hills , the most popular bike ride  hill stations in Bangalore city,it is around 45km from Garden city. if you wana experience morning bike bangalore,no question set your GPS end to Nandi hills.Nobody can’t expalin the beauty of the stunning Sunrise above the clouds in the early morning.The morning breeze definitely touch every cell of your body.Nandi Hillsis the one of the nice Places to visit near by Bangalore within 60 km

Nandi hills

3) Kotilingeshwara Temple

Kotilingeshwara Temple, one of the famous spiritual Places to visit near by Bangalore within 60 km,the name itself says Kotilingeshwara means,their are around 1 crore Shiva Linga are present their,Kotilingeshwara is situated in Kammasandra village in Kolar district,Kolar also famous for gold mining from KGF,Kolar Gold factorynyou will get direct public transport towards Kotilingeshwara Temple.

Kotilingeshwara Temple

 

 

 

How to add a display Title before the Enter title here field wordpress admin post

To add display Title before title field in wordpress admin post

1) Open your theme functions page
add below code

 function ps_edit_form_top() 
 { 
echo ' </code></pre> <h2>Post Name</h2> ';
 } 

add_action( 'edit_form_top', 'ps_edit_form_top');

To add display Title before Content Editor field in wordpress admin post

add below code

function add_content_before_editor_post()
{
 echo '</pre><h2>Content/Description</h2>'; 
} 
add_action('edit_form_after_title', 'add_content_before_editor_post' );