Jump to content

Remove category name from record titles in database

Featured Replies

Posted

is there way where I can have the Seo titles for pages without the category names?

Capture.PNG

In the above example I want to remove the word Medical which is a category name

  • Author

BUMP... Anyone please?

  • Community Expert

Yes. You can override the default sharer title like this:

{{\IPS\Output::i()->metaTags['og:title'] = $record->_title;}}

In this example, one would put in the record display template, only the record name would be used. Customize it however you like it. 

Edited by opentype

  • Author
On 5/15/2016 at 5:27 PM, opentype said:

Yes. You can override the default sharer title like this:


{{\IPS\Output::i()->metaTags['og:title'] = $record->_title;}}

In this example, one would put in the record display template, only the record name would be used. Customize it however you like it. 

where do i edit this?

thanks in advance

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.