Home Forums General Issues Display value for taxonomy in template Reply To: Display value for taxonomy in template

  • Thanks Elliot for your response,

    I gave it another go but I am just not getting it, I have only basic PHP skills and can’t seem to wrap my head around such a simple problem.

    I now get the following error:
    Catchable fatal error: Object of class stdClass could not be converted to string in DIRECTORY/FILE

    A dump gives me this:
    object(stdClass)#436 (10) { ["term_id"]=> int(9) ["name"]=> string(8) "Test Term" ["slug"]=> string(8) "test_term" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(9) ["taxonomy"]=> string(18) "test_taxonomy" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(0) ["filter"]=> string(3) "raw" }

    Note I am using “Test Taxonomy” and “Test Term” while I practice.

    Are you aware of any simple guide/tutorial on the net that might assist me with some simple setup steps? I don’t want to waste anybodies time on here if I can help it.

    I appreciate your assistance so far.

    Edit: WP 3.8 & ACF 4.3.4