Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $images = intval($wpdb->get_var("SELECT COUNT(*) FROM $wpdb->nggpictures"));
- $ngg_options = nggGallery::get_option("ngg_options");
- $maxElement = $ngg_options["galImages"];
- if ($images > $maxElement) {
- echo "<div class='ngg-navigation-end'><!-- --></div>";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement