Skip Navigation

[Resolved] problem with types and views after update

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Tagged: 

This topic contains 1 reply, has 1 voice.

Last updated by giuliaS 6 years, 2 months ago.

Author
Posts
#320402

Hi,
after the plugin update there is something worng with a view I created on hidden link (home page)

The boxes are supposed to contain a div with the featured image of the custom post. Before updating the plugin it worked right; now it seems to have some problem.

The final HTML output present some anomaly like this:

<div class="main_image" ])"="" raw="true" full"="" style="background-image: url([wpv-post-featured-image size="></div>

The following is the View code used.

[wpv-layout-start]
	[wpv-items-found]
	<!-- wpv-loop-start -->
	<wpv-loop wrap="2" pad="true">
	[wpv-item index=1]
      [one_full last="no" spacing="no" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="left top" border_size="0px" border_color="" border_style="solid" padding="" margin_top="" margin_bottom="" animation_type="slide" animation_direction="right" animation_speed="0.9" class="" id=""]
      <div class="shadow">
        <div class="row vspacing box">
          <a href="[wpv-post-url]" target="_top">
          	<div class="col-sm-8 nomargin">
              <div class="main_image" style="background-image: url([wpv-post-featured-image size="full" output="url"])"></div>
        	</div>
        	<div class="col-sm-4 nomargin">
          	  <div class="box_linea" style="background-color:[types field="box-color"][/types]">
          	  	<h2>[wpv-post-title]</h2>
            	<h3>[types field="slogan"]</h3>
                <p class="riassunto_linea">[wpv-post-excerpt length="10" count="word"]</p>
            	<p class="costruttore">by [wpv-post-title id="$costruttore"]</p>
          	  </div>
          	</div>
          </a>
        </div>
      </div>
      [/one_full]
	
    
    [wpv-item index=2]
    
      [one_full last="no" spacing="no" center_content="no" hide_on_mobile="no" background_color="" background_image="" background_repeat="no-repeat" background_position="left top" border_size="0px" border_color="" border_style="solid" padding="" margin_top="" margin_bottom="" animation_type="slide" animation_direction="left" animation_speed="0.9" class="" id=""]
      <div class="shadow">
        <div class="row vspacing box">
          <a href="[wpv-post-url]" target="_top">
            <div class="col-sm-4 nomargin">
              <div class="box_linea" style="background-color:[types field="box-color"][/types]">
                <h2>[wpv-post-title]</h2>
                <h3>[types field="slogan"][/types]</h3>
                <p class="riassunto_linea">[wpv-post-excerpt length="10" count="word"]</p>
                <p class="costruttore">by [wpv-post-title id="$costruttore"]</p>
              </div>
            </div>
            <div class="col-sm-8 nomargin">
              <div class="main_image" style="background-image: url([wpv-post-featured-image size="full" output="url"])"></div>
            </div>
          </a>
        </div>
      </div>
      [/one_full]
	</wpv-loop>
	<!-- wpv-loop-end -->
	[/wpv-items-found]
	[wpv-no-items-found]
		[wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string]
	[/wpv-no-items-found]
[wpv-layout-end]

It seems to be a problem that happens only when I use a shortcode inside the inline style parameter... but this is only a suppose. Hope you can help, it is really urgent.
Thanks in advance.

#320418

Just seen this topic... https://toolset.com/forums/topic/wordpress-4-2-3-update-breaks-shortcodes/
sorry for bother you with mine. Hope you can find soon a definitive solution.