NwpDeveloper
NwpDeveloper
Does this feature work on a multi site? I'm getting really odd behavior where saving in page-builder is completely deleting the theme_mods option_value. Sometimes it replaces the option_value column with...
Ok. I'm duplicating this behavior on a single site with 2015 theme. Are we 100% sure fw-storage in 2.5.0 is stable? Here are the steps I produced the issue. 1)...
Nice! What are the option parameters to save customizer option to page-builder? https://github.com/ThemeFuse/Unyson/issues/1388#issuecomment-201440068 I tried reversing the options and using `'customizer-option-id' => array( 'type' => 'switch', 'fw-storage' => array( 'type'...
Ah Ok. I thought that was the point of #838. What is class FW_Option_Storage_Type_Post_Meta for? I thought fw-storage is used to store shortcode options, page, post, customizer etc. and then...
Does the current functionality work for shortcodes or just {theme}/framework-customizations/theme/options/posts/?
It doesn't look like the _get_value_from_input method is working properly when I create a custom option. I'm unable to print the default value defined in customizer.php and it doesn't update...
Example: Duplicate of text option as foo option. customizer.php ``` php 'test1' => array( 'type' => 'fw-foo', 'value' => 'test1', ), ``` view.php ``` php $option_value = fw_get_db_customizer_option('test1'); fw_print($option_value); ```...
``` php function _action_theme_include_custom_option_types() { require_once dirname(__FILE__) . '/option-types/fw-foo/class-fw-option-type-foo.php'; } add_action('fw_option_types_init', '_action_theme_include_custom_option_types'); ``` That's inside {theme}/inc/includes/option-types.php
This is the class: ``` php class FW_Option_Type_Foo extends FW_Option_Type { public function get_type() { return 'fw-foo'; } /** * @internal * {@inheritdoc} */ protected function _enqueue_static( $id, $option, $data...
If that class inside simple.php then iframe refresh updates fine. If option in theme doesn't update on refresh only save.