Created
January 8, 2016 11:52
-
-
Save jagoff/717775423f1ffe84cb0b to your computer and use it in GitHub Desktop.
Empty category - wpzoom zenko theme fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This code: | |
<?php | |
else : | |
echo'<p>'; | |
_e('There are no posts in this category.', 'wpzoom'); | |
echo'</p>'; | |
endif; | |
?> | |
For this: | |
<?php | |
else : | |
echo '<div class="firstn">'; | |
echo'<p>No existen publicaciones para esta categoria</p>'; | |
echo '</div>'; | |
echo'<div class="rightn">'; | |
echo '<ul>'; | |
echo '<?php } else { ?>'; | |
echo '<div class="rightcont">'; | |
echo '</div>'; | |
echo '<div style="clear:both;"></div>'; | |
echo '<?php } ?>'; | |
echo '<?php endwhile; ?>'; | |
echo '</ul>'; | |
endif; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment