How do I fix title? [closed]

Usage of wp_title() is not recommended anymore. Instead, you can add the title-tag support to your theme, so WordPress can automatically build and output the proper title for you. Here’s how to do it: add_action( ‘after_setup_theme’, ‘wpse302145_add_title_tag’ ); function wpse302145_add_title_tag() { add_theme_support( ‘title-tag’ ); } This piece of code goes in your theme/child-theme’s functions.php file. … Read more

Why is a category/ tag name prefixed to title of every page?

I’ve found the cause. All in one SEO Pack plugin 1.6.14.5 is guilty (perhaps it’s not guilty by itself but also due to the multisite setup of my site and other plugins I’ve just installed conflicting it). Disabling the plugin resolve the problem immediately. I’m upgrading it and will use an alternative if it doesn’t … Read more

change title separator

Yes, everything is simple, there is a standard wordpress options and settings of the SEO plugin, I’m involved in the standard settings, a vertical divider as to remove it entirely from the functions of the theme?

wp_title() returns ‘page not found’ on page 2

Seems like the title was fetched before the query, and therefore didn’t fetch the custom posts. Had to add a pre_get_posts to my functions.php to make it work: add_filter( ‘pre_get_posts’, ‘my_get_posts’ ); function my_get_posts( $query ) { if ( is_home() && $query->is_main_query() ) $query->set( ‘post_type’, array(‘theory’, ‘tasks’, ‘tutorials’, ‘video’, ‘interactive’) ); return $query; }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)