Pull Out Title and Description Information
Hi, I▓m looking for a way to pull the title and meta description information from pages without surrounding code (such as <meta name="description"...), is there a way to do that?
|
Re: Pull Out Title and Description Information
When you say "pull" what do you mean?
Where do you want to put it after you "pull" it? It's just a smarty tag. Place the smarty tag wherever you want on the page. You do NOT have to use <meta name="description"...) |
Re: Pull Out Title and Description Information
If you just want to collect the Title and Meta Desc value, you can pull it from database.
And if you want to place the same value if the site, you need to edit tpl files |
Re: Pull Out Title and Description Information
You can export products - That information is in the export file (along with other stuff)
|
Re: Pull Out Title and Description Information
Thank you for the answers guys. I▓ll be more specific. What I want to do is to include a product Title into its Meta Description (without deleting the description itself), for example:
Before: Code:
<title>This is My Product</title> After: Code:
<title>This is My Product</title> I see: Code:
{get_title page_type=$meta_page_type page_id=$meta_page_id} Code:
{meta type='description' page_type=$meta_page_type page_id=$meta_page_id} |
Re: Pull Out Title and Description Information
You will have to modify the smarty function to do that - include/templater/plugins/function.meta.php
|
Re: Pull Out Title and Description Information
This would probably be easier to do by exporting all your products, removing all columns from the result except for productid and description then add the meta to each of the descriptions (in the editor or excel) and reupload/import.
|
Re: Pull Out Title and Description Information
If you do this make sure to keep clean_urls column with existing values or XC will create new ones for all imported products.
|
Re: Pull Out Title and Description Information
Thank you guys for help, I think I▓ll just go with export/import variant.
|
All times are GMT -8. The time now is 10:08 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.