Multiple Custom Headers

What you want to achieve is posible but not with WordPress custom-header feature because it’s you can use multiple images in random sequence. If you mean ‘different page templates’ you can simply hard code your images links in your templates, but this is not good solution. Another solution is to write function which will check … Read more

Creating a custom header

If you look at the Greyzed homepage you’ll see that it is a theme which is no longer under active development. I wouldn’t recommend this as you might not be able to get the most out of your WordPress site if your theme is out of date. That being said, if you don’t have the … Read more

header specific meta box result detect url

global $post; $header_meta = get_post_meta($post->ID, ‘page-header-meta’, true); if( isset( $header_meta ) ) { echo ‘<h1>’ . $header_meta . ‘</h1>’; } else { echo ‘<h1>Knowledgebase</h1>’; } What this portion of code does is it checks the ‘page-header-meta’ value according to the page being displayed. IF your parent page has the metavalue set then the header will … Read more

Set header for default posts page?

You could use a template. You just have to copy the file header.php and call the new file with the slug of the page testimonials. It would require 2 new files : header-testimonials.php and front-page.php. then you can call your custom header with get_header(‘testimonials’); See the template hierarchy. Just be sure Testimonials is your front … Read more

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