WordPress.org

Make WordPress Core

Opened 5 years ago

Last modified 3 months ago

#10154 new enhancement

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

Reported by: ramiy Owned by:
Milestone: Future Release Priority: normal
Severity: minor Version: 2.8
Component: Feeds Keywords: has-patch gsoc 2nd-opinion
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 4 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 westi5 years ago

  • Milestone changed from 2.9 to Future Release

No patch.

Not sure about this.

Moving to Future.

comment:2 ramiy4 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.

comment:3 ramiy4 years ago

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

comment:4 lloydbudd4 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.

comment:5 wojtek.szkutnik4 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?

wojtek.szkutnik4 years ago

comment:6 wojtek.szkutnik4 years ago

  • Keywords gsoc added

comment:7 ramiy4 years ago

  • Cc ramiy added

looks good.

comment:8 nacin3 months 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?

Note: See TracTickets for help on using tickets.