Featured Item Metabox
I found I constantly needed a way for clients to mark a post as something they wanted to feature and I’ve never found sticky posts particularly inuitive and the UI is pretty hidden for new users. The simplest solution…
Betrachten Sie eine Alternative
Featured Item Metabox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 80+ sites, is rated 3/5 and was last updated 7 years ago, and scores 26/100 on our health check.
- Kleine Benutzerbasis (80+ aktive Installationen)
- Bisher sehr wenige Bewertungen
- Kein Update in 6 Jahren
- Nur getestet bis WordPress 5.3 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Featured Item Metabox stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| featured | >100 |
| metabox | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 3 from 2 reviews
About Featured Item Metabox
From the official readme · v1.3.2Beschreibung
I found I constantly needed a way for clients to mark a post as something they wanted to feature and I’ve never found sticky posts particularly inuitive and the UI is pretty hidden for new users. The simplest solution was a checkbox in prominently located metabox.
Please note that this plugin, by itself, will not change how your posts are displayed. It just gives the UI to users and a meta key to theme developers to query for.
Verwendung
This plugin simply adds a _featured meta key to every post with a value of yes for featured items and no for everything else. Actual display of the featured items is entirely up to the theme developer, but an example ( place in your template where you’d like to display a list of featured “Portfolios”) might be as follows:
// params for our query
$args = array(
'post_type' => 'portfolio',
'posts_per_page' => 5,
'meta_key' => '_featured',
'meta_value' => 'yes'
);
// The Query
$featured_portfolios = new WP_Query( $args );
// The Loop
if ( $featured_portfolios ) :
echo '<ul class="featured">';
while ( $featured_portfolios->have_posts() ) :
$featured_portfolios->the_post();
echo '<li>' . get_the_title() . '</li>';
endwhile;
echo '</ul>';
else :
echo 'No featured portfolios found.';
endif;
/* Restore original Post Data
* NB: Because we are using new WP_Query we aren't stomping on the
* original $wp_query and it does not need to be reset.
*/
wp_reset_postdata();
Multiple queries per page load can slow down your site so it is worthwhile to take advantage of the Transients API, so an alternate usage would be:
// Get any existing copy of our transient data
if ( false === ( $featured_portfolios = get_transient( 'featured_portfolios' ) ) ) {
// It wasn't there, so regenerate the data and save the transient
// params for our query
$args = array(
'post_type' => 'portfolio',
'posts_per_page' => 5,
'meta_key' => '_featured',
'meta_value' => 'yes'
);
// The Query
$featured_portfolios = new WP_Query( $args );
// store the transient
set_transient( 'featured_portfolios', $featured_portfolios );
}
// Use the data like you would have normally...
// The Loop
if ( $featured_portfolios ) :
echo '<ul class="featured">';
while ( $featured_portfolios->have_posts() ) :
$featured_portfolios->the_post();
echo '<li>' . get_the_title() . '</li>';
endwhile;
echo '</ul>';
else :
echo 'No featured portfolios found.';
endif;
/* Restore original Post Data
* NB: Because we are using new WP_Query we aren't stomping on the
* original $wp_query and it does not need to be reset.
*/
wp_reset_postdata();
Then to ensure that your featured posts list is updated, add a function to your theme’s functions.php to delete the transient when a portfolio (in this example) post type is saved.
// Create a function to delete our transient when a portfolio post is saved
function save_post_delete_featured_transient( $post_id ) {
if ( 'portfolio' == get_post_type( $post_id ) )
delete_transient( 'featured_portfolios' );
}
// Add the function to the save_post hook so it runs when posts are saved
add_action( 'save_post', 'save_post_delete_featured_transient' );
Simple queries should only need the meta_key and meta_value parameters, but if you need something more advanced then you might want to read about how to use the more complex Meta Query parameters.
Unterstützen
Support is handled in the WordPress forums. Please note that support is limited and does not cover any custom implementation of the plugin.
Please report any bugs, errors, warnings, code problems at Github
Installation
- Laden Sie den Ordner
pluginin das/wp-content/plugins/-Verzeichnis hoch - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
- Go to the plugin’s settings and select which post types for which you’d like to show the featured metabox
Änderungsprotokoll
1.4.0
- Gutenberg compatibility
1.3.2
- fixes bug where toggle script wasn’t loading if “remove all” plugin option was checked
1.3.1
- fixes problem of quick edit not adjusting to toggle
1.3.0
- testing against WP4.4
- on posts overview page, use ajax to toggle featured on/off
- replace star images with dashicons
1.2.4
- testing against WP4.3
- improved code formatting
1.2.3
- add featured_items_metabox_label filter
- add featured_items_checkbox_label filter
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Featured Item Metabox alternatives
All featured plugins →Fragen und Antworten
Featured Item Metabox: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Featured Item Metabox free?
Yes. Featured Item Metabox is free to download and use from the official WordPress.org plugin directory.
Is Featured Item Metabox safe to use in 2026?
Featured Item Metabox shows warning signs in 2026 — compare the alternatives below before installing. It runs on 80+ sites, is rated 3/5 and was last updated 7 years ago, and scores 26/100 on our health check.
How many websites use Featured Item Metabox?
Featured Item Metabox is active on 80+ WordPress websites and has been downloaded 5,415 times since it launched in January 2013. It was downloaded 254 times in the last 30 days.
Does Featured Item Metabox work with WordPress 7.1?
Featured Item Metabox is officially tested up to WordPress 5.3.28, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Featured Item Metabox last updated?
The latest version, 1.3.2, was released on February 17, 2020 (7 years ago).
Who makes Featured Item Metabox?
Featured Item Metabox is developed and maintained by HelgaTheViking.
What are the best alternatives to Featured Item Metabox?
The most popular alternatives to Featured Item Metabox are Conditionally display featu… (30K+ installs), Hide Featured Image (10K+ installs) and Daddy Plus (8K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
