Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Featured Post Exclude Category for Genesis

Beskrivning

The default Genesis Featured Post widget is great, except you only have the option to include all categories or a specific category. You can exclude previously displayed posts or ”sticky” posts, but you can’t exclude all posts in a specific category.

This plugin was created out of a need to show all but one category in the featured post widget.

Why Exclude a Category?

Most blogs focus on a certain topic – technology, food, entertainment, sports, or whatever.

Your featured post widgets should show off the posts that are geared towards the audience you are attracting to your site.

Every once in a while you may have a category that doesn’t quite fit the norm. You might have your own personal thoughts, and while they are important to you, they may not fit on the homepage of your site.

You may also have a tutorial series with a dozen posts that would end up filling up your featured post widgets. You can feature the main introductory post, and hide the rest.

Installation

  1. Download archive and unzip in wp-content/plugins or install via Plugins – Add New.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Appearance > Widgets
  4. Add the Genesis – Featured Posts Exclude Category widget to a widget area.
  5. For the Category option, select All Categories. For the Exclude option, select the category that you wish to exclude.

Vanliga frågor

Does this work with any Genesis child theme?

Yes, this should work with any Genesis child theme.
You must use a Genesis child theme for this plugin to work!

Where are the plugin settings?

There really are no settings. The plugin adds a new widget, which can be found under Appearance > Widgets. You are looking for the Genesis – Featured Posts Exclude Category widget.

How do I use the widget?

The widget really only works if you select All Categories from the Categories select menu in the widget, and then select a category to exclude from the Exclude select menu in the widget.

Think about it, if you select a single category from the Categories select menu, it will automatically exclude all others.

If you select All Categories, you may want to exclude one. You can easily do this just by selecting it from the menu.

The rest of the widget settings are identical to the default Genesis Featured Posts widget.

Recensioner

25 november 2018
This is perfect! It corrects a seemingly obvious flaw in StudioPress' though processes for this functionality. The only thing I would add in the documentation is that it should be used to REPLACE the Genesis plugin completely. It may have been lack of coffee on my part when I was installing it but took me a second to realize that I needed to remove the Genesis version and replace it with this one.
Läs alla 3 betyg

Bidragsgivare och utvecklare

”Featured Post Exclude Category for Genesis” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

1.0.4

  • Updated tested up to version.
  • Added Contributors.

1.0.3

  • Updated tested up to version.

1.0.2

  • Fixed formatting in code.

1.0.1

  • Updated inline documentation and bumped tested up to version.

1.0

  • Initial release