Make WordPress Core

Opened 4 years ago

Last modified 3 years ago

#52526 new enhancement

Add different class for RSS widget in different conditions

Reported by: hamedmoodi's profile hamedmoodi Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Widgets Keywords: has-patch
Focuses: css, template Cc:

Description

It is better that we have extra RSS widget class for different options such as show date and show author And difference existence data (have data or have author)
because by different options UI designer can design different UI and programmer should can determine which options is set that set different style
you can see different style in different conditions:
https://www.daneshjooyar.com/wp-content/uploads/2020/10/rss.jpg

Attachments (1)

52526.diff (2.3 KB) - added by sabernhardt 3 years ago.
adding classes to the ul and to each li

Download all attachments as: .zip

Change History (2)

@sabernhardt
3 years ago

adding classes to the ul and to each li

#1 @sabernhardt
3 years ago

  • Keywords has-patch added
  • Type changed from feature request to enhancement
  • Version 5.7 deleted

The patch introduces some classes for the list and each item in legacy RSS widgets.

For the items, would reversing the logic help, so new classes are included if the summary, author and/or date is not available?

Note: See TracTickets for help on using tickets.