Recent posts by category in Twenty Fourteen?

  • Unknown's avatar

    Hello!

    I’m pretty sure that this question doesn’t have much to do with CSS and really don’t know where to address this question, I tried in Themes forum but no reply… Maybe you could help.

    Twenty Fourteen is fantastic theme and I’m very happy with my blog (it’s in Croatian if you wonder :-) despite its French name).

    But, there’s one thing that really bothers me and that’s a list of posts by category in Content Sidebar on the right side. It’s impossible to choose category in Recent Post widget. I tried to use RSS widget and it works but… it shows RSS icon and there is no option to show featured image.

    So, I wrote this code in Text widget…

    <aside class=”widget widget_recent_entries”>[display-posts category="Audio" image_size="thumbnail" posts_per_page="10"]</aside>

    …and it looks good but not, well, perfect… Title is too close to thumbnail and, which is even worse, when title is longer, it doesn’t look good when it splits to second row and goes under the thumbnail.

    It will be great if that list could look as list of posts right after the featured/sticky list in MOBILE version of the theme.

    Any idea? Maybe some other “class” in that code above.
    Please, help.
    Thank you

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi, you can fix the alignment and such with CSS if you have the Custom Design Upgrade. You can try out the following by going to Appearance > Customize, click on the Custom CSS button and then click try. Then click CSS in the right navigation area, delete all the informational text and paste in the following.

    #text-6 li {
        float: left;
        line-height: 16px;
    }
    
    .listing-item a.image {
        display: block;
    }
    
    #text-6 img {
        float: left;
        margin-right: 10px
    }

    It still leaves a couple odd issues with text wrapping that would have to be figured out.

  • Unknown's avatar

    I still don’t have Custom Design Upgrade but it’s about time to get it. I tried it and it almost works :-) As you said, there are some things to be figured out still.

    Thank you, anyway, I’ll try some other options.

    And… I’m sorry, but I have to mention it – would it be so hard for WordPress team to make a widget with recent posts by category with thumbnails? Now I know, as I tried to find solution for my problem, that “everybody” will be happy with such a widget… Just saying… :-)

  • Unknown's avatar

    @bcvek, thanks for the suggestion, and I’ll make sure it gets passed along to the developers.

  • Unknown's avatar

    @bcvek, you might really like the Ideation and Intent theme. Here’s the demo site:
    http://ideationandintentdemo.wordpress.com/

    And here’s the theme details page. It has a neat custom images sidebar feature built right into the theme.
    http://theme.wordpress.com/themes/ideation-and-intent/

  • Unknown's avatar

    @designsimply, thank you for your suggestion but I finaly bought Custum design and solved my problem with these few lines of CSS from this post:
    http://en.support.wordpress.com/display-posts-shortcode/

    …plus one line for bold font and now it looks great!

    Thank you all, I’m happy now!

  • Unknown's avatar
  • The topic ‘Recent posts by category in Twenty Fourteen?’ is closed to new replies.