[wp-meta] [Making WordPress.org] #3863: Make plugin dependencies (suggestions) clearer in Themes Directory

Making WordPress.org noreply at wordpress.org
Sun Jul 25 06:47:02 UTC 2021


#3863: Make plugin dependencies (suggestions) clearer in Themes Directory
-----------------------------+---------------------
 Reporter:  Eric3D           |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Theme Directory  |  Resolution:
 Keywords:                   |
-----------------------------+---------------------

Comment (by poena):

 Replying to [comment:7 dingo_d]:
 > Possible solutions:
 >
 > 1. On theme upload detect if the theme has the tgmpa file, and parse the
 data from that, store it in meta fields for a theme and display.
 >
 > 2. Read the `Recommended plugins:` field from `style.css` and parse that
 and display only first N recommendations (similar to plugin tags) on the
 page.

 Both of these would benefit from having a feature in core where a user
 could one-click install plugins recommended by the theme.
 Short term, I think number two is easer.

 Add a new recommended plugins field to the themes API and style.css
 (WP_Theme class).
 The value would be the WordPress.org plugin slug.

 Something like this?:

 == Theme directory
 -Get the slugs.
 -Confirm that the slugs are for existing, (and not removed) plugins in the
 plugin directory.
 -Get the plugin names and plugin page links.
 -Display a list of the plugin names, linked to their plugin pages.
 -Display this list below the Tags, above the Downloads Per Day.

 == Core
 Same process as above but display it below the tags in the theme details
 modal.

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


More information about the wp-meta mailing list