Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#6618 closed defect (bug) (duplicate)

gallery bug + enhancement: number of columns

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: Template Keywords:
Focuses: Cc:

Description

the current implementation theoretically allows to do something like this:

1st post: (3- column gallery)

[gallery]

2nd post:

[gallery columns="2"]

trouble is, both galleries will end up with 2 columns in this case... so it's misleading.

also, it would be nice to be able to define the default number of columns without needing to edit the shortcode of each post. an option under Settings / Miscellaneous would be nice.

Change History (6)

#1 follow-up: @Denis-de-Bernardy
16 years ago

in case this wasn't obvious, the two posts above would of course be on the blog's front page, and the style stuff probably belongs in the head area.

also, this ticket is related in many ways:

http://trac.wordpress.org/ticket/6380

#2 in reply to: ↑ 1 @mtekk
16 years ago

Replying to Denis-de-Bernardy:

in case this wasn't obvious, the two posts above would of course be on the blog's front page, and the style stuff probably belongs in the head area.

also, this ticket is related in many ways:

http://trac.wordpress.org/ticket/6380

The styling needs to be in the head, right now it causes xHTML validation problems (take a look at any of matt's gallery pages).

#3 @ryan
16 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

#4 @Denis-de-Bernardy
15 years ago

  • Version changed from 2.5 to 2.7

http://scribu.net/projects/improved-gallery (haven't tested, but certainly worth integrating in the core imo)

#5 @Denis-de-Bernardy
15 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

I ran into a dup of this ticket the other day. the gist of it was: make the css gallery-specific. as in:

gallery id would be gallery-$ID

and:

#gallery-$ID {
  /* css */
}

#6 @mtekk
15 years ago

  • Milestone 2.9 deleted
Note: See TracTickets for help on using tickets.