Skip to content

Instantly share code, notes, and snippets.

@ahmadnaser
Last active May 3, 2018 12:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmadnaser/e8c2e01c4b391cb38d69aa9c678cacc7 to your computer and use it in GitHub Desktop.
Save ahmadnaser/e8c2e01c4b391cb38d69aa9c678cacc7 to your computer and use it in GitHub Desktop.
in the end </head> of template folder, go to the selected theme index.php and apply following code
///Developed By Ahmad Naser Turnkey Solutions LLC - Greenbackend.com
///http://greenbackend.com/developer-hosting
///www.greenbackend.com
// www.khottah.com
///greenbackend@ahmadnaser.com
///copyright © 2018 ANTS LLC. All rights reserved.
<?php
//remove dash in title
$pageTitle = $this->getTitle();
$pageTitle = str_replace("-","",$pageTitle);
$pageTitle = str_replace("أشهر موقع أعلانات في الكويت","",$pageTitle);
/public_html/templates/jcultimate/index.php
$doc->setTitle($pageTitle );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment