Instantly share code, notes, and snippets.

Embed
What would you like to do?
Wordpress: Hinweis bei leerer Kategorie
<?php
if (have_posts() == "" ) :
echo "<p><img src='static-img/notfound.png' alt='Not Found Symbol'></p>";
echo "<h3>In dieser Kategorie finden sich noch keine Beiträge</h3>";
endif;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment