Сегодня закончил работу над альфа версией плагина под WordPress реализующего paginator3000. Я в чистом виде сохранил javascript оригинального пагинатора и изменил одну строку в css, так что код пагинатора сохранен и изменяется точно так же как оригинал. Это мой первый плагин, старался писать чистый код, но уверен без ошибок, опечаток и прочего не обошлось, так что пишите в комментах. Постараюсь пересмотреть и подправить код в ближайшее время.

Линк: http://wordpress.org/extend/plugins/paginator/



Комментарии(42)

kazimirr December 18, 2008

Спасибо за плагин, меня очень заинтересовал, выглядит прикольно. Но у меня с ним проблемы.
Установил на своем блоге, но ничего не изменилось. Скорее всего, что-то где-то в теме (какой-нибудь id, отвечающий за навигацию нестандартный), но что именно – я в силу своих знаний сказать не могу.
у karaboz’а посмотрел код пагинатора. Вставил прямо в тему – все работает, но вот текущую страницу надо уже динамически менять, а я в программировании – ни гу-гу, поэтому пришлось просто вырезать всё.
Вот, например, есть плагин для поисковой формы (http://www.ekhoury.com/wp-autosuggest/) – там прямо в настройках есть замена id’а серчбокса на другой (стандартный “s”, а иногда в темах попадается “search” и т.д.).
Буду рад, если посмотришь мой сайт и как-то поможешь правильно настроить плагин.

dzhus December 19, 2008

Спасибо за комментарий. Попробуем разобраться. Я просмотрел html вашего блога и не увидел части отвечающей за непосредственную вставку пагинатора на вашу страничку.
Вы уверены что вставили php код if(function_exists(’wp_paginator’)) { wp_paginator(); } в index.php или footer.php своего блога как указано в пункте 4 здесь: http://wordpress.org/extend/plugins/paginator/installation/ ?

kazimirr December 19, 2008

Действительно, забыл вставить код. Сейчас все работает отлично. Спасибо за плагин!

Andy January 11, 2009

Hi again! Thanks for the update, but the IE problem still exists. The page is loaded and shown, but an alert-box is telling that the operation has to be aborted. Then you see a white page with some error message. I’ve activated the plugin right now so you can take a look at the problem live by going to my website. Hope it helps! Thanks.

dzhus January 11, 2009

Hi. I took a look on the issue you’re having and have searched for the causes. It looks like it is an IE7 parser bug and for some reason it appears on some sites and does not on others (for example this one http://devicegadget.ru/ does not have the issue). I will take a look on the javascript code of the plugin ASAP and will try to figure it out, but it probably won’t be till some time in the middle of the next week.

jason February 5, 2009

We have a problem. Paginator plugin conflicts with Featured Content plugin. When paginator plugin is active featured content plugin doesnt work.
Info about featured content gallery is:
http://www.featuredcontentgallery.com/

I tried to find the problem for 3 hours but i didint.
Maybe you help me.

Thanks
J

dzhus February 11, 2009

Hello Jason. I’m sorry it took me so long to respond. I’m having a rough week in the university right now and I’m not sure that I will be able to get in to that problem for two more days, but as soon as I do I will let you know. Thank you for your feedback. I appreciate that.

marcosesperon February 12, 2009

Some bugs were found in pagination plugin when you filter by category or search. Please take a look to this article where I explain the changes I had to do to make it complete functionally.
Sorry, my english is bad. Thanks for the plugin ;)
Regards

Andreas Künz February 14, 2009

Hi again!
So actually most problems are solved, but there is still one huge prob: when using a different method to show posts instead of the standard archive the paginator doesn’t link to the correct pages. For example when I use the search function with Search Unleashed-plugin or the OrganizeSeries-plugin, the URLs are different than paginator means. You can take a look at my site – just click on “Beitragsserien” on the right and choose “Thailand”. You will the specific URL when changing to the second page. The plugin WP-PageNavi makes it right ;)

dzhus February 15, 2009

Andy: Hello again Andy. I took a look on what you are saying and I will try to fix it as soon as possible. I will let you know as soon as I am done.

Jason: I have not looked at this problem yet, but I will today and I will update you on what I find.

Thanks everyone for you feedback. I appreciate it. Sorry that it takes me so long to respond. University of Pittsburgh keeps me pretty busy lately.

dzhus February 16, 2009

Andy: I found an elegant solution to the problem and will release the modified version some time this week

Jason: Can you provide some details on the issue? Does the gallery show up at all? Are you trying to paste gallery before the paginator or after? Can you provide a link to your website?

dzhus February 16, 2009

Andy, marcosesperon: I have released a new version of the plugin. It should take care of the problem. Please let me know if there are other concerns

Andreas Künz February 21, 2009

He dude! Thanks for the update.. After replacing the “paged/” by “/paged/” everything worked fine. I have a nice feature request though ;) What about adapting the width of the slider to the number of pages available? For a start it would be great to hide the slider when there is only one page to browse… Thanks alot and keep the good work!

dzhus February 22, 2009

Andy, are you saying that you was have to change something in the code before the paging worked properly? (that paged/ and /paged/ thing) If yes, then can you tell me what was wrong and why you was have to do that?

About the idea: I have seen numerous comments on that. A lot of people say that the paginator looks ugly when there are few pages to browse. I will see what I can do about that.

If you notice anything else about the plugin please let me know.

Andreas Künz February 24, 2009

At the end of the paginator.php file are three “pag = new paginator” entrie where I had to put a slash before the “page/” entry there. Otherwise the plugin wasn’t working because the URL was not correct ;) Would be great if you could manage the “few pages browse”-thing!

Graf March 2, 2009

Привет. Проблема с Пагинатором.
угл отловил битую ссылку http://www.wpbloging.com/page/ – что делать? Я посмотрел в код главной страницы, там в вашем скрипте есть эта ссылка. Но по переходу по ней – не найдено!

Константин March 15, 2009

Hi!
I like this plugin so much but i can’t use it in my theme. I try to replace my code with this from plugin but he still not working.
My theme is Pixeled from wordpress.org
This is the url for my free theme http://wordpress.org/extend/themes/pixeled
Can somebody help me?

dzhus March 15, 2009

I’ll see what I can do.

dzhus March 16, 2009

Konstantin: I installed the theme, activated paginator plugin, pasted `< ?php if(function_exists('wp_paginator')) { wp_paginator(); } ?>` into footer.php and everything started to work just fine. Paginator does not conflict with your theme. Were you able to get it to work?

Константин March 17, 2009

Do you try to go on the next page? I activate plugin and past the code. See the problem on my testing server here =>> http://aim.web44.net/

dzhus March 19, 2009

I see the problem. Will try to correct the bug as soon as possible. Thank you.

Константин March 20, 2009

Thanks for help :)

Where can I find out in english when this bug is fixed?

Veniamin Akimov March 20, 2009

Отлично все. Продолжайте

dzhus March 20, 2009

Константин, try out this version ( http://downloads.wordpress.org/plugin/paginator.0.2.4.zip ) of the plugin and see if it works out for you.

Константин March 21, 2009

Everything is OK now.
Thank you very much :) The plugin is wonderfull.

Drew March 22, 2009

Ive installed paginator for a custom designed wordpress theme, but i cant seem to get it to work? I have a gallery page that displays new posts (new paintings), i have multiple posts up there now and only 9 of them will show? Any thoughts of what im missing?

http://bricemccaslandart.com/blog/gallery/

thanks!

dzhus March 25, 2009

I’m not sure I understand what it is that you are trying to accomplish. Can you be more specific on your intentions. Are you trying to use the paginator to display photos in the gallery?

Anton March 28, 2009

Privet, superskij plugin pod wordpress, no k sozeleniju on u menia pochemuto nekorektno rabotaet, postavil plug kak i govoritsa (adress moego bloga vyshe v blog url ja ukazal), voob6em vsio pajavilos v moej teme, no posle togo kak ja nazhymaju na 2 stranicu, nicjhego ne proishodit, t.e peregruzaetsa i otkryvaet opiat titulnuju stranicu, v chiom mozet byt problema? tema – custom, v nej paging’a voobshe nebylo. Podozrevaju chto chtoto s query_post, no tak kak ja neprogrammer mne trudno razabratsa. Spasibo i privet iz Slovakii!

Anton March 28, 2009

vot moja tema live preview (tam bes paginator koda):

http://demo.wefunction.com/?wptheme=Magazeen

i tut ejo download: http://78.46.108.98/images/magazeen-wordpress-theme/magazeen-wordpress-theme.zip

Plz, otvet mne na email ili tut v commentah, bolshoe spasibo!

Anton March 28, 2009
dzhus March 29, 2009

Anton, pohozhe na to chto problema ne plugine, a v samoi teme. index.php ne podderzhivaet stranicy. Vy mozhete ispol’zovat’ paginator v archive.php ili modificirovat’ kod v index.php dlya podderzhki perelistyvaniya stranic.

serg May 7, 2009

Привет!

Здоровская вещь!
Поставил себе
Хотел сверху и снизу, а работает только верхний.
Может чего где-нибудь поправить?
Сайт работает на wordpress.

dzhus May 9, 2009

serg,
Да это пока невозможно, но думаю сделать можно будет. Спасибо, подкинули идею для обновления.

Sougias May 15, 2009

We are having problems with the javascript. It hangs IE7 completely when the site is loaded. It works fine with Firefox and Safari (under both Linux and Windows).

Anyone seen this problem before?

dzhus May 15, 2009

Sougias,
can you elaborate on that? Does it load under IE7? I’ve seen some issues with IE browsers, but there is high probability that this one is a new one. It’s always like that with IE browsers. Can you provide a link/screenshot?

Steffel August 11, 2009

Hello,

I have two blogs and the plugin works (almost) perfect.
There is one problem though: The page numbers won’t be shown on one of my blogs in IE7 and Mozilla Firefox 3.5 until I click on the scroll bar of the plugin. it works fine with Google Chrome.
I tried to fix it, but I couldn’t find any result. Do you have any solutions?

Thank you very much in advance,
Steffel

Запчасти субару September 26, 2009

Запчасти субару, лексус, митсубиши, тойота и другие японские марки!

архитектор September 27, 2009

мне понравилось,в тему

howard September 28, 2009

nice plugin. I only have 2 pages in my blog so far and I don’t see the slider. Does the slider appear only after a certain number of pages are added to the blog ?

chinkone November 9, 2009

hmm. for some reason the plugin doesn’t auto generates the css/js files into the header. when I manually copy the paths to the plugins css/js it works.

running on wp 2.8.4 + paginator plugin 0.2.4

Andman November 22, 2009

У меня не работает твой paginator, напиши на email.

колготи December 18, 2009

Ольги комментарий неимоверно меня разгневал. Это мы кому вертите! Ведь то белый аки наезд

Оставьте комментарий