Place page title in header?

If you only need the title you can request it outside the loop easily. Try and call the_title() in your header. It should work But you have to be aware that if you don’t put a condition, each page of your website will display its title in the header section. EDIT: the function to call … Read more

How to add a specific widget to only 1 page?

It depends on where you want to show the widget. Let’s start with the widget area (sidebar) registration: add_action( ‘wp_loaded’, ‘wpse_76959_register_widget_area’ ); function wpse_76959_register_widget_area() { register_sidebar( array ( ‘name’ => __( ‘Widgets on page Sample Page’, ‘theme_textdomain’ ), ‘description’ => __( ‘Will be used on a page with a slug “sample-page” only.’, ‘theme_textdomain’ ), ‘id’ … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)