Keyword

Append Article Page Title based on K2 Category

  • Chris Casconi
  • Chris Casconi's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #122170 by Chris Casconi
Append Article Page Title based on K2 Category was created by Chris Casconi
Is there a way to append a page title based on an article's category? I'd like to able to set each of my articles categories to have a certain set up follow up words after the page title is listed, but before the site title is listed. For example:

Category 1
Article Page Title - Description about page title in category 1 | Site name

Category 2
Article Page Title - Description about page title in category 2 | Site name

I'd like to have the category descriptions to be different for each category.

Any help is appreciated.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122171 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Append Article Page Title based on K2 Category
Do you mean the meta description or the page heading?

You can manually set page headings, browser titles and meta tags through your menu item's params.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Chris Casconi
  • Chris Casconi's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #122172 by Chris Casconi
Replied by Chris Casconi on topic Re: Append Article Page Title based on K2 Category
I mean the browser Page Title.

I'm looking for a way to make this automatically happen. Not edit every page title manually.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122173 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Append Article Page Title based on K2 Category
You need an SEO extension for this or even better look for a K2 plugin at the JED or getk2.org/extend.

It is possible if you have the knowledge to do this on your template overrides.

If you follow the directions on this page: docs.joomla.org/Customising_the_dynamic_page_title you can learn on how to customise the page title.

You can use this snippet in your template's item.php and add the K2 elements to the title.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Chris Casconi
  • Chris Casconi's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago #122174 by Chris Casconi
Replied by Chris Casconi on topic Re: Append Article Page Title based on K2 Category
I'm using sh404sef. Would this work?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122175 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Append Article Page Title based on K2 Category
I am not sure.

You can ask them, and also ask if they have a plugin for that as well. sh404sef has a lot of functionality and it is possible it can do this out of the box.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum