Сегодня закончил работу над альфа версией плагина под WordPress реализующего paginator3000. Я в чистом виде сохранил javascript оригинального пагинатора и изменил одну строку в css, так что код пагинатора сохранен и изменяется точно так же как оригинал. Это мой первый плагин, старался писать чистый код, но уверен без ошибок, опечаток и прочего не обошлось, так что пишите в комментах. Постараюсь пересмотреть и подправить код в ближайшее время.
Комментарии(42)
Спасибо за плагин, меня очень заинтересовал, выглядит прикольно. Но у меня с ним проблемы.
Установил на своем блоге, но ничего не изменилось. Скорее всего, что-то где-то в теме (какой-нибудь id, отвечающий за навигацию нестандартный), но что именно – я в силу своих знаний сказать не могу.
у karaboz’а посмотрел код пагинатора. Вставил прямо в тему – все работает, но вот текущую страницу надо уже динамически менять, а я в программировании – ни гу-гу, поэтому пришлось просто вырезать всё.
Вот, например, есть плагин для поисковой формы (http://www.ekhoury.com/wp-autosuggest/) – там прямо в настройках есть замена id’а серчбокса на другой (стандартный “s”, а иногда в темах попадается “search” и т.д.).
Буду рад, если посмотришь мой сайт и как-то поможешь правильно настроить плагин.
Спасибо за комментарий. Попробуем разобраться. Я просмотрел html вашего блога и не увидел части отвечающей за непосредственную вставку пагинатора на вашу страничку.
Вы уверены что вставили php код if(function_exists(’wp_paginator’)) { wp_paginator(); } в index.php или footer.php своего блога как указано в пункте 4 здесь: http://wordpress.org/extend/plugins/paginator/installation/ ?
Действительно, забыл вставить код. Сейчас все работает отлично. Спасибо за плагин!
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.
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.
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
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.
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
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
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.
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?
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
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!
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.
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!
Привет. Проблема с Пагинатором.
угл отловил битую ссылку http://www.wpbloging.com/page/ – что делать? Я посмотрел в код главной страницы, там в вашем скрипте есть эта ссылка. Но по переходу по ней – не найдено!
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?
I’ll see what I can do.
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?
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/
I see the problem. Will try to correct the bug as soon as possible. Thank you.
Thanks for help
Where can I find out in english when this bug is fixed?
Отлично все. Продолжайте
Константин, 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.
Everything is OK now.
The plugin is wonderfull.
Thank you very much
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!
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?
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!
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!
esli download link nerabotaet, mozno skachat tut: http://www.smashingmagazine.com/2009/02/23/magazeen-free-magazine-look-wordpress-theme/
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.
Привет!
Здоровская вещь!
Поставил себе
Хотел сверху и снизу, а работает только верхний.
Может чего где-нибудь поправить?
Сайт работает на wordpress.
serg,
Да это пока невозможно, но думаю сделать можно будет. Спасибо, подкинули идею для обновления.
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?
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?
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
Запчасти субару, лексус, митсубиши, тойота и другие японские марки!
мне понравилось,в тему
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 ?
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
У меня не работает твой paginator, напиши на email.
Ольги комментарий неимоверно меня разгневал. Это мы кому вертите! Ведь то белый аки наезд
Оставьте комментарий