Advertisement
pusatdata

Prime Strategy Page Navi

Oct 2nd, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. Install this plugin:
  2. Prime Strategy Page Navi (https://wordpress.org/plugins/prime-strategy-page-navi/)
  3.  
  4. Kode di index.php, category.php, archieve.php
  5. <?php if ( function_exists( 'page_navi' ) ) page_navi( 'items=7&prev_label=Prev&next_label=Next&first_label=First&last_label=Last&show_num=1&num_position=after' ); ?>
  6.  
  7. Kode di style.css
  8. /* =STAR Style for Prime Strategy Page Navi
  9. ----------------------------------------------- */
  10. .page_navi {
  11. text-align: center;
  12. }
  13. .page_navi li {
  14. display: inline;
  15. list-style: none;
  16. }
  17. .page_navi li.current span {
  18. color: #000;
  19. font-weight: bold;
  20. display: inline-block;
  21. padding: 3px 7px;
  22. background: #fee;
  23. border: solid 1px #fcc;
  24. }
  25. .page_navi li a {
  26. color: #333;
  27. padding: 3px 7px;
  28. background: #eee;
  29. display: inline-block;
  30. border: solid 1px #999;
  31. text-decoration: none;
  32. }
  33. .page_navi li a:hover {
  34. color: #f00;
  35. }
  36. .page_navi li.page_nums span {
  37. color: #fff;
  38. padding: 3px 7px;
  39. background: #666;
  40. display: inline-block;
  41. border: solid 1px #333;
  42. }
  43. /* =END Style for Prime Strategy Page Navi
  44. ----------------------------------------------- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement