Need help? Check out our Support site, then


Edit Post Template or Redirect Featured Image To Another Page

  1. I'm using Twenty Eleven's showcase template on my homepage with the featured post slider as a photo slider. Obviously, when one of the images is clicked, the visitor is taken to the relevant blog post. I'm not happy with the template of the post pages, as I want it to look more like any other static page with the widgets and same layout. Is there a way to change this?

    If there's not, is there a way to redirect it so that when a featured image is clicked on, the visitor is taken to another static page rather than the related blog post?

    Thanks!

    The blog I need help with is carsandguitars.co.uk.

  2. Hi guitarwizard93,

    Have you added widgets to the Showcase Sidebar area in Appearance > Widgets. You may need to have the exact same widgets in the Main Sidebar and the Showcase Sidebar. I know not ideal but try that.

  3. You could start by removing the date and the nav links, and turn the content to full width:

    .singular .entry-header .entry-meta, #nav-single {
        display: none;
    }
    .singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
        width: 100%;
    }

    But you'll never be able to make the posts exactly like static pages, because 2011 cannot display a sidebar on the single post view.
    Besides, my understanding is that you don't really want these posts anyway: you only created them in order to make the slider show up. So I would suggest you try the Stay theme: its slider links to static pages instead of posts.
    http://staydemo.wordpress.com/

  4. mrdirby, I would do that, but then I'd have those widgets displayed at the bottom of my front page as well, and I don't want that.

    Justpi, that'll do for now! I don't want to change theme as everything else within the theme is pretty much perfect for my needs, it's just trying to control this slider is turning out to be a pain in the ass - as you've probably noticed by now..

  5. You could hide the widgets on the home page with css.

    .home .widgetarea {
    display: none;
    }

    That would target those widgets on the homepage only and your sidebar would be ok. I'm not sure exactly what the selector for the homepage widgets is. On the demo site is is .widgetarea, but if you can look yourself you can see it.

  6. Not sure how that posted twice. But just wanted to add that .home targets items only on the home page.

  7. thesacredpath
    Staff

    @mrdirby, fixed. :)

Topic Closed

This topic has been closed to new replies.

About this Topic