Opened 12 years ago
Closed 12 years ago
#30030 closed enhancement (duplicate)
Ability to add container class for paginate_links()
| Reported by: | prionkor | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | ui, template |
Description
When type is set to list. The class of the <ul> is currently hardcoded. Could it be send via the argument?
A new key container_class can be introduced
$args = array(
'type' => 'list',
'container_class' => 'my-pagination-class'
);
$pagination = paginate_links($args);
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #28433.