3 votes
Accepted

Custom Fields - How to create a list from multi-line entries of a single value

Yes, grab the value via get_post_meta, then it's just a matter of generic PHP loops and string manipulation. Try using the explode function with \n as the separator to create an array you can loop ...
user avatar
  • 51.7k
2 votes
Accepted

How get custom field from custom taxonomy?

Since you are using ACF, you can take advantage of the get_field() function ACF provides. You will need to pass the term object as the second parameter. $image = get_field( 'field_key', $custom_term );...
user avatar
  • 2,615
2 votes

How get custom field from custom taxonomy?

The thumbnail is probably stored in the termmeta table using a meta key specified the jetengine plugin, which is out of scope here. You should be able to identify the key by querying the DB for one of ...
user avatar
  • 16.9k
1 vote
Accepted

How to inherit field value from parent post into in child / sub post

You can use get_post_field( 'post_parent' ) to get the parent ID of the current post. Whilst ACF is technically off-topic, FWIW you can pass the ID of a post as the second parameter to get_field. ...
user avatar
  • 34.8k
1 vote
Accepted

how to get serialized post meta

get_post_meta() with the 3rd parameter set to true will return a single item with the key specified in the 2nd parameter (_custom_field in your code). If this item is an array, it'll return as the ...
user avatar
  • 10.2k
1 vote
Accepted

Hide Heading if ACF Field is empty

Move the outer(of the two) div.local_faq inside the if statement which checks if the faq field is set, because that’s the outer parent container. Also it would make sense to change the outer container ...
user avatar
  • 2,315

Only top scored, non community-wiki answers of a minimum length are eligible