Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title MetaTag #33

Open
Jarievilo opened this issue Sep 30, 2011 · 1 comment
Open

Title MetaTag #33

Jarievilo opened this issue Sep 30, 2011 · 1 comment

Comments

@Jarievilo
Copy link

We may have the option to change how the title meta tag is built.
Now in detail page you have

This function will write "$category_name + Title Name of the link" .
I want to delete the category_name form the title metatags.
how to do that?

@dodyw
Copy link
Owner

dodyw commented Oct 4, 2011

There is two methods:

  1. Admin panel > Pages > detail page [edit]. In 'title' field, put value
    {title}

  2. Edit d.php, see this section:

  // html head

  if ($page['page_title']) {
    $lep->head['title'] = str_replace('{title}',$res['title'],$page['page_title']);
  }
  else {
     $lep->head['title'] = $cat_path . ' / ' . $res["title"];
  }

Remove the $cat_path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants