• Resolved MRanson

    (@mranson)


    Hi. I’m new to coding and am learning as I go. I’ve created a child theme of Simply Black. I’d like to modify the postmetadata displayed in both post excerpts and single page views, but I’ve been unable to do it using CSS.

    Can you tell me how to make the following changes?

    On the post excerpt I would like to disable the postmetadata so that it isn’t displayed. This would mean removing the black border and infill of div.postmetadata as well.

    On single page view I’d like the following format:
    ‘Posted on MONTH DAY, YEAR in CATEGORY’

    This is a single author site, so doesn’t need the author name. Also, I don’t want to display information about comments.

    When I tried making these changes the ‘By’ was still there, and when I tried removing the ‘No comments’ class it removed the date as well!

    Thanks for your help!

    • This topic was modified 8 years ago by MRanson.
Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter MRanson

    (@mranson)

    Thanks for the code suggestion. I’ll give it a go.

    I think that so long as the starter code is as backwards compatible with the 12 existing themes as possible (i.e. don’t have to rebuild absolutely everything from scratch) then I don’t see a problem. The biggest problem users of wp.org face compared to wp.com is keeping up to date! So it would be good to have an updated theme for the new framework.

    Thanks for the update.

    Thread Starter MRanson

    (@mranson)

    Hi Guido,

    Would it be possible to display social media icons in the primary menu bar, as though they were regular menu items? They currently only appear in a Jetpack widget. I was able to do this in a previous theme (Weaver). It was quite good because the social icons were immediately obvious on desktop views, and they were grouped under the Hamburger in the mobile view (the user didn’t have to scroll down to find the stacked widgets).

    This would also be a good feature to include in your new theme as standard.

    Cheers

    Theme Author Guido

    (@guido07111975)

    Hi,

    You can create custom links via the menu page and add those links in your menu. But in this case it’s not possible to open them in a new window (because you cannot set the target).

    Guido

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Modifying post meta data on excerpt and single page views’ is closed to new replies.