Support » Plugin: Post Type Archive Pages » Gutenberg enabled

  • Hi, why you hidding editor? This is best plugin ever for this! 🙂

    //add_action( ‘admin_init’, array( $this, ‘hide_editor’ ), 5 );

    <?php

    get_header();

    $archive_page = post_type_archive_pages()->get_archive_page();

    do_blocks( $archive_page ); ?>

    <?php if ( have_posts() ) : ?>
    <?php while ( have_posts() ): the_post(); ?>
    <?php the_title(); ?>
    <?php endwhile; endif; ?>

    get_footer();

    ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.