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.

Display comments in "Recent Comments" Widget

  1. Hi,

    When a comment is submitted, it does not update the default Comment section of WP, and thus will not show in the "Recent Comment" widget.

    How do I enlist the recent comments submitted by Gravity in the "Recent Comments" Widget, or similar widget?

    I use the Executable PHP widget, so I can use any php code (I use php code widget to display the contact form in the sidebar), but what to use to display the top 5 recent comments, for instance...?

    Regards
    Morten Ross

    Posted 14 years ago on Saturday March 13, 2010 | Permalink
  2. I'm a little confused Morten, Gravity Forms doesn't have anything to do with the WordPress Comments functionality so i'm unsure how you are using it and how that relates to your question. Can you clarify on what exactly you are doing?

    Posted 14 years ago on Monday March 15, 2010 | Permalink
  3. Ok, let me rephrase it then: How do I display, lets say the last 5 comments in the sidebar?

    Posted 14 years ago on Wednesday March 17, 2010 | Permalink
  4. It seems there is some confusion. As Carl mentioned, Gravity Forms has nothing to do with WordPress comment functionality. If you simply want to show the comments in the sidebar, there are a bevy of plugins and widgets available to do that for you as well as many tutorials on doing it manually.

    http://wordpress.org/extend/plugins/search.php?q=recent+comments&sort=

    Posted 14 years ago on Thursday March 18, 2010 | Permalink
  5. By comments do you mean form submissions (Gravity Forms calls them entries)?

    If you are referring to WordPress Comments for posts, Gravity Forms has nothing to do with the WordPress Comment system.

    Posted 14 years ago on Thursday March 18, 2010 | Permalink
  6. I mean comments submitted by Gravity Forms.

    Posted 14 years ago on Friday March 19, 2010 | Permalink
  7. I think the terminology is what is confusing us. Gravity Forms create form entries, not WordPress comments.

    Gravity Forms doesn't have anything to do with WordPress Comments and therefore wouldn't update the Comments section.

    Posted 14 years ago on Friday March 19, 2010 | Permalink
  8. Let's say I have a Gravity Form named form1. How to I put the latest 5 submissions from form1 to the sidebar?

    As it is now, there is no means to communicate to the outside what people have submitted via form1 - I can only see this as an admin in the dashboard.

    Posted 14 years ago on Sunday March 21, 2010 | Permalink
  9. In order to display entries on the front end you would have to write your own PHP to query the Gravity Forms entry tables and display the data. You would have to have a knowledge of PHP and MySQL in order to do so. There isn't currently a built in Gravity Forms function call to display data on the front end.

    We do plan on adding this functionality in the future, however it isn't in the current version of the plugin.

    Posted 14 years ago on Monday March 22, 2010 | Permalink
  10. Looking forward to it :-)

    Posted 14 years ago on Wednesday March 24, 2010 | Permalink
  11. takemura
    Member

    I can see a use for displaying certain entries on your site, like testimonials for example.

    Posted 14 years ago on Thursday March 25, 2010 | Permalink
  12. DannyH
    Member

    Yeah this would be a really nice feature, Im using Gravity Forms for my Guild website, I have an application form and the ability to show the x latest application on the front page would be really nice!

    Posted 14 years ago on Thursday March 25, 2010 | Permalink