Hi guys i have a similar problem. I have a CPT with a relationship to pages. But the CPT has also various taxanomies. So I need the Output loop to list the relationship items to the taxonomies.
$posts = get_posts(array(
'posts_per_page' => -1,
'post_type' => 'materialien',
'order' => 'ASC',
'category' => 'medienform',
'include' => '',
'exclude' => '',
'key' => 'post-relationship',
'orderby' => 'post_date',
'meta_query' => array(
array(
'key' => 'post-relationship', // name of custom field
'value' => '"' . get_the_ID() . '"', // matches exactly "123", not just 123. This prevents a match for "1234"
'compare' => 'LIKE'
)
),
is there the possibility to show the title of a file repeater field ::.
So to show the title of the row? Like in an image field.
with print_r i am getting this: `Array
(
[downloads_acf_field_single_product] => Array
(
[ID] => 1072
[id] => 1072
[title] => Product brochure
[filename] => M-107-M-111-Alfa-Romeo-8c-DE.pdf`
So how can i extract the [title]
thousands of examples but not any is helpful..
How can i get the title or maybe caption of the file?
Hi Guys,
can someone hep me do a simple Button or updating a field by unfocusing the textarea?
update_field