Hi,
There are filters that you can use. They are PHP code that you can add to your own plugin or to functions.php of your theme.
Common filters for this are:
- gwolle_gb_button
- gwolle_gb_write
They are documented in the zipfile in /docs/filters with example code. On this support forum you can also find examples posted.
Hey,
sorry I don’t understand, my english is not the best.
Should I upload some files or can I find them in the configuration area of the guestbook?
In which files should I search and which terms are the one which I should correct?
Thanks
You should not change any files of the plugin.
You can add some code to yout function.php of your theme.
This topic might help:
https://wordpress.org/support/topic/change-button-text-20/
I am not sure if we are talking about the same thing.
I want to change the description of the field where the people can write down their guestbook entry. I don’t want to change the button. I tried the other thread, but it doesn’t help me.
Do you have the right code for me to change the field description? Now its “Gästebucheintrag” in Englisch Guestbookentry. I want to change this one.
The second part of that code is what you want.
The first part is about the button, the second part about the form.
You want to place the right text inside that code.
function my_gwolle_gb_write( $form_html ) {
// $form_html is a string
$old = 'Gästebucheintrag';
$new = 'Something... (or anything you like)';
$form_html = str_replace( $old, $new, $form_html );
return $form_html;
}
add_filter( 'gwolle_gb_write', 'my_gwolle_gb_write', 10, 1 );
Hello Marcel,
I have the same question or problem. Find this in the support sides.
Where can I find the code to change the Word “Gästebucheintrag” to “Kommentar”?
Your plug-in is great. Only it would be nice to change this word, because we don’t have guests, but customers.
Thank you very much.
Marion