logicgame1001
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Gwolle Guestbook] custom header text for only 1 pageyeah my mistake. 🙂
i’ve change the variable name as in your comment but still not working. It still show the default text.Forum: Plugins
In reply to: [Gwolle Guestbook] custom header text for only 1 pageyeah, i just added some condition to it. Is it working on your side? maybe i doing it wrong
function my_gwolle_gb_header_text( $header_text ) { // $header_text is a string // value from the settings page: //$header_text = gwolle_gb_sanitize_output( get_option('gwolle_gb-header', false) ); // default text if no setting was saved: //$header_text = esc_html__('Write a new entry for the Guestbook', 'gwolle-gb'); if ( is_page( 251583 ) ) { $header_text = 'Wish the couple'; return $button_text; } else if ( is_page( 251709 ) ) { $header_text = 'Leave your wishes'; return $button_text; } return $header_text; } add_filter( 'gwolle_gb_header_text', 'my_gwolle_gb_header_text', 10, 1 );Forum: Plugins
In reply to: [Gwolle Guestbook] custom header text for only 1 pagehi i’ve tried the filter. its not working. The form still showing the default text that been set on plugin setting.
Forum: Plugins
In reply to: [Gwolle Guestbook] Edit button text for specific guestbookIts worked perfectly!! Thanks alot. Really appreciate the fast reply
Forum: Plugins
In reply to: [Gwolle Guestbook] Allowing double entriesthanks a lot. its worked
Viewing 5 replies - 1 through 5 (of 5 total)