Get array value

I think you messed up a bit. I’m assuming you’re using the ACF plugin because you used the_field().

Have you tried only the_field('titdesc'); if you’re in the WordPress loop? Those functions already query values stored in your postmeta table. I’m assuming you have a field called titdesc since you’re trying to read it using the_field('titdesc').

If you’re not in the loop, you must pass the post ID too, like the_field('titdesc', 2055);.

From what I’ve noticed, ACF uses two rows per custom field. For you it is:

  • titdesc => and some experience, coffee & fun.
  • _titdesc => field_51baf57155c20

The first pair of values stores the field name titdesc and the field value and some experience, coffee & fun. and the second pair of values is a reference to the field name’s unique ID, which is field_51baf57155c20 here.

As a note, get_field() will return a value and the_field() will echo the value.’

If you want to pass the value in a function, you should use get_field() instead.
What you got in your var_dump() output is all meta values stored for that particular post ID.