{Gravity Forms Shortcode Explained|Gravity Forms Shortcode – A Detailed Explanation}

This post is about Gravity Forms, a WordPress contact form plugin.

I know about Gravity Forms…but what are shortcodes?

Think of shortcodes as a placeholder for where other content will be displayed: instead of “Insert a Gravity Forms form here,” we use the `gravityform` shortcode. Learn more about shortcodes on WordPress.org.

The Gravity Forms `shortcode` has five pieces:

`

Oops! We could not locate your form.

`

  1. `id` (required) – The ID of the form, as displayed on the Gravity Forms Edit Forms page in the Id column
  2. `name` (required) – The name of the form.
  3. `title` – Show the title to users? Default is true; set to “false” to disable
  4. `description` – Show the form’s description to users? Default is true; set to “false” to disable.
  5. `ajax` – Submit the form without refreshing? Default is false; set to “true” to enable.

Gravity Forms Shortcode Examples:

`

`
Will result in Form #1 being displayed without a title or description, with no-refresh entry submission. Continue reading “{Gravity Forms Shortcode Explained|Gravity Forms Shortcode – A Detailed Explanation}”

How to turn off captions in WordPress 2.6

Having fun with new technology

Turn off da captions, turn off da funk!

I’ve found that many who found my previous article about removing caption from the All In One SEO Pack are interested in disabling the WordPress 2.6 captions altogether. This is very simple to do.

Futureproof way to disable captions

From Otto:

Add this to your theme’s functions.php file:
add_filter('disable_captions', create_function('$a','return true;'));

[Edited: Updated with final solution from Otto]. Thanks to King Rat and others who’ve contributed to solving this problem.

If you have any questions, revisions, or…comments, leave a comment!

Remove [caption] shortcode from All in One SEO Pack in WordPress 2.6

Starting in WordPress 2.6, they’ve added captions to images that are automatically generated and use the Shortcode API to make it happen.  One side effect is that All in One SEO Pack isn’t set up to strip the caption from the automatically generated META tags, so you may end up with in your description.

Thanks to a WordPress Trac entry, I got the right regular expression to strip all shortcode in All in One plugin. Continue reading “Remove shortcode from All in One SEO Pack in WordPress 2.6″