In this short tutorial I will show you how to create a Simple Fields-box on your page edit screen. It will that displays some options related to the article.
The end result will look like this:
Step 1: set up a field group
The first thing we do is go to Simple Fields admin and choose to create a new field group.
We give the field group a suiting name, like “Options” – this is the name that later will be shown on the page edit screen.
After that we just add all the fields that we want and you should end up with something like this:
Now click “Save Changes” and you’ll return to the main Simple Fields admin screen.
Step 2: setup a post connector
Next we need to create a post connector, so click “New post connector”.
Give the new post connector a name, preferable something that explains in what context it will be used. I’ll name it “Regular post”, because I want to use this connector for regular posts.
Now choose “Options” from the add-field-group-dropdown to add our previosuly added field group to this connector.
Lastly click check “page” under “Available for post types”. This makes this connector available for all our pages.
Now click “Save Changes” to return to the main screen again.
Step 3: setup post type default
Now let’s do one final thing in the Simple Fields admin: set a default connector for a post. Under “Post type defaults” click “Pages” and choose “Regular post” in the dropdown. Save and return to the main screen again.
…and we’re done
After returning to the main Simple Fields screen, it should look like this:
Let’s se our result
Now let’s go and create a new page. You should see a new box called “Options” that contains all the fields that we added previously.