Support » Plugin: Flex Posts - Widget and Gutenberg Block » change default settings

  • Resolved philfil


    hey there!

    first of all I’d like to thank you for the great plugin!

    Is there a way of changing the default settings? I’d like to change the default layout to ‘layout 2’ plus a few other changes in meta data in the ‘Display” section. I’ve tried editing both the block.js and block.php files but it does not do anything…

    Could you point me in the right direction please? Thank you in advance!

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


    Please edit block.js line 42 and change default: 1 to default: 2, and block.php line 85, change 'default' => 1, to 'default' => 2,
    And then you need to clear your browser cache, so the change in the js file will take effect.

    Thread Starter philfil


    Thank you so much Tajam!

    All the best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change default settings’ is closed to new replies.