getting article name in article without other info

  • mjl1817
  • Topic Author
  • Visitor
  • Visitor
9 years 8 months ago #3457 by mjl1817
I use the following code to call up the title of an article within the article
$title = $document->getTitle() . ' is a ' ; echo $title; echo " ";

It works, however it also calls up the city & category so what I end up with is >>City name: article title (article category)<< but I only want the title.

Is this something you have programmed that adds the information to the title in the database? Would you happen to have a snippet that would fix this?

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

Time to create page: 0.138 seconds
Powered by Kunena Forum
FaLang translation system by Faboba