Osclass forums

Support forums => Tips, tricks, and tutorials => Topic started by: mrtsoftware on January 26, 2018, 12:25:07 pm

Title: Into which file Functions for Meta Description and Keyword on Osclass
Post by: mrtsoftware on January 26, 2018, 12:25:07 pm
Into which file functions for meta description and Keyword on Osclass...

Osclass is inserting / pulling auto description, keywords into META area of HEADER when an item listed...from which file Osclass is getting this function? Theme function file or Osclass core files...etc...
I need to know name and path of file...

Title: Re: Into which file Functions for Meta Description and Keyword on Osclass
Post by: Aficionado on January 26, 2018, 03:49:24 pm
Osclass functions.php

function meta_title()

Title: Re: Into which file Functions for Meta Description and Keyword on Osclass
Post by: mrtsoftware on January 26, 2018, 05:45:43 pm
oc-includes/osclass/functions.php

is that one?
Title: Re: Into which file Functions for Meta Description and Keyword on Osclass
Post by: Aficionado on January 26, 2018, 05:52:46 pm
Yes.
Title: Re: Into which file Functions for Meta Description and Keyword on Osclass
Post by: mrtsoftware on February 05, 2018, 03:37:09 pm
I have done some replaments ( just changed place of codes ) , no affecting.... nothing changing in META description and keywords...
Title: Re: Into which file Functions for Meta Description and Keyword on Osclass
Post by: digitalsense on April 01, 2018, 02:47:14 pm
I have done some replaments ( just changed place of codes ) , no affecting.... nothing changing in META description and keywords...

For meta description just before this line 182 in functions.php
return (osc_apply_filter('meta_description_filter', $text));
 
add following one according to your requirement
 
//incase you want to extend description
$text .= "Your description";
//incase you want to replace the description
$text = "Your text";