Support » Plugin: Flex Posts - Widget and Gutenberg Block » How to add a template?

  • Resolved marcelolz


    Is it possible to create and add a fifth post template?

    Before now, I created a template file in / public just by removing the thumbnail hook. But this new model did not appear in the list.


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tajam


    There is a number of layouts defined in flex-posts/includes/functions.php in this function:

    function flex_posts_get_layouts() {
    	return apply_filters( 'flex_posts_layouts', 4 );

    In current version, it’s set to 4. You can change that number, but please note that we also have a plan to add more layouts in future updates, so your own template may get replaced when you update the plugin.

    Thank you! I will need to make this change, so I will avoid updating this plugin automatically, so.


    Obrigado! Vou precisar fazer essa alteração, então evitarei atualizar esse plugin automaticamente, então.

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