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.

Option to change dashboard widget title

  1. We have a developers license and use Gravity Forms on many sites that we have developed. It would be nice if we could change the dashboard widget title from "Gravity Forms" to a value we set. Since the widget shows an overview of entries it seems something like "Leads", "Lead Summary", "Website Form Entries", etc would be nice. I know, I know this is really minor but "Gravity Forms" doesn't mean a lot to our client admin users and we really try to streamline and simplify the admin for each client.

    Posted 8 years ago on Friday January 20, 2012 | Permalink
  2. Hi, stoutdesign,

    There is a line of code in "gravityforms.php" that has the text for the dashboard widget. You could manually change this, but keep in mind that you would need to redo it every time you update Gravity Forms.

    The line of code is "wp_add_dashboard_widget('rg_forms_dashboard', 'Gravity Forms', array('RGForms', 'dashboard'));" . You can change the text "Gravity Forms" to something easier for your clients to understand.

    Posted 8 years ago on Friday February 3, 2012 | Permalink
  3. Hi Dana. Thanks for the reply. I saw this in the code but I was hoping for something that would persist between Gravity Forms updates.

    Posted 8 years ago on Friday February 3, 2012 | Permalink
  4. Surprise!

    With the new beta version (v1.6.3 Beta 2) that went out today, available for download on the Plugin Downloads page, you can use the hook "gform_dashboard_title" to change the text.

    add_filter("gform_dashboard_title", "change_title");
    function change_title()
    {
    	return "SURPRISE!";
    }
    Posted 8 years ago on Friday February 3, 2012 | Permalink

This topic has been resolved and has been closed to new replies.