Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter natalie173

    (@natalie173)

    Still waitin for help! 🙂

    Are you talking about moving the entire Featured Content slider from the blog to your static homepage? Or something else?

    To do that you’ll need to create a child theme, and them move some code around. But before I give you any further details, please confirm what you’d like to do. Thanks.

    Thread Starter natalie173

    (@natalie173)

    Hi Kathryn,

    thanks for your quick reply. I’d like to show featured content (image header) on both pages. So once on my blog page and on the other hand also on my static starting page.

    Regards,
    Natalie

    EDIT: You shouldn’t need a child theme, please see my next comment

    To point you in the right direction, the first step would be to create a child theme, so your changes won’t be overwritten when you update the theme. If you’re new to child themes, you can explore these guides:

    http://codex.ww.wp.xz.cn/Child_Themes
    https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/

    Make a copy of header.php from the parent and put it in your child theme folder.

    In your child theme’s copy of the file, change line 54 from this:

    <?php if ( is_home() || is_front_page() || ( is_single() && 'image' == get_post_format() ) ) : ?>

    to this:

    <?php if ( is_home() || is_front_page() || is_blog() || ( is_single() && ‘image’ == get_post_format() ) ) : ?> – this is not right, there is no is_blog() function, I made it up 😀

    If your current static front page has a featured image set, be sure to remove it in the editor.

    Let me know how it goes.

    • This reply was modified 8 years, 10 months ago by Kathryn Presner. Reason: added note

    Actually, before you create a child theme, please just try removing the featured image on your static homepage.

    That alone might be enough to have the Featured Content slider appear there.

    Let me know.

    Thread Starter natalie173

    (@natalie173)

    I never worked with a child theme.. seems complicated to me. But your last answer I don’t really understand.

    “try removing the featured image on your static homepage.” now it’s no featured image on my static homepage. This is what I want. On my landing page there is set a header image, but here I want to show also the featured images (slider with jetpack). And not only on my post-page (http://culinatalie.com/rezepte/).

    Regards and thank you!

    Please open your front page in the editor and see whether there’s an image of cherries set as your featured image, and remove it. Then, click Update to save your changes.

    Edit Page WP Test Site To End All Test Sites WordPress 1

    At this point, the slider should be displayed on your homepage.

    Let me know how it goes!

    Thread Starter natalie173

    (@natalie173)

    Hi Kathryn,

    I removed the header image from the page, I deactivated the header in the Customizer but still the cherries are displayed??

    Regards,
    Natalie

    Hmm. I can’t seem to replicate this on a test site. Do you have any caching plugins running? Could you try turning it off?

    Could you take a screenshot of the post edit screen for the homepage in WP Admin so I can take a look?

    Here’s a guide on how to make a screenshot:
    http://en.support.wordpress.com/make-a-screenshot/

    You can upload the screenshot – in a graphic format like JPG, PNG, or GIF – in your Media Library, and provide a link so I can see it, or upload it with a service like Cloudup, Imgur or Snaggy.

    Thread Starter natalie173

    (@natalie173)

    Hello,

    now it worked out – I can show the featured image header on my front page. But is there a possibility to remove it from my blog page? There I want to set a normal header image. I’m so sorry for bothering you. 😉

    Regards and thank you!

    • This reply was modified 8 years, 10 months ago by natalie173.
    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi, this will hide the featured images in the slider, and the slider controls on your Rezepte page. The second rule would allow you to add a static header image. I’ve set the image to “cover” the area, so there will be some cropping and resizing going on to keep the entire slider area covered with the image.

    .blog .featured-content article, .blog .featured-content .slider-nav {
    	visibility: hidden;
    }
    .blog .featured-content .site-banner {
    	background: url('URL_OF_IMAGE') no-repeat scroll center top / cover;
    }
    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    I forgot to mention, replace URL_OF_IMAGE with the URL of the image you wish to use as your header. There could be some adjustments that will have to be made.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Featured header image display possibilities’ is closed to new replies.