Open DamChtlv opened 1 year ago
In this code: https://github.com/Pilot-in/PiloPress/blob/ff1e79e67cf9abd6ce5e1fce4b087d8a094f44da/includes/classes/admin/editor/class-shortcodes.php#L184-L187
Should take example of the wp_get_document_title() function code for this shortcode:
wp_get_document_title()
Have something like:
if ( is_search() ) { $title = sprintf( __( 'Search Results for “%s”' ), get_search_query() );
In this code:
https://github.com/Pilot-in/PiloPress/blob/ff1e79e67cf9abd6ce5e1fce4b087d8a094f44da/includes/classes/admin/editor/class-shortcodes.php#L184-L187
Should take example of the
wp_get_document_title()
function code for this shortcode:Have something like: