The code must be placed into the "PHP code <?php .. ?>" box of the feed which shall modify the All-in-One-SEO post fields.
Actually the code above is just an example. You can modify it to add your own keywords, and/ or modify the All-in-One-SEO post title and description strings. You can do with it whatever you want.
1:10 pm
Login to see the quote
I'm using Wordpress SEO. I manage to fill the custom field for "focus keyword", but not meta description. I try changing strip_tags($post['excerpt']) to $post['post_'excerpt']; but it doesn't work. Would you please tell me how to fill the meta description? Thanks
Login to see the code
4:03 pm
Warning: implode() [Login to see this link]: Invalid arguments passed in /home/xxx/public_html/wp-content/plugins/CyberSEO/cyberseo-core.php(0) : runtime-created function on line 14
Warning: implode() [Login to see this link]: Invalid arguments passed in /home/xxx/public_html/wp-content/plugins/CyberSEO/cyberseo-core.php(0) : runtime-created function on line 14
Warning: implode() [Login to see this link]: Invalid arguments passed in /home/xxx/public_html/wp-content/plugins/CyberSEO/cyberseo-core.php(0) : runtime-created function on line 14
I get these errors when using
$post['custom_fields']['_aioseop_title'] = $post['post_title']; $post['custom_fields']['_aioseop_description'] = strip_tags($post['excert']); $post['custom_fields']['_aioseop_keywords'] = implode(",", $post['categories']); Can you help me out?
Most Users Ever Online: 541
Currently Online: Gumby
29 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2855
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1642
Posts: 8358
Newest Members:
samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetwork, contact.mybeautystarAdministrators: CyberSEO: 3950