Found in story.php file:
Code:
// meta tags
$main_smarty->assign('meta_description', strip_tags($link->truncate_content()));

![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Does anyone know how to set a limit for the meta description tags for stories? Currently it is pulling info from the summary, but the descriptions are basically pulling the entire summary in the description tag. I want to limit this to say around 75 characters. I think this is the code I need to adjust, but not sure how to place a limit on it: Found in story.php file: Code: // meta tags
$main_smarty->assign('meta_description', strip_tags($link->truncate_content()));
|
| |||
| I know this is old, but if anyone else is wondering: go to submit_step_2.tpl (in the folder of whatever template you're using) and find the line: <input type="text" id="tags" name="tags" value="{$tags_words}" size="60" maxlength="40" /> Change 40 to whatever you want. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can set minimium limit character | oigmax | Questions and Comments | 2 | 02-23-2009 12:06 PM |
| Tags not cloud in Pligg v9.9 | bhatiacane | Questions and Comments | 4 | 05-03-2008 03:16 AM |
| set a minimum limit on tags? | abraxas | Questions and Comments | 0 | 03-05-2008 07:13 PM |
| Character limit on description field | projectman | Questions and Comments | 4 | 11-02-2007 11:08 PM |
| Problem with handling of 'n' character in description | iPodness | Questions and Comments | 2 | 09-15-2007 09:11 AM |