[Resolved] Query Loop + Taxonomy: Not rendering all results

Home Forums Support [Resolved] Query Loop + Taxonomy: Not rendering all results

Home Forums Support Query Loop + Taxonomy: Not rendering all results

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #2503205
    Tom

    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.

    View post on imgur.com

    Can’t figure out WHY no more than one post of each is appearing in OPEN and Closed.

    Thank you for any help!

    #2503292
    Tom

    I 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.

    #2503328
    David
    Staff
    Customer Support

    Hi 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/

    #2503348
    Tom

    David – 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?

    #2503370
    Tom

    I 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?

    #2503688
    David
    Staff
    Customer Support
    #2507191
    Tom

    David,

    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!

    #2507371
    David
    Staff
    Customer Support

    How are you adding the Custom Fields to the site ?

    #2507384
    Tom

    ACF – 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.

    #2507412
    David
    Staff
    Customer Support

    Can i take over that page you’re currently editing ?

    #2507414
    Tom

    Sorry – I am out of it now. (yes)

    #2507422
    David
    Staff
    Customer Support

    Ok, select that block and change its Dynamic Data to:
    CONTENT SOURCE -> List of Terms
    TAXONOMY -> Position Open or Closed

    #2507430
    Tom

    Excelsior!!
    Did you change any settings? Or was it just the fact I was not picking the correct content source?

    Thank you very much!

    #2507464
    David
    Staff
    Customer Support

    I made no changes.
    Its just the content source had to change.

    You’re welcome

    #2507488
    Tom

    Awesome – 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!

Viewing 15 posts - 1 through 15 (of 16 total)
  • You must be logged in to reply to this topic.