[wp-meta] [Making WordPress.org] #2317: Plugin Directory: Provide a way to link to a specific section on pages

Making WordPress.org noreply at wordpress.org
Thu Oct 26 09:12:05 UTC 2017


#2317: Plugin Directory: Provide a way to link to a specific section on pages
-------------------------------------+-------------------------------------
 Reporter:  tellyworth               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Plugin Directory v3 -
Component:  Plugin Directory         |  Future
 Keywords:  has-patch has-           |  Resolution:
  screenshots                        |
-------------------------------------+-------------------------------------
Changes (by audrasjb):

 * keywords:   => has-patch has-screenshots


Comment:

 Hello,

 `2317.diff` is my first attempt for this ticket.
 It simply add link to anchor with @melchoyce `admin-links` dashicons.

 The HTML code is inspired by handbooks similar links (see
 https://make.wordpress.org/docs/handbook/developer-resources/handbooks
 /#whats-needed-at-the-moment for example).

 Unfortunately, I can't edit CSS files as it is generated with
 preprocessors, I am afraid to do something stupid :)

 CSS rules to add:

 – on `.section h2:first-of-type` add `display: inline-block`
 – add the following new rules:
 {{{
 .section .anchor {
     display: inline-block;
     line-height: normal;
     text-decoration: none;
 }
 .section .anchor:hover, .section .anchor:focus {
     text-decoration: underline;
 }
 }}}

 Is something is wrong, feel free to ask me some fixes :)

 Cheers,
 Jb

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2317#comment:6>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list