Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
Thread Tools Search this Thread Display Modes
Old August 15th, 2011, 11:58 AM
redspan redspan is offline
Join Date: Feb 2009
Posts: 83
Question Creating unique but shortened Category meta tag descriptions

I can see how the text entered in the description box for the category gets used to create the meta tag description, but if my category descriptions on the page are 200-300 words long I just want to use 60 words in the meta field.

Do I have to create new views for every category in order to do this?
Old August 15th, 2011, 12:03 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
Join Date: Feb 2008
Posts: 16,902

No, you can use a PHP function in your head area to limit the long description to just 60 characters.

Replace [category.description] with <?php echo substr($category->description, 0, 60); ?>
Old August 15th, 2011, 12:25 PM
redspan redspan is offline
Join Date: Feb 2009
Posts: 83

Excellent. Thank you Eric.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No Meta Data and Category Desciption on Default Category Page View cashnow Problems 5 February 4th, 2011 11:08 AM
how to assign unique meta keyword, titles, desc to categories whkchan Questions 7 January 18th, 2011 11:04 AM

All times are GMT -5. The time now is 11:14 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.