Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
First thing is to decide how you want to manage the text underneath the circles.
Have you thought about having a custom field when you go to edit the post that holds 1 word?
Thread Starter
4dro1d
(@4dro1d)
I have no idea how to do this because I’ve not much experience…
Is there any chance?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
That part looks doable so far: http://snag.gy/U4xPb.jpg – using this plugin: http://wordpress.org/plugins/types/screenshots/
I’m sure the rest is doable too but haven’t got that far yet.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Yep just did it.
Can you start by downloading that plugin: http://wordpress.org/plugins/types/ ?
Thread Starter
4dro1d
(@4dro1d)
Have it already but dont know what to do :S
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Can you get this page up http://snag.gy/CxOrX.jpg ?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Click on “Add a custom fields group”.
Then in this page http://snag.gy/m2WLZ.jpg do the following:
- In “Enter group title” write “Additional text”;
- Leave “Enter a description for this group” as it is;
- In “Available fields” press on “Single line” [screenshot].
Then you’ll be taken to this part of the page: http://snag.gy/iaCyv.jpg
Give us a shout when you reach that.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Then do the following underneath that “Fields” section you’ve just reached:
- In “Enter field name” write “Extra word”;
- Leave “Enter field slug” as it is;
- In “Describe this field” write “The text to go underneath each circle”.
Leave the rest of the options and press this save button: http://snag.gy/oFXuO.jpg
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Now can you go to one of your posts and edit it?
You should be able to see a new section of that edit screen called “Additional text” [screenshot].
In that section can you add an extra word and then save your post?
Thread Starter
4dro1d
(@4dro1d)
Yes that’s right. But nothing happened…
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
The next stage is to add some code into the content-home.php file so that it grabs this, “Extra word” field for each circle and displays it on the website.
Do you have this file in your Child Theme at the moment?
Thread Starter
4dro1d
(@4dro1d)
No. I’ve only style.css
But I can make the changes at the normal content-home.php …