Make WordPress Core

Opened 15 years ago

Closed 10 years ago

#10154 closed enhancement (invalid)

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

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

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 14 years ago.

Download all attachments as: .zip

Change History (10)

#1 @westi
14 years ago

  • Milestone changed from 2.9 to Future Release

No patch.

Not sure about this.

Moving to Future.

#2 @ramiy
14 years ago

  • Keywords needs-patch early added
  • Milestone changed from Future Release to 3.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
14 years ago

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

#4 @lloydbudd
14 years ago

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

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

#5 @wojtek.szkutnik
14 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
14 years ago

  • Keywords gsoc added

#7 @ramiy
14 years ago

  • Cc ramiy added

looks good.

#8 follow-up: @nacin
10 years ago

  • Component changed from Themes to Feeds
  • 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
10 years ago

  • Keywords 2nd-opinion removed
  • Milestone Future Release deleted
  • Resolution set to invalid
  • Status changed from new to closed

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.