Hi Smartola,
You can make this edit from engrave-lite\admin\main\options\1.general-settings.php
Thanks
Thank you! Could you help me again? What I have to change in the code?
Hey Smartola,
Find the function thinkup_title_select() from the engrave-lite\admin\main\options\1.general-settings.php. Replace the function with the following code:
function thinkup_title_select() {
global $post;
if ( is_page() ) {
printf( __( '%s', 'lan-thinkupthemes' ), get_the_title() );
} elseif ( is_attachment() ) {
printf( __( 'Blog Post Image: %s', 'lan-thinkupthemes' ), esc_attr( get_the_title( $post->post_parent ) ) );
} else if ( is_single() ) {
printf( __( '%s', 'lan-thinkupthemes' ), get_the_title() );
} else if ( is_search() ) {
printf( __( 'Search Results: %s', 'lan-thinkupthemes' ), get_search_query() );
} else if ( is_404() ) {
printf( __( 'Page Not Found', 'lan-thinkupthemes' ) );
} else if ( is_category() ) {
printf( __( '%s', 'lan-thinkupthemes' ), single_cat_title( '', false ) );
} elseif ( is_tag() ) {
printf( __( 'Tag Archives: %s', 'lan-thinkupthemes' ), single_tag_title( '', false ) );
} elseif ( is_author() ) {
the_post();
printf( __( 'Author Archives: %s', 'lan-thinkupthemes' ), get_the_author() );
rewind_posts();
} elseif ( is_day() ) {
printf( __( 'Daily Archives: %s', 'lan-thinkupthemes' ), get_the_date() );
} elseif ( is_month() ) {
printf( __( 'Monthly Archives: %s', 'lan-thinkupthemes' ), get_the_date( 'F Y' ) );
} elseif ( is_year() ) {
printf( __( 'Yearly Archives: %s', 'lan-thinkupthemes' ), get_the_date( 'Y' ) );
} elseif ( is_post_type_archive( 'portfolio' ) ) {
printf( __( 'Portfolio', 'lan-thinkupthemes' ) );
} elseif ( is_blog() ) {
printf( __( 'Blog', 'lan-thinkupthemes' ) );
} else {
printf( __( '%s', 'lan-thinkupthemes' ), get_the_title() );
}
}
Hope this will help.
Thanks
It give me this error Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /web/htdocs/www.recensionigustose.it/home/blog/wp-content/themes/engrave-lite/admin/main/options/01.general-settings.php on line 360