Change The Meta-Description Of Home-Page?

I just tried it with this code and it all worked as it should: <?php if ( is_home() ) : ?> <meta name=”description” content=”Your home page meta description” /> <?php else : ?> <meta name=”description” content=”Your non-homepage meta description” /> <?php endif; ?> You want to be sure there’s not a space between <? and … Read more

How to show single post page as home page

It depends on what theme you use as they are not coded the same. Use pre_get_posts or the reading settings and the_content() rather than the_excerpt() in your loop. function wpsites_home_page_limit( $query ) { if ( $query->is_home() && $query->is_main_query() && !is_admin() ) { $query->set( ‘posts_per_page’, ‘1’ ); } } add_action( ‘pre_get_posts’, ‘wpsites_home_page_limit’ ); Or you could … Read more

How to create a custom template to admin dashboard

Codex has documentation on creating custom login pages – Customize Login Form > Make Custom Login Page, using wp_login_form() function. This should load everything necessary to log user in. However, unlike login, replacing admin would be much more involved and have many approaches. Typically to access admin function in non-admin context admin PHP files have … Read more