Forum Replies Created

  • Apologies, I don’t make sense to myself either!
    What I have (on the backend) is a ACF Taxonomy field call “selecttaxonomy” which is a dropdown of EDD categories and I can pass this into a php that lists what products are under that category but this means changing the backend every time as you can’t get the taxonomy field to be a choosable field (dropdown, checkbox, anything) on the front end.

    I then created a seperate dropdown and have tried to pass the choice into the original php code but can’t.
    As for the <form> command, I got the code from the Codex & haven’t got a clue what it does!

    I hope thia makes more sense this time.

  • Hi there Beee,
    I don’t know – I thought the form was just the drop down box (does it show I’m still learning?).
    Both parts of the script are in a single template (php) file, both parts work pefectly on thier own (the drop down & the products) they just refuse to talk to each other.

    Again, I hope this makes sense.

  • Hi there,
    On the first question; I can get the numeric id of the download_category but, for the life of me, I can’t get the text (either the title or slug).

    Thanks for the link but it’s beaten me -what do I change?
    Do I need the javascript (I don’t want to change the url)?
    How do I show the related fields (thumbnail, title & button)?
    All I’m getting is a blank screen.

    My page is: all I want is a dropdown box or a checklist instead of the “115”
    Sorry to be such a pain.

  • Hi John,
    1) This dosn’t work (it displays nothing):

    $term = get_field('selecttaxonomy');
    if( $term ): ?>
    	<h2><?php echo $term->name; ?></h2>
    	<p><?php echo $term->description; ?></p>
    <?php endif; ?>

    Am I missing something?

    2) I’ve already looked at this and didn’t understand it then either! Is there a tutorial video?
    ('meta_value' => 'Melbourne' Melbourne is still typed in and not the selected value of the field)

    3) Sorry, my bad english.
    What I want is for the taxonomy field to be a (selectable) drop down list on the front end instead of just the backend.

    Many thanks

  • Hi there,

    I was just about to ask the same question – have you had any luck yet?


Viewing 5 posts - 1 through 5 (of 5 total)