'work', // Der Slug deines benutzerdefinierten Beitragstyps 'post_status' => 'publish', 'posts_per_page' => -1, ); $work_query = new WP_Query($args); $project_count = $work_query->found_posts; wp_reset_postdata(); // Anzahl der Projekte zurückgeben return $project_count; } add_shortcode('work_count', 'count_work_projects'); ?>
Written by: Alexander
Featured Image

Hallo Welt!

Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
gravatar
 · 
November 28, 2024

Site Notice

Privacy Settings

Instagram

LinkedIn

Behance

Hey there, this is the default text for a new paragraph. Feel free to edit this paragraph by double clicking on it. After you are done just click on the yellow checkmark button on the top right to save. Have Fun!

SAMELESS_Angle

SAMELESS® is a registered trademark. All content is protected by copyright. 2025 ©. All rights prohibited.

Back to top Arrow