WordPress.org

Ready to get started?Download WordPress

Forums

Post formats in Manifest theme (15 posts)

  1. themicksa
    Member
    Posted 2 years ago #

    Hi,
    I've newly installed a WP blog using the Manifest theme which is lovely and has the added attraction of offering various Post Formats. Trouble is for the life of me I can't see them or any way of or activating them on the edit Posts page, even though as I understand it they should be available as a check box under Screen Options. I've read elsewhere that Post Formats sometimes have to be activated by adding a line to the functions.php script, but in the case of Manifest no such file appears to exist.
    Am I looking in the wrong place?
    Do I need to create functions.php and if so what code do I need?
    Another possibility that occurs to me is that in the case of Manifest, Post Format is a paid-for add-on, though I can't see where that might be acquired.
    I'd be really grateful for any light anyone can shed.
    thx

  2. Big Bagel
    Member
    Posted 2 years ago #

    Are you sure it supports post formats? Unless I'm mistaken, the latest release of Manifest seems to be almost a year before WordPress 3.1 was released, which is when post formats were added. If it doesn't support post formats, even if you add the code required to enable them they would still show as normal posts unless you also add code to display them differently. Depending on what you want, it could require a not so insignificant bit of coding. You could always ask the author when/if he plans on releasing any updates.

    Just for reference:

    Post Formats

  3. themicksa
    Member
    Posted 2 years ago #

    Well that would explain a lot except for the fact that the theme page at http://theme.wordpress.com/themes/manifest/ specifically refers to Post Formats while the support page here: http://en.support.wordpress.com/themes/post-formats/
    says that Manifest supports Standard, Aside, Gallery, Image, Link and Status formats.

    Maybe I'm missing something ...

  4. Big Bagel
    Member
    Posted 2 years ago #

    That's WordPress.com. They always add any missing elements to themes before enabling them for WordPress.com users. The latest version of Manifest available for self hosted blogs can be found here:

    http://jimbarraud.com/manifest/

  5. themicksa
    Member
    Posted 2 years ago #

    Ahhh! I wasn't aware there might be a distinction in functionality. Is there any simple way of copying or replicating those elements in the self-hosted version? I guess not, though I might be able to manage cobble together a couple of variations with my limited css skills. Would the main css sheet be the place to do that?
    Sincere thanks for the enlightenment.

  6. Big Bagel
    Member
    Posted 2 years ago #

    This function is what enables post formats:

    http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Formats

    Once enabled, you can check for certain post formats in the loop (or not if you have a post ID) with this:

    http://codex.wordpress.org/Function_Reference/has_post_format

    I think a specific class for each post format is added to every post which you can use to style them differently. The page I linked to earlier has more detailed information as well as some code examples:

    Post Formats

  7. themicksa
    Member
    Posted 2 years ago #

    That looks like it could take me way in over my head--I'll put my studying head on and see if I can make sense of it all.
    Again, much obliged to you for your help.

  8. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    @themicksa:

    Ahhh! I wasn't aware there might be a distinction in functionality. Is there any simple way of copying or replicating those elements in the self-hosted version?

    You could simply download the version used on wordpress.com. All of their (free) Themes are hosted on SVN. Here's the Manifest repo on Automattic's SVN.

  9. Big Bagel
    Member
    Posted 2 years ago #

    You could simply download the version used on wordpress.com. All of their (free) Themes are hosted on SVN.

    Awesome sauce. I didn't even know that was there... :)

    @themicksa

    If you really want the features of the version used on WordPress.com, it certainly couldn't hurt to give it a try; no point in reinventing the wheel. I'd mention something about not getting theme updates, but since Manifest doesn't seem to be in the theme repository anyways my point would be quite moot.

  10. themicksa
    Member
    Posted 2 years ago #

    Awesome (and simple) indeed and Post Formats are now activated. Would I be right in assuming that I can go ahead and customize the css and other files in the WP version in the same way I had begun earlier. That's to say there are no other major difference in structure or function between the two that I should be aware of?

    Thank you both for the friendly help. I'm very impressed.

  11. Big Bagel
    Member
    Posted 2 years ago #

    You should be able to customize it just like any other non-WordPress.com theme.

    That's to say there are no other major difference in structure or function between the two that I should be aware of?

    There does seem to be a number of differences between the two; the WordPress.com version is similar to Twenty Eleven in its structure and more closely follows WordPress coding standards. For example, the content of posts is separated into content.php, content-single.php, and content-post_format_name.php files rather than being included in the actual template files (index.php, single.php, etc.). Classes and ID's now-use-hyphens rather than camelCase. As long as you treat them as different themes and double check that your old edits properly apply before moving them over you shouldn't have any problems.

    Of course, if you're not already using one, editing a theme by way of a child theme is always a good idea.

  12. themicksa
    Member
    Posted 2 years ago #

    Sorry for the radio silence--attending to life's other, less interesting, business. Just back to say thanks for putting me on the right road. I'll go on tinkering when I can and now using a child theme, which seems like a very good idea. Much appreciated.

  13. Keilya
    Member
    Posted 2 years ago #

    @Chip Bennett

    Thank you so much for the link! I've been looking for Manifest theme with the updated post formats, and noticed it was available for wordpress.com blogs, but not self-hosted ones.

    I am just curious, so this site https://wpcom-themes.svn.automattic.com/ would store all the themes available on wordpress.com? I am bookmarking it but I'm curious as to how you found it. (:

  14. theartpole
    Member
    Posted 2 years ago #

    Is there another possibility (easier) than downloading it from SVN? Tried it, but don´t know at all how to do it... Quiet complicated for a beginner like me. I´m as well self-hoster and really would like to have the manifest theme with the post formats options. I downloaded all the files manual from SVN, but the theme didn´t look anymore like it should. So I deleted everything again.
    Would be really happy, if somebody would have the Manifest wordpress.com version in zip file for me or maybe could tell me a way how to get it

  15. Keilya
    Member
    Posted 2 years ago #

    Hey! Most likely that was due to just a bad/corrupted file. Do a clean delete of the theme off your server and if you want to really play safe, download all the files from the SVN again and then try uploading the new ones.

    PS. I think I also remember that under the "JS" folder, I had used the original JScript file (that came with the one without post formats). The one provided by the SVN didn't work for me too. Not sure why.

Topic Closed

This topic has been closed to new replies.

About this Topic