WordPress.org

Making WordPress.org

#2937 closed enhancement (fixed)

Add WP-CLI to the developer.wordpress.org homepage

Reported by: danielbachhuber Owned by: drewapicture
Milestone: Priority: normal
Component: Developer Hub Keywords: ui-feedback has-patch has-screenshots
Cc:

Description

It'd be great to add a link to WP-CLI commands from the developer.wordpress.org homepage.

Attached is a patch that does so. However, the layout ends up looking like this:

https://dl.dropboxusercontent.com/s/oq6z4j1s5kn2s6u/2017-07-07%20at%206.40%20AM.png

I don't have any opinions on how to resolve the design problem. Four column layout seems like it would be squished, and a two by two grid isn't the most appealing approach.

Attachments (3)

2937.1.diff (1.2 KB) - added by danielbachhuber 22 months ago.
2937.diff (3.0 KB) - added by DrewAPicture 21 months ago.
2937.png (120.6 KB) - added by DrewAPicture 21 months ago.
w/ 2937.diff

Download all attachments as: .zip

Change History (8)

#1 @SergeyBiryukov
22 months ago

  • Keywords ui-feedback added

#2 @DrewAPicture
21 months ago

I think I'd actually recommend doing 2 x 1 x 2, because of the nature of the topics. The first two are very much entry level, then the code reference, then slightly more advanced stuff below that.

Meaning:

[ Themes ] [ Plugins ]
[   Code Reference   ]
[ REST   ] [ WP-CLI  ]

@DrewAPicture
21 months ago

#3 @DrewAPicture
21 months ago

  • Keywords has-patch has-screenshots added

Added 2937.diff and an accompanying screenshot for the 2 x 1 x 2 layout option.

#4 @danielbachhuber
21 months ago

I like the 2 x 1 x 2 option. Thanks @DrewAPicture !

#5 @drewapicture
21 months ago

  • Owner set to drewapicture
  • Resolution set to fixed
  • Status changed from new to closed

In 5668:

developer.wordpress.org: Add WP-CLI to the homepage.

Converts the calls-to-action to a 2x1x2 display configuration, previously 3x1.

Props danielbachhuber for the initial patch.
Fixes #2937.

Note: See TracTickets for help on using tickets.