🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
Genesis REST API Integration icon
Möglicherweise aufgegeben Tested up to 4.4.34

Genesis REST API Integration

If your site uses the Genesis framework, it’s likely that you’re making use of Genesis hooks like genesis_before_content or genesis_entry_footer. When using the WP REST API, any content that has been added to these…

Aktive Installationen10+10+ Stufe
Downloads · 30d51▲ +50% vs prev. 30d
Wertung5/51 Bewertungen
Gesundheits-Score30/100In Gefahr
Downloads aller Zeiten2.3KSince Jul 2015
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 4.0PHP ANY
Downloads · 7d14▲ +27.3% week over week
Unser Urteil

Betrachten Sie eine Alternative

Genesis REST API Integration shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 11 years ago, and scores 30/100 on our health check.

  • Kleine Benutzerbasis (10+ aktive Installationen)
  • Bisher sehr wenige Bewertungen
  • Kein Update in 10 Jahren
  • Only tested up to WordPress 4.4 (latest is 7.1)

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

134Sep 5Oct 19Dec 3
Gestern2
Täglicher Durchschnitt (1 Jahr)1
Spitzentag614. September 2026
Letzte 12 Monate375

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where Genesis REST API Integration stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
API >100 10,000 Beste API-Plugins →
framework >100 2,704 Best framework plugins →
genesis >100 296 Best genesis plugins →
integration >100 10,000 Best integration plugins →
rest >100 10,000 Best rest plugins →

Versionsübernahme

Anteil aktiver Sites pro Release.

  • 1.1100.0%

Bewertungsaufschlüsselung

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Genesis REST API Integration

Aus der offiziellen Readme · V1.1.0

Beschreibung

If your site uses the Genesis framework, it’s likely that you’re making use of Genesis hooks like genesis_before_content or genesis_entry_footer. When using the WP REST API, any content that has been added to these hooks is not included in the response by default.

This plugin filters the response from the API to include any content added via Genesis hooks. It adds this content to the post object response, which means you don’t have to do a separate request or modify your request to get the data. Simply ask for a post in the standard way like /wp-json/wp/v2/posts/1 and you’ll get the extra content from the Genesis hooks.

Example diff showing the response with and without the plugin active

The Genesis hook content that is returned is generated with respect to the context of the specific post being retrieved. The context will match what it would be on the single post page for the given post, page, or custom post type. This means that if you’ve got some code like this:

add_action( 'genesis_before_entry', 'mytheme_output_special_content' );
function mytheme_output_special_content() {
    // Only on posts in a specific category
    if ( in_category( '5' ) ) {
        echo 'Some Content';
    }
}

You’ll get back ‘Some Content’ as the value of the property ‘genesis_before_entry’ on the response object only if the post is actually in category 5. All of the standard conditionals like is_archive(), is_single(), has_tag(), etc. will be respected.

By default this plugin only adds properties to the response object for hooks that have output, but you can modify this behavior using a filter like so:

add_filter( 'genesis_rest_api_return_empty_hooks', '__return_true' );

By default this plugin adds the extra properties to posts, pages, and all custom post types, but you can specify which post types you want to include the extra data with another filter:

add_filter( 'genesis_rest_api_supported_post_types', 'mytheme_genesis_rest_api_supported_post_types' );
function mytheme_genesis_rest_api_supported_post_types( $post_types ) {

    // Only add data to the movie post type.
    $post_types = array( 'movie' );

    return $post_types;
}

NOTE: In v2 of the REST API, custom post types need to have the extra properties show_in_rest, rest_base, and rest_controller_class set on their post type objects in order for the API to start serving data for them. I’ve included a filter in this plugin for adding these properties so that you can declare REST API support for CPTs and add the extra Genesis data in one step, but the filter is off by default and won’t override properties that are already set (because if core doesn’t assume you want all your CPTs publicly accessible by default, I don’t think I should either). To turn this functionality on, use the included filter like this:

add_filter( 'genesis_rest_api_register_cpt_api_support', '__return_true' );

If you do this, you’re CPTs will be available at routes that match the official name of the post type found on the post type object, so if your post type is ‘movie’ and you have a movie with an id of 8, the movie will be accessible at /wp-json/v2/movie/8. It’s probably a better idea to match the core convention of /posts/ and /pages/, so if you want to make the route available at /movies/ instead of /movie/ you just need to specifically set the rest_base property like so:

add_action( 'init', 'mytheme_change_cpt_routes', 11 );
function mytheme_change_cpt_routes() {

    global $wp_post_types;

    $wp_post_types['movie']->rest_base = 'movies';
}

Here’s the full list of all the Genesis hooks that are currently supported:

genesis_before
genesis_before_header
genesis_site_title
genesis_site_description
genesis_header_right
genesis_after_header
genesis_before_content_sidebar_wrap
genesis_before_content
genesis_before_loop
genesis_before_while
genesis_before_entry
genesis_entry_header
genesis_before_entry_content
genesis_entry_content
genesis_after_entry_content
genesis_entry_footer
genesis_after_entry
genesis_after_endwhile
genesis_after_loop
genesis_before_sidebar_widget_area
genesis_after_sidebar_widget_area
genesis_after_content_sidebar_wrap
genesis_before_footer
genesis_footer
genesis_after_footer
genesis_after

And naturally, there is a filter to control which hooks are supported:

add_filter( 'genesis_rest_api_supported_hooks', 'mytheme_genesis_rest_api_supported_hooks' );
function mytheme_genesis_rest_api_supported_hooks( $genesis_hooks ) {

    // Only include certian hooks.
    $genesis_hooks = array(
        'genesis_before_entry',
        'genesis_after_entry',
    );

    return $genesis_hooks;
}

NOTE: The hooks genesis_header and genesis_loop are not included by default because they mostly call other hooks that are included, but you can always add them back in using the genesis_rest_api_supported_hooks filter.

NOTE: Returning formatted HTML over the REST API is not the best way to make use of a REST API to build a website. It would be preferable to return only the raw object data and build all of your HTML on the client side using the object data. With this plugin you can do exactly this with a little help from json_encode:

add_action( 'genesis_before_entry_content', 'mytheme_pass_array' );
function mytheme_pass_array() {

    if ( is_single( 124 ) ) {
        $json = array(
            'a_key' => 'some value',
            'another_key' => 'another value',
        );
        echo json_encode( $json );
    }
}

Or the object version:

add_action( 'genesis_after_entry_content', 'mytheme_pass_object' );
function mytheme_pass_object() {

    if ( in_category( 2 ) ) {
        $json = new stdClass();
        $json->some_key = 'some value';
        $json->another_key = 'another value';
        echo json_encode( $json );
    }
}

Passing arbitrary objects and arrays like this really opens up some interesting possibilities.

If you have any ideas for new features or find a bug, please open an issue on Github. Pull requests are also encouraged :).

Installation

Manuelle Installation

  1. Upload the entire /genesis-rest-api-integration directory to the /wp-content/plugins/ directory.
  2. Activate Genesis REST API Integration through the ‘Plugins’ menu in WordPress.

Better Installation

  1. Go to Plugins > Add New in your WordPress admin and search for Genesis REST API Integration.
  2. Click Install.

Änderungsprotokoll

Added better support for working with custom post types Now you can register basic CPT support for the REST API using a filter Switched the primary initialization hook to rest_api_init

1.1.0

  • Added better support for working with custom post types
  • Now you can register basic CPT support for the REST API using a filter
  • Switched the primary initialization hook to rest_api_init

1.0.0

  • First Release

Vollständiges Änderungsprotokoll auf WordPress.org →

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.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best Genesis REST API Integration alternatives

Alle API-Plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 WP-Einwilligung API WP-Einwilligung API Einfache Zustimmung API Zum Lesen und Registrieren der aktuellen Einwilligungskategorie. von Rogier Lankhorst 300K+ ★★★★★★★★★★ 5 (2) Vor 3 tagen 76
2 Ruhe deaktivieren API Ruhe deaktivieren API Deaktivieren Sie die Nutzung des Rests API auf Ihrer Website für Benutzer der Website. Jetzt mit Unterstützung der Benutzerrolle! Von Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) Vor 3 Jahren 37
3 Mailgun für WordPress Mailgun für WordPress Senden Sie einfach E-Mails von Ihrer WordPress-Website über Mailgun über HTTP API oder SMTP. by Mailgun 70K+ ★★★★★★★★★★ 3.8 (50) Vor 2 Monaten 81
4 Verbindung herstellen Verbindung herstellen Verbindung herstellen. Make lässt Sie entwerfen, bauen und automatisieren, indem Sie sich mit WordPress in… von machen 70K+ ★★★★★★★★★★ 2.9 (27) Vor 4 Wochen 70
5 Deaktivieren Sie WP REST API Deaktivieren Sie WP REST API Deaktiviert die WP REST API für Besucher, die nicht bei WordPress angemeldet sind. von Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) Vor 4 Monaten 84
6 WP REST Cache WP REST Cache Aktivieren Sie das Caching der WordPress REST API und automatischen Flush-Caches bei der Bearbeitung von WP-Admin. von acato 10K+ ★★★★★★★★★★ 4.9 (42) Vor 4 Tagen 89
7 Wpgraphql für ACF Wpgraphql für ACF WpGraphQL für ACF integriert fortschrittliche benutzerdefinierte Felder nahtlos in wpGraphQL. von Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) Vor 1 Woche 75
8 WPGET API – Verbinden Sie sich mit jeder externen Pause API WPGET API – Verbinden Sie sich mit jeder externen Pause API Verbinden Sie eine beliebige Pause API mit WordPress. WPGET API Ermöglicht eine einfache API-Integration, so dass Sie… von David Anderson / Team-Updraft 10K+ ★★★★★★★★★★ 5 (32) Vor 2 Wochen 94
9 WordPress Ruhe API (Version 2) WordPress Ruhe API (Version 2) Greifen Sie über eine benutzerfreundliche HTTP-REST API auf die Daten Ihrer Website zu. (Version 2) Von Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) Vor 9 Jahren 43
10 WP REST API Controller WP REST API Controller Aktivieren Sie eine Benutzeroberfläche, um die Sichtbarkeit zu aktivieren und die Eigenschaften in WP REST API-Anforderungen anzupassen. Von Evan Herman 7K+ ★★★★★★★★★★ 4.3 (12) Vor 4 Jahren 38

Fragen und Antworten

Genesis REST API Integration: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is Genesis REST API Integration free?

Yes. Genesis REST API Integration is free to download and use from the official WordPress.org plugin directory.

Is Genesis REST API Integration safe to use in 2026?

Genesis REST API Integration shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 11 years ago, and scores 30/100 on our health check.

How many websites use Genesis REST API Integration?

Genesis REST API Integration is active on 10+ WordPress websites and has been downloaded 2,277 times since it launched in July 2015. It was downloaded 51 times in the last 30 days.

Does Genesis REST API Integration work with WordPress 7.1?

Genesis REST API Integration is officially tested up to WordPress 4.4.34, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

When was Genesis REST API Integration last updated?

The latest version, 1.1.0, was released on December 7, 2015 (11 years ago).

Who makes Genesis REST API Integration?

Genesis REST API Integration is developed and maintained by Braad.

What are the best alternatives to Genesis REST API Integration?

The most popular alternatives to Genesis REST API Integration are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ 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

↑↓ bewegen↵ öffnen