Search found 5 matches
- Tue Apr 25, 2023 9:11 am
- Forum: General
- Topic: Pagination if i have many pages
- Replies: 2
- Views: 480
Re: Pagination if i have many pages
Which theme do you use? I created my own theme. It is based on the theme of the Mars :D Pagintaion code: <?php if (Paginator::numberOfPages()>1): ?> <div class="pagi-nav"> <nav class="pgn"> <?php if (Paginator::showPrev()): ?> <span class="pprev"><a href="<?php ec...
- Sun Apr 23, 2023 10:09 am
- Forum: General
- Topic: Pagination if i have many pages
- Replies: 2
- Views: 480
Pagination if i have many pages
Is there an easy way/example of a code snippet that adds an ellipsis if, for example, there are too many pages:
- Fri Nov 25, 2022 4:08 pm
- Forum: General
- Topic: How to write only for first main page?
- Replies: 4
- Views: 759
Re: How to write only for first main page?
You can do it with the following code: <?php if ($_SERVER['QUERY_STRING'] == "" || $_SERVER['QUERY_STRING'] == "page=1") { echo "Hello World!"; } ?> thx its work! in category print too. My decision: <?php if ($_SERVER['REQUEST_URI']=="/" || $_SERVER['QUERY_ST...
- Thu Nov 24, 2022 8:35 pm
- Forum: General
- Topic: How to write only for first main page?
- Replies: 4
- Views: 759
- Thu Nov 24, 2022 8:04 pm
- Forum: General
- Topic: How to write only for first main page?
- Replies: 4
- Views: 759
How to write only for first main page?
How to write in home.php only for first main page? like this:
[aviable=main][page-count=1]
content
[/page-count][/aviable]
[aviable=main][page-count=1]
content
[/page-count][/aviable]