Adding else if conditional statement to purchased theme
The conditional for posts is is_single(). So … if ( ! is_404() && ! is_attachment() && ! is_single() ) { # rest of the code }
The conditional for posts is is_single(). So … if ( ! is_404() && ! is_attachment() && ! is_single() ) { # rest of the code }
You could wrap the header image code in a conditional statement… <?php if (is_front_page()) : ?> <!– header image code –> <?php endif; ?> This will tell WordPress to only display the header image on the home page.
How to display the link that says “Edit Header Image” on header image
Make sure you change this file from your ftp http://lesmininours.ca/wp-content/themes/kiddo-turf-parent/images/header_image.png Also please check if you have an active cache plugin in your site. If you have one, you should clear your cache in your site, not in your browser.
If you download the Retina plugin. It automatically edits the line for you. Generating a retina image.
Simply put… You can either add this to the background properties: background-size: contain; This will have the image scale proportionately to consume the available area. Or you can change the image to NOT be a background image. That will allow you to set more relative dimensions (like a fixed height or width with an auto … Read more
This is vague but it seems as though you are getting an ID. You could use wp_get_attachment_image_src() to get the image source
WordPress 4.4.2, _s starter theme, problems with custom default header
You can simply create a different archive template for ‘furniture‘ category where you will use a custom header. But if you want to show furniture template in both domains with different logo in that case you need to see what filter is provided by Multiple Domain Mapping to distinguish between the domains and load the … Read more
You can add an extra !important tag. @media (min-width: 1300px) { #header-wrap { padding-top: 192px!important; } #logo { padding: 10px 0 43px 0!important; width: 80%!important; } #content { padding-top: 100px!important; } }