• Resolved Christopher

    (@cweddell)


    Really enjoying using Block Lab, it is great.

    Though default values are not saved within the post, why is that?

    From a previous plugin and shortcode I have created a post slider block with 21 different fields to filter the posts to display, the design and layout, and finally the slider speed etc. Defaults are great to speed up the posting process but if the settings are not saved in the post then any tweaks to defaults in the dim and distant future could have unintended consequences across a myriad of posts.

    [recent_post_slider limit="-1" design="design-2" category="3" show_category_name="false" show_content="true" show_date="false" dots="true" arrows="true" autoplay="true" autoplay_interval="5000" speed="1000" content_words_limit="20" post_type="post" show_author="false" show_read_more="true"]

    <!-- wp:block-lab/post-slider /-->

    Also why no negative values allowed for numbers or ranges? considering -1 is used to include all it would be useful to set that as the default for say the number of posts.

    Many thanks,
    Christopher

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Default values (and negative numbers)’ is closed to new replies.