Skip to content

Instantly share code, notes, and snippets.

@radarin
Created November 20, 2017 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radarin/487861978809bebac43b39c530ba1616 to your computer and use it in GitHub Desktop.
Save radarin/487861978809bebac43b39c530ba1616 to your computer and use it in GitHub Desktop.
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