Using wp_pagenavi for pagination with AJAX loaded content but getting links based on wp-admin/admin-

Div Truth Elite
El Presidente
Just Getting Started
62
#1627

In crunch time with something and I really need some help. I have a custom template page that has some tabs that dynamically load some ajax content, works great. But the wp_pagenavi() properly displays when needed but does not function properly, I believe because the ?paged=# that is being added to the wrong url.

Rather than domain.com/permalink_path?paged=# I'm getting domain.com/wp-admin/admin-ajax.php?paged=# because I used wordpress's ajax when loading that content.

Thanks for any help you can provide I'm leaving town for a bit and need this fixed before I go so please be quick. Thanks again

Nick

Phoenix, United States
(0)