getting article name in article without other info

  • mjl1817
  • Auteur du sujet
  • Visiteur
  • Visiteur
il y a 9 ans 8 mois #3457 par 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?

Connexion ou Créer un compte pour participer à la conversation.

Temps de génération de la page : 0.118 secondes
Propulsé par Kunena
FaLang translation system by Faboba