Article Card

‘article’, ‘p’ => $post_id, ‘posts_per_page’ => 1, ]; $query_articles = new WP_Query($args); if($query_articles->have_posts()){ $query_articles->the_post(); $post_id = $post_id_articles = get_the_ID(); $query_articles_meta=get_post_meta($id); ?>
“>
get_results($wpdb->prepare(” SELECT {$wpdb->prefix}posts.ID, {$wpdb->prefix}p2p.p2p_id FROM {$wpdb->prefix}p2p, {$wpdb->prefix}posts WHERE p2p_from = %d AND p2p_type = %s AND {$wpdb->prefix}posts.ID = p2p_to ORDER by p2p_id “, $post_id, “article_to_contributor”)); $author_ids[0] = array_map(fn($item) => $item->ID, $c); $author_ids[1] = array_map(fn($item) => $item->p2p_id, $c); if(count($author_ids[0]) > 0): $args = [ ‘post__in’ => $author_ids[0], ‘post_type’=>’contributor’, ‘post_status’ => ‘publish’, ]; $query_authors = new WP_Query($args); $query_authors = $query_authors->posts; usort($query_authors, function ($a, $b) use ($args) { return array_search($a->ID, $args[‘post__in’]) <=> array_search($b->ID, $args[‘post__in’]); }); $post_index_authors = 0; foreach ($query_authors as $item_authors){ $post_id_authors = $item_authors->ID; $query_authors_meta=get_post_meta($post_id_authors); ?> and  2){ ?>

and others

0 && $query_articles_meta[“_abstractMedia”][0] !== “”){ ?>
Button/Sound-1
Button/PDF-01 Copy