There is no way to cause your permalink structure to be reflected automatically in the title tag. Instead, you must create it yourself. This might get you started: (I had to make a lot of assumptions in this code.)
function my_title() {
$post = get_queried_object();
$locations = wp_get_object_terms( $post->ID, 'location' );
$mba_courses = wp_get_object_terms( $post->ID, 'mba_courses' );
$postname = $post->post_title;
$location = $locations[0]->name;
$mba_course = $mba_courses[0]->name;
return "$postname | $location | $mba_course";
}
Then, in your single post template:
<title><?php echo my_title(); ?><title>
Related Posts:
- How to get permalink and title from post ID?
- How to prevent apostrophes and quotes from appearing in permalinks?
- CPT Post Title Permalink: Replace “@” (or all special characters) with dash “-” instead of just removing
- Does changing a post title of a published post automatically change permalink?
- Title attributes on Permalinks for posts and products
- Echo title with permalink
- How to Custom Edit Post Title & Permalink Slug?
- Do shortcodes in title before permalink is generated
- Change Image depending on page path
- How to update permalink on the fly?
- [Plugin leenk.me]modify get_the_title
- Why is “/page/2/” not working?
- Is the permalink structure /%post_id%/%postname% faster or slower than just /%postname%?
- Why would Numeric permalinks work, but %postname% won’t?
- Passing variables through permalink structure
- Remove subfolders from URL
- Why does WP not use relative links when linking pages?
- htaccess or redirect to cloak portion of a link?
- What is the action or filter for changing permalink in Edit Post/Page?
- WordPress Permalinks %postname% for RSS2 Feed URL
- generate custom permalink based on a custom field
- How to get wordpress link to fully evaluate when coming from facebook
- Is using %postname% for permalinks really that bad for performance?
- Getting links to work the same on development and production
- Change author slug and functionality
- Changing search URL to something other than “search”
- Setting up two separate blogs while using WordPress as a CMS
- Changes to .htaccess not updating the file (old rules still take effect)
- Moving local wordpress page to a real server subdomain broke my permalinks?
- next_posts_link URL does not include name of custom post type
- Media Gallery Images – safe to change permalink?
- Possible to remove taxonomy from permalink if uncategorized?
- WordPress disallows changing page to a specific permalink
- Custom permalink leads to index page
- How to eliminate permalink prefix in WordPress Multisite
- wp not making CPT permalink / slugs unique
- 404 when going to /blog
- WordPress keeps giving me the wrong permalink
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- WordPress permalink prefix
- Hierarchy of Subcategories on Permalink (bug?)
- Strange Anchor Tag Behavior (in-page links work, external pages do not) [closed]
- How to test custom rewrite rules /permalinks?
- Add a filter to get_comments_link()
- RSS feed link on archives page not working
- Order custom post type posts by custom field with pretty URL
- Show category name in the post URL only for specific categories
- post permalinks with dot in url don’t resolve to correct page template
- After cloning WP do a subdirectory, I can’t access it
- How to use page jumps to top of banner and page title?
- Permalinks problem woocommerce no separating slash between categories
- how to get permalink
- Protect Post Permalink From Copy
- Change permalink to attachment
- WordPress Page Not Found if Permalink Settings is Postname
- Main blog page works but title says Page not found
- How to translate “Permanent link to” text
- WordPress permalink change causes all incoming links to give 404 errors
- WP as a CMS menu
- Subdomains pointing to a permalink URL
- Change author permalink using htaccess?
- WordPress Posts forced to load as Uncategorized
- replicate url permalink after migrating to wordpress
- I need to change the attribute of the isPermaLink guid in the WordPress RSS feed – from false to true
- Shortlinks work only for logged in users
- Modify post slug before saving
- Changing permalink for blog posts, current structure www.website.com/blog-post, change to, www.website.com/blog/blog-post
- Does wordpress take care of slug collisions?
- Permalink refresh, the good, the bad, etc. What is best?
- WordPress permalink not working on subdomain
- Fatal Error when trying to load Permalinks page on WP admin [closed]
- Cannot publish posts or pages when I change permalink structure
- Add /blog prefix for all WordPress front end url
- Remove Permalink of certain posts
- Bulk update set of URLs via SQL
- How to find a page in admin based on it’s permalink
- rebuilding/ rewriting a url to make it SEO friendly
- Very strange behaviour related to htaccess and custom posts and custom posts substrings (BUG?)
- Permalink change during save of post
- Changed Permalinks settings, how do I redirect posts on Nginx?
- Choose permalink on a per-post basis?
- where is the media permalink info stored in database?
- How to put articles under a /blog directory?
- Category-dependent custom permalink
- Pretty permalinks (again)
- How can I get WordPress CPT archives and page templates to work with prettified permalink settings?
- Passing user defined variable into get_permalink
- WordPress Archives Cause Looping
- Is there a way to add slug to home_url on this function?
- Customized author slugs not working with get_author_posts_url method
- Custom rewrites for pages and categories
- region selection
- Redirecting From An Old Permalink Structure
- How to change my URL on intranet
- Error: “Sorry, this content could not be embedded” when using the Embed block
- WordPress Permalinks 404 Not Found
- WordPress not remembering old slugs for pages
- make a new structure tag that does some processing
- Website appears with wrong permalink in Google’s search