<?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: Make shortcode work in Dashboard widget?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/make-shortcode-work-in-dashboard-widget</link>
		<description>Gravity Support Forums Topic: Make shortcode work in Dashboard widget?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:53:28 +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/make-shortcode-work-in-dashboard-widget" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Make shortcode work in Dashboard widget?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/make-shortcode-work-in-dashboard-widget#post-144785</link>
			<pubDate>Fri, 08 Feb 2013 15:21:42 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">144785@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It looks like you are not including the Gravity Forms scripts and style.  Please try enqueuing them when your widget loads using gravity_form_enqueue_scripts.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You're basically doing this (although you are using do_shortcode not the function call):&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Function_Call&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Function_Call&#60;/a&#62; &#60;/p&#62;
&#60;p&#62;When you include a Gravity Form like that, you have to include the scripts yourself.&#60;/p&#62;
&#60;p&#62;Gravity Forms was not designed to be used in the admin area, so this may not work properly even after you enqueue the scripts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>satori83 on "Make shortcode work in Dashboard widget?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/make-shortcode-work-in-dashboard-widget#post-144347</link>
			<pubDate>Thu, 07 Feb 2013 17:53:03 +0000</pubDate>
			<dc:creator>satori83</dc:creator>
			<guid isPermaLink="false">144347@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have added code to include a custom dashboard widget, but it ends up a bit funny....&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;wp_dashboard_setup&#38;#39;, &#38;#39;my_custom_dashboard_widgets&#38;#39;);

function my_custom_dashboard_widgets() {
global $wp_meta_boxes;

wp_add_dashboard_widget(&#38;#39;custom_help_widget&#38;#39;, &#38;#39;Get Support&#38;#39;, &#38;#39;custom_dashboard_help&#38;#39;);
}

function custom_dashboard_help() {
echo do_shortcode(&#38;#39;[gravityform id=&#38;quot;1&#38;quot; name=&#38;quot;Customer Support&#38;quot;]&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Heres what it looks like..&#60;br /&#62;
&#60;a href=&#34;https://dl.dropbox.com/u/9832993/shortcode.png&#34; rel=&#34;nofollow&#34;&#62;https://dl.dropbox.com/u/9832993/shortcode.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How can I make those edit/delete options go away?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
