<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Compatibility w/ Multiple Content Blocks Plugin</title>
		<link>https://legacy.forums.gravityhelp.com/topic/compatibility-w-multiple-content-blocks-plugin</link>
		<description>Gravity Support Forums Topic: Compatibility w/ Multiple Content Blocks Plugin</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 23:46:07 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/compatibility-w-multiple-content-blocks-plugin" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Compatibility w/ Multiple Content Blocks Plugin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/compatibility-w-multiple-content-blocks-plugin#post-14938</link>
			<pubDate>Thu, 23 Dec 2010 12:42:50 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">14938@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms v1.5 introduces a function call you can make that will enqueue the necessary JS for a given form.  You need to be running the latest release candidate.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;gravity_form_enqueue_scripts(101, true&#124;false);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The first parameter is the form id of the form you want to enqueue the scripts for, the second parameter is for if you want to use AJAX or not and it needs to be set to either true or false.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ron on "Compatibility w/ Multiple Content Blocks Plugin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/compatibility-w-multiple-content-blocks-plugin#post-14922</link>
			<pubDate>Thu, 23 Dec 2010 05:47:47 +0000</pubDate>
			<dc:creator>Ron</dc:creator>
			<guid isPermaLink="false">14922@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl can you supply the code for GF 1.5 please? Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ewarnke on "Compatibility w/ Multiple Content Blocks Plugin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/compatibility-w-multiple-content-blocks-plugin#post-14908</link>
			<pubDate>Wed, 22 Dec 2010 17:04:01 +0000</pubDate>
			<dc:creator>ewarnke</dc:creator>
			<guid isPermaLink="false">14908@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Works, cheers :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Compatibility w/ Multiple Content Blocks Plugin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/compatibility-w-multiple-content-blocks-plugin#post-14905</link>
			<pubDate>Wed, 22 Dec 2010 16:19:07 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">14905@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The issue is how the shortcode enqueues the necessary Javascript for the conditional logic to work.  It won't automatically do it when using the MCB plugin because of how WordPress and the MBC plugin works.&#60;/p&#62;
&#60;p&#62;The workaround for this is to add code to your theme to manually enqueue the necessary Javascript.&#60;/p&#62;
&#60;p&#62;For Gravity Forms v1.4.5 and earlier you would add the necessary code to enqueue the JS and CSS to your themes functions.php file.  It would look like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if(!is_admin()){
wp_enqueue_script(&#38;quot;gforms_ui_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/jquery-ui/ui.datepicker.js&#38;quot;, array(&#38;quot;jquery&#38;quot;), &#38;quot;1.3.9&#38;quot;, true);

wp_enqueue_script(&#38;quot;gforms_datepicker&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/datepicker.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.3.9&#38;quot;, true);

wp_enqueue_script(&#38;quot;gforms_conditional_logic_lib&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/js/conditional_logic.js&#38;quot;, array(&#38;quot;gforms_ui_datepicker&#38;quot;), &#38;quot;1.3.9&#38;quot;, true);

wp_enqueue_style(&#38;quot;gforms_css&#38;quot;, WP_PLUGIN_URL . &#38;quot;/gravityforms/css/forms.css&#38;quot;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If you are running Gravity Forms v1.5 then the code may be slightly different, we've implemented a function in the latest release that you would call and it will then automatically enqueue the necessary JS for the form you are displaying.  I can provide that if necessary.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ewarnke on "Compatibility w/ Multiple Content Blocks Plugin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/compatibility-w-multiple-content-blocks-plugin#post-14900</link>
			<pubDate>Wed, 22 Dec 2010 15:35:14 +0000</pubDate>
			<dc:creator>ewarnke</dc:creator>
			<guid isPermaLink="false">14900@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;A friend gave me a copy of GF to test and I fully intend on paying for it... if I can actually get it to work with my WP installation. I have the Multiple Content Blocks plugin activated and it's an essential part of our website.&#60;/p&#62;
&#60;p&#62;Currently any forms that use conditional logic do not display if they are placed in the_block() sections of that plugin. Anything that's placed in the normal the_content() in WP display just fine.&#60;/p&#62;
&#60;p&#62;Is there a work around? MCB is a very popular plugin and I don't know of an alternative that's as capable.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
