Does anybody know if I can make the $taxonomy variable display the actual data and not just "array"?

Thanks you

Comments

Heine’s picture

Either implode the array with a chosen delimiter:

  $taxonomy_delimited = implode(' | ', $taxonomy);
  print $taxonomy_delimited;

(this is similar to print $terms;)

or foreach over the array:

  foreach ($taxonomy as $taxonomy_item) {
    // Some more markup here
    print $taxonomy_item;
  }

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

slayerment’s picture

Awesome, that works perfectly! Thanks!