Skip to content

codatey/cdt-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdt-pagination logo

Blogger cdt-pagination

Modern Blogger numbered pagination

How to use

Put this code after the default pagination

<script>
    // optional to edit default settings
    var paginationConfig = {
        perPage: 10
    }
</script>
<script src='https://cdn.jsdelivr.net/gh/codatey/cdt-pagination@2.2.0/dist/cdt-pagination.min.js'></script>

Options

Configuration options Value type Default value
selector String "blog-pager"
text_page String "الصفحة"
text_of String "من"
perPage Number 8
showPageOf Boolean false
showNav Boolean true
showNavPrev Boolean true
showNavNext Boolean true
showNavFirst Boolean true
showNavLast Boolean true
navPrevContent String "السابق"
navNextContent String "الموالي"
navFirstContent String "البداية"
navLastContent String "النهاية"
showEllipsis Boolean true
showLastPages Boolean true
ellipsis String "..."
updateTitle Boolean false
matchMedia Boolean, String false

About

Modern Blogger numbered pagination

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published