WordPress.org

Making WordPress.org

Opened 3 years ago

Last modified 4 weeks ago

#3863 new enhancement

Make plugin dependencies (suggestions) clearer in Themes Directory

Reported by: Eric3D Owned by:
Milestone: Priority: normal
Component: Theme Directory Keywords:
Cc:

Description

More and more themes in the directory have plugin dependencies, but you don’t learn that until after you activate the theme.

I’d like to see dependencies clearly listed on each theme page, as well as having a feature filter to be able to weed out themes with dependencies.

Attachments (2)

recommended-plugins.png (72.1 KB) - added by poena 3 months ago.
Theme directory display
recommended-plugins-theme-details.png (193.2 KB) - added by poena 3 months ago.
Core display

Download all attachments as: .zip

Change History (14)

#1 @Otto42
3 years ago

WordPress does not have "plugin dependencies" built into it. If themes have that, then the themes have to have code to add it themselves.

More to the point, themes in the directory are not allowed to "require" plugins. Per the theme submission rules, themes can only suggest plugins, they must still function without them. A theme requiring a plugin to work would be a reason to use the Report button, and have the theme removed from the directory.

#2 @poena
3 years ago

I like the idea of making it easier for users to find themes that are designed for use with and (claim too) work with specific plugins.

Right now, all users can do is search for themes that have added the plugin name in the theme description. This also leads to themes trying to pack as many keywords as possible into the description.

#3 @Eric3D
3 years ago

  • Summary changed from Make plugin dependencies clearer in Themes directory to Make plugin dependencies (suggestions) clearer in Themes Directory

I usually build custom themes (from scratch or _s). When I need to get a theme from the directory these days, I find there is no way to evaluate it without installing it. A number of themes make extensive use (abuse?) of the customize feature, which now includes content as well as presentation elements. The reliance on plugins (even if not required) is another concern.

I don't have an easy fix (or even a good suggestion) for this problem. I wish I did. But a list of recommended plugins (this theme works better with XYZ) separate from the list of compatible popular plugins (tested with XYZ) would be a step in the right direction.

This ticket was mentioned in Slack in #themereview by poena. View the logs.


22 months ago

#5 @joyously
22 months ago

  • Keywords close added

This ticket was mentioned in Slack in #themereview by dingo_d. View the logs.


21 months ago

#7 follow-up: @dingo_d
21 months ago

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.
  1. Read the Recommended plugins: field from style.css and parse that and display only first N recommendations (similar to plugin tags) on the page.

#8 @joyously
21 months ago

I don't like encouraging plugin-specific stuff in themes. So if the readme was searchable, they could put all that in the readme.

#9 @poena
3 months ago

  • Keywords close removed

#10 in reply to: ↑ 7 @poena
3 months ago

Replying to 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.
  1. 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.

@poena
3 months ago

Theme directory display

@poena
3 months ago

Core display

#12 @dd32
4 weeks ago

Just noting, that the Theme Previewer will not be able to support required plugins, either in it's current form or any likely future form.

If required plugins for themes are added, the only real option for the previewer will be to disable the preview for that theme. We'd probably be able to enable a limited selection of plugins (like, the top 10 plugins or something)

Note: See TracTickets for help on using tickets.