Easy posts and the repeater modules automatically include pagination. If you want to prevent this you can add “no_found_rows=true” to the custom query.
i.e.
|
1 |
posts_per_page=5&no_rows_found=true // this will return only 5 posts with no pagination. |
If you want to edit the css for the pagination links here are the selectors.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
.oxy-easy-posts-pages{ /** for the container of the pagination links **/ } .oxy-easy-posts-pages a{ /** For the clickable pagination links **/ } .page-numbers.current{ /** For the current # in the pagination **/ } a.next.page-numbers { /** for the next link (non number) **/ } a.previous.page-numbers { /** for the previous link (non number) **/ } |
Custom Conditions Example
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
if( function_exists('oxygen_vsb_register_condition') ) { global $oxy_condition_operators; // Condition to check if a URL parameter is present. oxygen_vsb_register_condition('Access Code', array('options'=>array(), 'custom'=>true), $oxy_condition_operators['string'], 'oxy_access_code_callback', 'Other'); function oxy_access_code_callback($value, $operator) { if( $operator == '==') { if( !empty( $_GET['access'] ) && $_GET['access'] == $value ) { return true; } else { return false; } } else if( $operator == '!=' ) { if( empty( $_GET['access'] ) || $_GET['access'] != $value ) { return true; } else { return false; } } } } |