Problem with pagination
-
Hello Guido!
I am having trouble paging in my page, I am using the following code: [vsel posts_per_page = 3]. However, when i click to go to the next page, it returns to the current page and does not show the other posts.
I have already saved the permalinks as indicated in other threads, but the error persists, and my main page is not called “event”. What can it be?
Thank you!
-
This is my Page: http://WWW.agbdesign.com.br/demo2
Hi,
That’s strange…
Are your other events set on “private” perhaps?
If not, did you try with permalinks set on “plain” or “post name”?Guido
Hi!
No, all posts are as “public” and I tried for “post name” and “plain” and even then it does not go to another page.
Alan
Hi,
I have installed your theme and did a test here (temp link), but no problem..
I have used this shortcode (only past events on my test site):
[vsel-past-events posts_per_page=2]So there must be a conflict with another plugin I guess… are you using other plugins that contain pagination?
Guido
Good morning Guido!
I’m just with this plugin installed, I already changed the Theme to see if it could be this, but the problem persists. I used this shortcode [vsel event_cat = “September, October, November, December”] it works normally but does not redirect to the next page …: /
Alan
Hi Alan,
Very strange, because at my test site (for link see previous response) it does work.
Question, does the pagination of the native blog feature work at your site?
Note: no whitespace after event_cat:
[vsel event_cat="September, October, November, December"]Guido
Hello Guido!
I tried that way and it also did not work buddy … I did a test, I put the shortcode directly on the page instead of the loop, it worked, but the pagination continues the same thing. I do not know what else can be … 🙁Hi,
But does the pagination of your native blog work? It seems you don’t have created a blog page on that demo site yet, can you please do this and try if pagination works there?
Guido
Hello Guido!
The native pagination of the page works normally, but the pagination of the Homepage does not, I realized that the pagination of the home page is of the plugin and not of the Theme. The div it contains uses the following class “vsel-nav vsel-widget-hide” I searched the vsel-upcoming.php file and found the pagination of the plugin that uses the following code:$ Output. = ‘<Div class = “vsel-nav vsel-widget-hide”>’;
$ Output. = Get_next_posts_link (__ (‘Next & raquo;’, ‘very-simple-event-list’), $ vsel_events-> max_num_pages);
$ Output. = Get_previous_posts_link (__ (‘&’; ‘very-simple-event-list’));
$ Output. = ‘</ Div>’;Wp_reset_postdata ();
Else:
$ Output. = ‘<P>’;
$ Output. = Esc_attr __ (‘There are no upcoming events.’, ‘Very-simple-event-list’);
$ Output. = ‘</ P>’;
Endif;$ Output. = ‘</ Div>’;
Return $ output;
However, this code is returning the following link to my page http://www.agbdesign.com.br/demo2/page/2 I have already tried custom permalinks and even rewritten the .htaccess file, but I did not succeed.
Alan
Hi Alan,
I still don’t understand why it doesn’t work. Because on my test site it does work fine. So there must be a conflict somehow.
Are you using a plugin to sort posts in your dashboard maybe?
If not, are you willing to create a temp login for me so I can take a look at your dashboard? If yes, how can I reach you?Guido
ps. when adding code please click button “code” before and after your code 😉
Hello Guido!
Of course, without any problem my friend, just ask me to inform you an email address so I can create the username and password and have forwarded it okay !?Thank you very much!
Alan
Hi Alan,
I will send you a message to he email that’s on the contact page of your site.
Guido
Hi Guido!
Ok, i wait for your message
Thank you friend!
Alan
I did send you a message yesterday!
If you didn’t receive it, you can also send me one via: info at my-site-domain
Guido
Hello Guido.
I didn’t get the message, could you please forward through my website http://www.agbdesign.com.br/index.php/contato/
Thank you very much!
Alan
The topic ‘Problem with pagination’ is closed to new replies.