View Single Post
Old 07-02-2017, 05:36 AM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,332
Quote:
Originally Posted by magneto664 View Post
- 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 View Post
- how to add gender to tag
1) Add the following line to the "Custom fields" box:

Code:
gender->gender
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.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote