michaeled
Forum Replies Created
-
Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Post Carousel doesn’t update automaticallyI’ve add an “!” line 162 in compat/block-editor/widget-block.php
And it solved the issue, but I don’t know why ….151 if ( ! empty( $widget ) && is_object( $widget ) && is_subclass_of( $widget, 'SiteOrigin_Widget' ) ) { 152 $GLOBALS['SITEORIGIN_WIDGET_BLOCK_RENDER'] = true; 153 add_filter( 'siteorigin_widgets_wrapper_classes_' . $widget->id_base, $add_custom_class_name ); 154 ob_start(); 155 156 // If we have pre-generated widgetHTML or there's a valid $_POST, generate the widget. 157 // We don't show the pre-generated widget when there's a valid $_POST 158 // as widgets will likely change when that happens. 159 // Pages with an active WPML translation will bypass cache. 160 $current_page_id = get_the_ID(); 161 if ( 162 !empty( $attributes['widgetHtml'] ) || 163 ! empty( $_POST ) || 164 // Is WPML active? If so, is there a translation for this page? 165 ( 166 defined( 'ICL_LANGUAGE_CODE' ) && 167 is_numeric( 168 apply_filters( 169 'wpml_object_id', 170 $current_page_id, 171 get_post_type( $current_page_id ), 172 false, 173 ICL_LANGUAGE_CODE 174 ) 175 ) 176 ) 177 ) { 178 /* @var $widget SiteOrigin_Widget */ 179 $instance = $widget->update( $instance, $instance ); 180 $widget->widget( array( 181 'before_widget' => '', 182 'after_widget' => '', 183 'before_title' => '<h3 class="widget-title">', 184 'after_title' => '</h3>', 185 ), $instance ); 186 } else { 187 $widget->generate_and_enqueue_instance_styles( $instance ); 188 $widget->enqueue_frontend_scripts( $instance ); 189 190 // Check if this widget uses any icons that need to be enqueued. 191 if ( ! empty( $attributes['widgetIcons'] ) ) { 192 $widget_icon_families = apply_filters( 'siteorigin_widgets_icon_families', array() ); 193 foreach ( $attributes['widgetIcons'] as $icon_font ) {
Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Post Carousel doesn’t update automaticallyHi,
Thanks for your answer.
I found where the problem came from but i don’t know how to fix it.
With the SiteOrigin Widgets Bundle in version 1.17.11, when I add the carousel (without changing any parameter), I have this for the post in Database :
<!-- wp:sowb/widget-block {"widgetClass":"SiteOrigin_Widget_PostCarousel_Widget","widgetData":{"title":"","default_thumbnail":"","default_thumbnail_fallback":"","image_size":"sow-carousel-default","link_target":"same","loop_posts":"on","posts":{"post_type":"post","post__in":"","tax_query":"","date_type":"specific","date_query":"","date_query_relative":"","orderby":"date","order":"DESC","posts_per_page":"","sticky":"","additional":""},"design":{"thumbnail_overlay_hover_color":"#3279BB","navigation_color":"#fff","navigation_color_hover":"","navigation_background":"#333","navigation_hover_background":"#444","so_field_container_state":"closed"},"responsive":{"desktop":{"slides_to_scroll":"1","so_field_container_state":"closed"},"tablet":{"landscape":{"breakpoint":"1366","slides_to_scroll":"2","so_field_container_state":"closed"},"portrait":{"breakpoint":"1025","slides_to_scroll":"2","so_field_container_state":"closed"},"so_field_container_state":"closed"},"mobile":{"breakpoint":"480","slides_to_scroll":"1","so_field_container_state":"closed"},"so_field_container_state":"closed"},"_sow_form_id":"173038309561d8311830cd1755479387","_sow_form_timestamp":""}} /-->
whereas if I make the same thing with the version 1.18.0, I have this :
<!-- wp:sowb/widget-block {"widgetClass":"SiteOrigin_Widget_PostCarousel_Widget","widgetData":{"title":"","default_thumbnail":"","default_thumbnail_fallback":"","image_size":"sow-carousel-default","link_target":"same","loop_posts":"on","posts":{"post_type":"post","post__in":"","tax_query":"","date_type":"specific","date_query":"","date_query_relative":"","orderby":"date","order":"DESC","posts_per_page":"","sticky":"","additional":""},"design":{"thumbnail_overlay_hover_color":"#3279BB","thumbnail_overlay_hover_opacity":"0.5","navigation_color":"#fff","navigation_color_hover":"","navigation_background":"#333","navigation_hover_background":"#444","so_field_container_state":"closed"},"responsive":{"desktop":{"slides_to_scroll":"1","so_field_container_state":"closed"},"tablet":{"landscape":{"breakpoint":"1366","slides_to_scroll":"2","so_field_container_state":"closed"},"portrait":{"breakpoint":"1025","slides_to_scroll":"2","so_field_container_state":"closed"},"so_field_container_state":"closed"},"mobile":{"breakpoint":"480","slides_to_scroll":"1","so_field_container_state":"closed"},"so_field_container_state":"closed"},"_sow_form_id":"27241110461d8316f009d4823359837","_sow_form_timestamp":""},"widgetHtml":"\u003cdiv class=\u0022so-widget-sow-post-carousel so-widget-sow-post-carousel-default-af568c285c2f\u0022\u003e\n\t\u003cdiv class=\u0022sow-carousel-title\u0022\u003e\n\t\t\n\t\t\u003cdiv class=\u0022sow-carousel-navigation\u0022\u003e\n\t\t\t\u003ca href=\u0022#\u0022 class=\u0022sow-carousel-next\u0022 title=\u0022Suivant\u0022 aria-label=\u0022Next Posts\u0022 role=\u0022button\u0022\u003e\u003c/a\u003e\n\t\t\t\u003ca href=\u0022#\u0022 class=\u0022sow-carousel-previous\u0022 title=\u0022Précédent\u0022 aria-label=\u0022Previous Posts\u0022 role=\u0022button\u0022\u003e\u003c/a\u003e\n\t\t\u003c/div\u003e\n\n\t\u003c/div\u003e\n\n\t\u003cdiv class=\u0022sow-carousel-container\u0022\u003e\n\n\t\t\u003ca href=\u0022#\u0022 class=\u0022sow-carousel-previous\u0022 title=\u0022Précédent\u0022 aria-label=\u0022Previous Posts\u0022 role=\u0022button\u0022\u003e\u003c/a\u003e\n\n\t\t\u003ca href=\u0022#\u0022 class=\u0022sow-carousel-next\u0022 title=\u0022Suivant\u0022 aria-label=\u0022Next Posts\u0022 role=\u0022button\u0022\u003e\u003c/a\u003e\n\n\t\t\u003cdiv class=\u0022sow-carousel-wrapper\u0022\n\t\t data-post-count=\u002216\u0022\n\t\t data-loop-posts-enabled=\u00221\u0022\n\t\t data-ajax-url=\u0022https://bacasable-siteinternet.soluris.fr/wp-admin/admin-ajax.php?_widgets_nonce=00a212e0dc\u0022\n\t\t data-page=\u00221\u0022\n\t\t data-fetching=\u0022false\u0022\n\t\t data-dir=\u0022ltr\u0022\n\t\t data-responsive=\u0022{\u0026quot;desktop_slides\u0026quot;:1,\u0026quot;tablet_portrait_slides\u0026quot;:2,\u0026quot;tablet_portrait_breakpoint\u0026quot;:1025,\u0026quot;tablet_landscape_slides\u0026quot;:2,\u0026quot;tablet_landscape_breakpoint\u0026quot;:1366,\u0026quot;mobile_breakpoint\u0026quot;:480,\u0026quot;mobile_slides\u0026quot;:1}\u0022\n\t\t\u003e\n\t\t\t\u003cdiv class=\u0022sow-carousel-items\u0022\u003e\n\t\t\t\t\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/pppp/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3880\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/pppp/\u0022 id=\u0022sow-carousel-id-3880\u0022 tabindex=\u0022-1\u0022\u003epppp\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/oooo/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3878\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/oooo/\u0022 id=\u0022sow-carousel-id-3878\u0022 tabindex=\u0022-1\u0022\u003eoooo\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/nnnnn/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3864\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/nnnnn/\u0022 id=\u0022sow-carousel-id-3864\u0022 tabindex=\u0022-1\u0022\u003ennnnn\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/mmmm/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3862\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/mmmm/\u0022 id=\u0022sow-carousel-id-3862\u0022 tabindex=\u0022-1\u0022\u003emmmm\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/llll/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3857\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/llll/\u0022 id=\u0022sow-carousel-id-3857\u0022 tabindex=\u0022-1\u0022\u003ellll\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/kkk/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3855\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/kkk/\u0022 id=\u0022sow-carousel-id-3855\u0022 tabindex=\u0022-1\u0022\u003ekkk\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/jjj/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3853\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/jjj/\u0022 id=\u0022sow-carousel-id-3853\u0022 tabindex=\u0022-1\u0022\u003ejjj\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/iii/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3848\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/iii/\u0022 id=\u0022sow-carousel-id-3848\u0022 tabindex=\u0022-1\u0022\u003eiii\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/hhhh/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3846\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/hhhh/\u0022 id=\u0022sow-carousel-id-3846\u0022 tabindex=\u0022-1\u0022\u003ehhhh\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\u003cdiv class=\u0022sow-carousel-item\u0022 tabindex=\u0022-1\u0022\u003e\n\t\t\u003cdiv class=\u0022sow-carousel-thumbnail\u0022\u003e\n\t\t\t\t\t\t\t\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/gggg/\u0022\n\t\t\t\t\tclass=\u0022sow-carousel-default-thumbnail\u0022\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\taria-labelledby=\u0022sow-carousel-id-3844\u0022\n\t\t\t\t\ttabindex=\u0022-1\u0022\u003e\n\t\t\t\t\t\u003cspan class=\u0022overlay\u0022\u003e\u003c/span\u003e\n\t\t\t\t\u003c/a\u003e\n\t\t\t\t\t\u003c/div\u003e\n\t\t\u003ch3\u003e\u003ca href=\u0022https://bacasable-siteinternet.soluris.fr/gggg/\u0022 id=\u0022sow-carousel-id-3844\u0022 tabindex=\u0022-1\u0022\u003egggg\u003c/a\u003e\u003c/h3\u003e\n\t\u003c/div\u003e\n\t\t\t\u003c/div\u003e\n\t\t\u003c/div\u003e\n\t\u003c/div\u003e\n\t\u003cinput type=\u0022hidden\u0022 name=\u0022instance_hash\u0022 value=\u0022c8074a24\u0022/\u003e\n\u003c/div\u003e \u003cstyle type=\u0022text/css\u0022\u003e.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-title a.sow-carousel-next,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-title a.sow-carousel-previous {\n background: #333333;\n color: #ffffff;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-title a.sow-carousel-next:focus,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-title a.sow-carousel-previous:focus,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-title a.sow-carousel-next:hover,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-title a.sow-carousel-previous:hover {\n background: #444444;\n \n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item {\n width: 244.8px;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a {\n background-repeat: no-repeat;\n background-size: 244.8px 163.8px;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a span.overlay {\n width: 244.8px;\n height: 163.8px;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-thumbnail a span.overlay {\n background: #3279bb;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item:focus .sow-carousel-thumbnail a,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item:hover .sow-carousel-thumbnail a {\n background-size: 272px 182px;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item:focus .sow-carousel-thumbnail a span.overlay,\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item:hover .sow-carousel-thumbnail a span.overlay {\n opacity: 0.5;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-item .sow-carousel-default-thumbnail {\n width: 244.8px;\n height: 163.8px;\n}\n.so-widget-sow-post-carousel-default-af568c285c2f .sow-carousel-wrapper .sow-carousel-items .sow-carousel-loading {\n width: 244.8px;\n height: 163.8px;\n}\u003c/style\u003e"} /-->
If I withdraw ,”widgetHtml…….. …” it works well, otherwise all new post are not shown.
Any idea ?
- This reply was modified 3 years, 2 months ago by michaeled.
Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Post Carousel doesn’t update automaticallyHi Andrew,
Thanks for your quick answer,
No, I’ve added the SiteOrigin Post Carousel without changing any parameter.
All plugins are disabled except Site Origin.
We will discuss internally about your Premium support, it will take some weeks but it seems interesting.
Maybe in the meantime, can you tell me where to investigate ? (nothing in php apache or php, nothing in console javascript …) ?
Best regards
Michael
Forum: Plugins
In reply to: [SiteOrigin Widgets Bundle] Post Carousel doesn’t update automaticallyHi,
I tried on a single page with all extensions disabled and the problem is still present.
You can check on this page: https://bacasable-siteinternet.soluris.fr/test-siteorigin/
Latest articles on this page: https://bacasable-siteinternet.soluris.fr/last-posts/
When I added “eee” and “fff” posts after adding the siteorigin carousel widget, they are not automatically added to the carousel. If I go to the page now, and update it, it works … until I add a new post.
Do you know where the problem can come from?`
Hi,
I have the same issue, conflict on select2 with the ACF module enabled.
ACF (5.11.2) just updated its select2:
https://www.advancedcustomfields.com/changelog/I have to disable 2FA until the issue is fixed