WordPress.org

Ready to get started?Download WordPress

Forums

Pachyderm
[resolved] display title and metadata for all type of posts (5 posts)

  1. sebo.h
    Member
    Posted 1 year ago #

    Sorry, it is again me:

    The workaround described over here:
    http://wordpress.org/support/topic/how-to-add-title-to-all-types-of-post?replies=4
    doesn't seem to work any longer for the latest version of this theme.

    How do I display the title and the meta-data like author, date, ... for all type of posts? For the post-type "gallery" it automatically displays title and meta-data, for "aside" it displays nothing, for "image" only the title.

  2. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    I would create a child theme and copy content.php into the child theme.

    Then change it's filename to content-aside.php.

    Take another copy of content.php it into the child theme, and change its filename to content-gallery.php.

    Continue for all post formats.

    Then you may need to check in style.css in the section labeled Post Formats and see if any other formatted posts' properties are set to display: none. If so, copy those sections into your child theme's style.css and set to display: block.

  3. sebo.h
    Member
    Posted 1 year ago #

    That's working fine.

    Thanks a lot, Caroline!

  4. Shonari
    Member
    Posted 1 year ago #

    Thanks. That works well.

    I had to copy the 'img' folder to the child theme as well so that the sprites could display. I guess i could have changed the link to the sprites in the Post Format section of the css as well.

    Thanks again

  5. Caroline Moore
    Member
    Theme Author

    Posted 1 year ago #

    Yes, or just remove the background-image declaration from your child theme's styles altogether. You only need to copy over those CSS properties you wish to change, anything else can be removed.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.