Plugin Directory

Changeset 566390


Ignore:
Timestamp:
07/02/2012 11:54:29 AM (14 years ago)
Author:
paddelboot
Message:

Updated readme.txt;

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 3pagination/trunk/readme.txt

    r566389 r566390  
    4646
    4747draw() : Display the pagination
    48 `draw ( $pretty = TRUE, $max_num_pages = FALSE, $labels = TRUE, $css = 'classic' )`
     48`draw ( $pretty = TRUE, $max_num_pages = FALSE, $labels = TRUE, $css = 'classic', $wp_query = FALSE )`
    4949<ul>
    5050<li>$pretty (optional) | Are you using pretty permalinks?</li>
     
    5252<li>$labels (optional) | Display or not the navigation arrows</li>
    5353<li>$css (optional) | CSS class name that will be appended to the main div container</li>
     54<li>$wp_query (optional) | custom WP query object
    5455</ul>
    5556
    5657get() : Return the pagination as a HTML string
    57 `get ( $pretty = TRUE, $num_items = FALSE, $per_page = FALSE, $labels = TRUE, $css = 'classic' )`
     58`get ( $pretty = TRUE, $num_items = FALSE, $per_page = FALSE, $labels = TRUE, $css = 'classic', $wp_query = FALSE )`
    5859
    5960<h4>Example usages</h4>
    60 `threepagination::draw ( TRUE, FALSE, FALSE, 'my_custom_class' )`
    61 Displays the pagination on a website that uses pretty urls, takes the standard page count, hides the navigation arrows and uses a CSS class 'my_custom_class'
     61`threepagination::draw ( TRUE, FALSE, FALSE, 'my_custom_class', FALSE )`
     62Displays the pagination on a website that uses pretty urls, takes the standard page count, hides the navigation arrows, attributes a CSS class 'my_custom_class' to the pagination container and uses the global query object.
    6263
    6364`$string = threepagination::get ()`
Note: See TracChangeset for help on using the changeset viewer.