Hide a post format from my front page blogroll

  • Unknown's avatar

    Hi there!

    I’m using my WordPress site as a magazine with the Twenty Fourteen theme. The problem is that whenever I publish a new post, wordpress display it in the main blogroll of my front page.

    I want some post formats (like “video”, “gallery” or “audio”) to display ONLY into the Ephemera widget area (aligned to the right side of the screen), leaving the “latest posts” blogroll of my front page for the big reportages.

    And I need to do all of that without any plugin, because my blog is not hosted on a dedicated server or a local server. So, I need some CODE to do that.

    Thanks in advance!

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

  • Unknown's avatar

    A Blogroll contains links to external sites that you recommend that your users visit. We enter links to those sites in the Links section of our dashboard and we display them by senabling the Links widget. So I do not know what you are referring to.

    Please consult your detailed theme description page at this link http://theme.wordpress.com/themes/twentyfourteen/

  • Unknown's avatar

    I want some post formats (like “video”, “gallery” or “audio”) to display ONLY into the Ephemera widget area (aligned to the right side of the screen), leaving the “latest posts” blogroll of my front page for the big reportages.

    It’s possible to apply CSS to only certain types of post formats, such as “video”, “gallery”, or “audio, so one thing you could do would be to simply hide those posts from the main feed all together. The problem with this approach is that the posts per page number won’t be adjusted. For example, if you have the blog setup to display 10 posts per page, and 8 of the latest posts are gallery posts, and you hide all the gallery posts using CSS, then only 2 posts will display in that case. So, I think it’s not really ideal but it might work if the posts you want to hide from the main posts list don’t show up too frequently or if there aren’t too many of the same type very close together.

    Here is an example CSS snippet you can try. It will hide gallery post formats from the main content area on the home page posts list in the Twenty Fourteen theme:

    .site-content .format-gallery {
    	display: none;
    }

    To make a more in-depth customization such as removing certain types of posts from the main posts list an also adjusting the number of posts per page at the same time, you would need to make changes to the theme code itself, and that is not something you can do here at WordPress.com. A customization like that would, however, be possible if you were to switch to a WordPress.org setup—but I wouldn’t recommend that big of a change unless you really really need to change how the theme functions.

    WordPress.com vs. WordPress.org

  • The topic ‘Hide a post format from my front page blogroll’ is closed to new replies.