getting article name in article without other info

  • mjl1817
  • Topic Author
  • Visitor
  • Visitor
6 years 6 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.157 seconds
Powered by Kunena Forum
FaLang translation system by Faboba