Merhaba. Anladığım kadarıyla kitap özetleri sayfa olarak yayınlanıyor ve siz kendi yazar sayfanızda yayınladığınız blog içeriklerini görüyorsunuz değil mi? Sorunu bu şekilde anlayabildim.
Eğer sorunu doğru şekilde anladıysam bunu direkt Elementor ile yapamazsınız diye biliyorum. Ekstra olarak küçük bir eklenti yazılabilir orası için. Dilerseniz profilimdeki whatsapp bağlantısı ile iletişime geçin hocam. Detaylarına beraber bakalım ve ona göre bir yol haritası çıkarıp devam ederiz.
Konuyu okurken eklenti geliştirdiğiniz kısmı görmemişim. Eklentiniz içerisinde bir elementor widgetı geliştirebilirsiniz. Örneğin x Son Yazılarım adında bir widget. Bu sayede istediğiniz widgetı özel halde elde edebilirsiniz.
Kısa bir araştırma ile basit bir kod buldum. Denemedim ama belki işinizi görür.
<?php
function shortcode_latest_all_types($atts = []) {
$atts = shortcode_atts([
'posts_per_page' => 10,
'include' => '',
'orderby' => 'date',
'order' => 'DESC',
'show_type' => 'yes',
], $atts, 'latest_all_types');
$post_types = [];
if (!empty($atts['include'])) {
$post_types = array_map('trim', explode(',', $atts['include']));
} else {
$post_types = get_post_types([
'public' => true,
'exclude_from_search' => false,
], 'names');
}
$q = new WP_Query([
'post_type' => array_values($post_types),
'posts_per_page' => intval($atts['posts_per_page']),
'post_status' => 'publish',
'orderby' => sanitize_key($atts['orderby']),
'order' => strtoupper($atts['order']) === 'ASC' ? 'ASC' : 'DESC',
'no_found_rows' => true,
'ignore_sticky_posts' => true,
]);
ob_start();
if ($q->have_posts()) {
echo '<ul class="latest-anytypes">';
while ($q->have_posts()) { $q->the_post();
$type = get_post_type();
echo '<li class="latest-item">';
echo '<a class="latest-link" href="' . esc_url(get_permalink()) . '">' . esc_html(get_the_title()) . '</a>';
if ($atts['show_type'] === 'yes') {
echo ' <small class="latest-type">(' . esc_html($type) . ')</small>';
}
echo '</li>';
}
echo '</ul>';
wp_reset_postdata();
}
return ob_get_clean();
}