summaryrefslogtreecommitdiffstats
path: root/user_guide/libraries/pagination.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/libraries/pagination.html')
-rw-r--r--user_guide/libraries/pagination.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/user_guide/libraries/pagination.html b/user_guide/libraries/pagination.html
index 33c871078..521b708b1 100644
--- a/user_guide/libraries/pagination.html
+++ b/user_guide/libraries/pagination.html
@@ -197,6 +197,15 @@ something different you can specify it.</p>
<h4>$config['num_tag_close'] = '&lt;/div>';</h4>
<p>The closing tag for the "digit" link.</p>
+<h2>Hiding the Pages</h2>
+
+<p>If you wanted to not list the specific pages (for example, you only want "next" and "previous" links), you can suppress their rendering by adding:</p>
+
+<code>
+$config['display_pages'] = FALSE;
+</code>
+
+
<h2>Adding a class to every anchor</h2>
<p>If you want to add a class attribute to every link rendered by the pagination class, you can set the config "anchor_class" equal to the classname you want.</p>