• Resolved lalalapo

    (@lalalapo)


    Hi,

    I just installed gwolle guestbook.

    My question is: If I create an answer, I get “Admin Reply by: User name” or in my case in Germany “Administrator-Antwort von: User name”. Is it possible to change the “Admin Reply”? I want to have for example “Reply by: User name”. Is this possible?

    Hope, you are able to help me.

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

    (@mpol)

    Hi, you can add a filter for this.
    Take a look inside the zipfile in /docs/filters/ and read up in gwolle_gb_admin_reply_header.txt. It has example code.

    You can place your hook/filter inside your functions.php of your theme, or your own plugin file.

    Plugin Author Marcel Pol

    (@mpol)

    Oh, I will just paste something here…

    function my_gwolle_gb_admin_reply_header( $html, $entry ) {
    	// $html is a string
    	$html = 'Antwort von:';
    	return $html;
    }
    add_filter( 'gwolle_gb_admin_reply_header', 'my_gwolle_gb_admin_reply_header', 10, 2 );
    Thread Starter lalalapo

    (@lalalapo)

    Thank you for your great support!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to change “Admin Reply by:”’ is closed to new replies.