Add a Singular Themer layout to the WordPress Page Template field

Author: 

Beaver Builder


Description: 

Singular-type Themer layouts that you create in Beaver Themer do not by default appear in the WordPress Template dropdown list on page or post editing screens. However, you can treat them like other WordPress page templates and add them to the Template dropdown list with a bit of PHP code. You can add the choice to pages only, single posts only, or both.




Kind:

PHP, Beaver


PHP:

/*
Template Name: Test Singular
Template Post Type: page, post
*/

//Substitute your own page ID in the following line
FLThemeBuilderLayoutRenderer::render_all( 88 );


URL: