[Resolved] Simple fields assign to category
thank you for this great plugin. Even i don’t know anything bout php i managed it to create a custom side.
Now my problem: i nserterted the code
$selected_value = simple_fields_get_post_value(get_the_id(), array(1, 4), true);
echo “Anbieter: $selected_value </br>”;
// outputs: “Anbieter: “;
into my single.php.
Works fine, but now it is on every Post, even its not filled out. How can i assign this only to a specific categoryusing the code above?
Thanks in advance.
- The topic ‘[Resolved] Simple fields assign to category’ is closed to new replies.