PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Content Type / The loop

  1. ekrocker
    Member

    Is there anyway to easily change the way each content type within the loop? Almost the way Tumblr works... links, photos, etc. I can get Gravity Forms create the posts, custom fields, etc. but I'd like type to display differently... Any help would GREATLY be appreciated.

    Posted 14 years ago on Saturday August 28, 2010 | Permalink
  2. Hi Ekrocker,

    This falls outside of standard Gravity Forms support, but here is a link that can help get you started:

    http://codex.wordpress.org/Function_Reference/get_post_type

    Using this function you could create a conditional in the loop to check for the current post type and specify a unique way of handling each post type. Hope that is enough to get you started. :)

    Posted 14 years ago on Saturday August 28, 2010 | Permalink