Desarrollo Web Posted July 26, 2022 Share Posted July 26, 2022 Hi, we see that when we add a category description it appears in the meta decription of the code (<meta name="description) Is there a way to add that description in the individual category page? Y see it uses Common Content List. Can we add a code so it shows the description in each language? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Tech Support Posted July 26, 2022 Share Posted July 26, 2022 I'm not sure I get your questions clearly. Do you mean if it is possible to show different description for different categories? That would be possible, but better create a ticket for us to add it, since the code explanation is quite difficult. Then I didn't get completely your question about each language. Do you mean you have multiple languages and you want custom description of each category to be translated to each language? That won't be supported at the moment. It is possible to translate the MAIN description to each different language, but if I get your question correctly, you want to show customized description for each category (this will use custom text fields) and then translate it to each language (this is not supported because custom fields do not support localization). Quote Link to comment Share on other sites More sharing options...
Desarrollo Web Posted July 29, 2022 Author Share Posted July 29, 2022 We just want the SEO description to appear as text in each category for the viewers to see (right now only robots can see it). I know we could create a block but that wouldn't be as autiomatic. As the description is translated in "Texts" we would like it to appear translated. Is that possible? Quote Link to comment Share on other sites More sharing options...
Tech Support Posted July 29, 2022 Share Posted July 29, 2022 If you want to have HTML meta description to be displayed on page and visible for users, you can add the following code into page template: {{if $page_description}} <div>{{$page_description|mb_ucfirst}}</div> {{/if}} If you want this to happen only for category pages and you mean Common Content List page of the paysite theme, then you need to wrap this code like this: {{if $page_description && $storage.list_videos_common_videos_content_list.list_type=='categories'}} <div>{{$page_description|mb_ucfirst}}</div> {{/if}} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.