• Where do I find the code in the editor to change which post meta data info is displayed before a post and also how do I style it.

    I have looked everywhere in stylesheets and functions but can’t seem to work it out. I am new to css and php so I’m probably missing something.

    At the moment it is showing just the date. For the post preview (on home page/search/category) i would like to display ‘Date | Genre’ (The genre category is set up as a custom taxonomy).

    And for the the post pages I would like to show:
    Date | Genre
    Published by Author

    Unfortunately I am working in mamp so cannot send a url. I could send screen shots if needed.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    The file you will need to edit is content-single.php. You can use single-content.php as a guide for adding the additional metadata.

    Within the files above, you will also find the assigned CSS classes, or if you wish, you can add new classes and then style things from scratch.

    If you have not yet done so, I would suggest creating a child theme so that any customizations you make will not be overwritten by a future theme update.

    Child Themes
    Child Theme creation plugins

Viewing 1 replies (of 1 total)
  • The topic ‘Change post meta data displayed and styling it’ is closed to new replies.