Make WordPress Core

Opened 17 years ago

Closed 12 years ago

#10154 closed enhancement (invalid)

floatting {{feed_image}} in "wp_list_categories()"

Reported by: ramiy Owned by:
Priority: normal Milestone:
Component: Feeds Version: 2.8
Severity: minor Keywords: has-patch gsoc
Cc: Focuses: template

Description (last modified by lloydbudd)

Using wp_list_categories('feed_image=rss.gif') or wp_list_categories('feed=RSS') displayes a list of categories with links to feed.

The problem is, that we can't define who will come first "cat feed" or "feed cat"?

Adding "feed_location" parameter may solve this problem.

Attachments (1)

10154.diff (1.1 KB ) - added by wojtek.szkutnik 16 years ago.

Download all attachments as: .zip

Change History (10)

#1 @westi
17 years ago

  • Milestone 2.9Future Release

No patch.

Not sure about this.

Moving to Future.

#2 @ramiy
17 years ago

  • Keywords needs-patch early added
  • Milestone Future Release3.0

a better solution will be putting a DIV tag around feed_image

<div clsss="category_feed_image">{{feed_image}}</div>

this way we can float the image to right/left so it apears before/after the category link.

#3 @ramiy
17 years ago

  • Summary Add parameter "feed_location" to "wp_list_categories()"floatting {{feed_image}} in "wp_list_categories()"

#4 @lloydbudd
17 years ago

  • Description modified (diff)
  • Keywords early removed
  • Milestone 3.0Future Release

Generally, please leave the milestone once one of the core developers has set it.

#5 @wojtek.szkutnik
16 years ago

  • Cc wojtek.szkutnik@… added
  • Keywords has-patch needs-testing ux-feedback added; needs-patch removed

How about sth like this? Float right or left?

#6 @wojtek.szkutnik
16 years ago

  • Keywords gsoc added

#7 @ramiy
16 years ago

  • Cc ramiy added

looks good.

#8 follow-up: @nacin
13 years ago

  • Component ThemesFeeds
  • Focuses template added
  • Keywords 2nd-opinion added; needs-testing ux-feedback removed

Couldn't you just float the image? Why do we need to wrap it in a div?

#9 in reply to: ↑ 8 @obenland
12 years ago

  • Keywords 2nd-opinion removed
  • Milestone Future Release
  • Resolutioninvalid
  • Status newclosed

Replying to nacin:

Couldn't you just float the image? Why do we need to wrap it in a div?

You could. I don't think we need a wrapper with CSS3 selectors widely available nowadays.
It's as easy as a + a { float: left; }.

Note: See TracTickets for help on using tickets.