'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'); ?>

Site Notice

Information pursuant to Sect. 5 German Telemedia Act (TMG)
Alexander Schwarz
Designer for Brand and Digital
Schiebestr. 30
04129 Leipzig

Contact
Phone: +49 341 6583 6521
E-mail: alex@sameless.studio

VAT ID
Sales tax identification number according to Sect. 27 a of the Sales Tax Law:
DE 293149752

Person responsible for editorial
Alexander Schwarz
Schiebestr. 30
04129 Leipzig

EU dispute resolution
The European Commission provides a platform for online dispute resolution (ODR): https://ec.europa.eu/consumers/odr/.
Our e-mail address can be found above in the site notice.

Dispute resolution proceedings in front of a consumer arbitration board
We are not willing or obliged to participate in dispute resolution proceedings in front of a consumer arbitration board.

Back to top Arrow