Quote:
Originally Posted by magneto664
- with part content from xml is go to spinner?
|
All parts of the post (the post contents, the title and the excerpt) will be spun/synonymized it you select the appropriate option in the feed settings.
Quote:
Originally Posted by magneto664
- how to add gender to tag
|
1) Add the following line to the "
Custom fields" box:
2) Put this code into the "
PHP code <?php .. ?>" box:
Code:
if ($post['custom_fields']['gender'] == 's') {
$post['tags_input'][] = 'Shemale';
}
if ($post['custom_fields']['gender'] == 'm') {
$post['tags_input'][] = 'Male';
}
if ($post['custom_fields']['gender'] == 'f') {
$post['tags_input'][] = 'Female';
}
if ($post['custom_fields']['gender'] == 'c') {
$post['tags_input'][] = 'Couple';
}
If you want to use the cam site model sex as a WordPress post category, you should use this code:
Code:
if ($post['custom_fields']['gender'] == 's') {
$post['categories'][] = 'Shemale';
}
if ($post['custom_fields']['gender'] == 'm') {
$post['categories'][] = 'Male';
}
if ($post['custom_fields']['gender'] == 'f') {
$post['categories'][] = 'Female';
}
if ($post['custom_fields']['gender'] == 'c') {
$post['categories'][] = 'Couple';
}
So every gender will go to its own category. Also you can filter out the model by sex. E.g.
Code:
if ($post['custom_fields']['gender'] != 'f') {
$post = false;
}
So only female profiles will be added to your site. Everything else will be ignored.