- This topic has 15 replies, 2 voices, and was last updated 1 year, 2 months ago by David.
-
AuthorPosts
-
January 20, 2023 at 9:40 am #2503205Tom
Hi,
Good morning.I created a Query Loop that relies on Taxonomies to display.
I did this for both OPEN positions and not-Open positions. (Open and Closed)
However – only ONE post of each type appears – even though I have “10” in each of the Query Loop
“Posts Per Page” parameter.Can’t figure out WHY no more than one post of each is appearing in OPEN and Closed.
Thank you for any help!
January 20, 2023 at 10:50 am #2503292TomI have figured it out. :^)
I really was not understanding the role of some of the taxonomy settings. I had radio buttons IN my Custom Fields – when I really needed check boxes in my Taxonony area
I still really want the radio buttons – within the custom field – to work. But I guess it is not set up to do that. Or I did not set it up properly.
January 20, 2023 at 11:15 am #2503328DavidStaffCustomer SupportHi there,
glad to hear you found the issue.
For regulat taxonomies i have used this plugin for radio buttons:
https://en-gb.wordpress.org/plugins/radio-buttons-for-taxonomies/
January 20, 2023 at 11:43 am #2503348TomDavid – thanks for the response.
Follow-up question:
Can a taxonomy exist ONLY in a Custom Field and not ALSO in a meta-box?To me – I do not understand why a Taxonomy cant be controlled by a Custom Field alone.
Thoughts?January 20, 2023 at 12:20 pm #2503370TomI have the taxonomy in the Custom Fields.
It also appears in the Meta Box area.
I can control the taxonomy in the Custom Field.
Is there any way to hide the Meta Box?
January 21, 2023 at 2:19 am #2503688DavidStaffCustomer SupportMaybe this explains whats required?
https://brianshim.com/webtricks/remove-meta-box-from-gutenberg-editor/
January 24, 2023 at 7:44 am #2507191TomDavid,
I apologize for reopening this – but have a related issue.
Taxonomies are categorizing properly. However – the taxonomy itself is not rendering the NAME of the Taxonomy. Something that I have mistakenly thought would be a default function.
When I call the I call the post_meta: job_status – I was expecting to get the Taxonomy Names returned “Position Open” or Position Closed”.
Instead – I get the Taxonomy ID’s (38 for open, and 39 for closed).
CPT offered some code in their thread (link listed privately below)
But not understanding it the code offered is correct – or where it goes.
Was hoping you could look at the info and point to where I need to add code.Thank you!
January 24, 2023 at 7:55 am #2507371DavidStaffCustomer SupportHow are you adding the Custom Fields to the site ?
January 24, 2023 at 8:04 am #2507384TomACF – but the fields, now, do not include the taxonomy. Which I decided was easier to stop fighting the Custom Field Vs. Meta Box battle from earlier in the thread…
The ACF are called by a Query Loop on a page.
January 24, 2023 at 8:16 am #2507412DavidStaffCustomer SupportCan i take over that page you’re currently editing ?
January 24, 2023 at 8:17 am #2507414TomSorry – I am out of it now. (yes)
January 24, 2023 at 8:22 am #2507422DavidStaffCustomer SupportOk, select that block and change its Dynamic Data to:
CONTENT SOURCE
->List of Terms
TAXONOMY
->Position Open or Closed
January 24, 2023 at 8:27 am #2507430TomExcelsior!!
Did you change any settings? Or was it just the fact I was not picking the correct content source?Thank you very much!
January 24, 2023 at 8:53 am #2507464DavidStaffCustomer SupportI made no changes.
Its just the content source had to change.You’re welcome
January 24, 2023 at 9:10 am #2507488TomAwesome – I had been following a great YouTube video, and it never dawned on me to deviate from the instructions. I appreciate you taking the time to take a look. I am really enjoying GP and am thinking the learning curve will smooth out soon. Really learning a lot.
Thanks David!
-
AuthorPosts
- You must be logged in to reply to this topic.