• Resolved face2005

    (@face2005)


    Hello!
    How to cancel cutting text in the widget and show the answer of the admin in the widget?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi,
    It is not really designed with this in mind. If you want this, you do need some ability in PHP programming.

    One option is to copy the file /frontend/gb-widget.php into your own plugin and rewrite it to your needs.

    Another option is to use the filter ‘gwolle_gb_entry_widget_add_after’ to add the admin reply. For setting the word limit to unlimited, you can add probably use the inspector when updating the widget under Appearance > Widgets, and set the value for the select dropdown to 1000 for example. It should just save that value.

    Does this help?

    Thread Starter face2005

    (@face2005)

    Hello!
    thanks for the answer!
    but it does not work, I write this in the gb-widget.php file:

    // Use this filter to just add something
    $widget_html .= apply_filters( 'gwolle_gb_entry_widget_add_after', '', $entry );
    $widget_html .= '<div class="admin_reply_content">' . $entry->get_admin_reply_content() . '</div>';

    help me please…

    Thread Starter face2005

    (@face2005)

    decided, thank you
    $entry->get_admin_reply()

    • This reply was modified 5 years, 12 months ago by face2005.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘admin response in widget’ is closed to new replies.