• Resolved -JD-

    (@-jd-)


    Hi,

    I’m loading my events list by ajax. It works fine but when I want to use pagination, links are for my single page used in ajax.

    I want: myPage.com?arg=1&anotherArg=2&page=2

    I have: myPage.com/myAjaxSubPage.php?arg=1&anotherArg=2&page=2

    Can I use a filter? I’m already using a filter for my post_links to add a category name in it.

    https://ww.wp.xz.cn/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    sorry I’m afraid that this is not possible at the moment and might need additional coding on your part and hacking into the code to make this work.

    Thread Starter -JD-

    (@-jd-)

    And where should I hack events manager pagination code?

    Thread Starter -JD-

    (@-jd-)

    I did it my way.

    I used a filter: add_filter(’em_paginate’,’my_em_paginate’);
    And in my function I used DOM document for changing my link and it works.

    And I found one BUG maybe – when I choose custom name of “pno” attribute in events_list shortcode, a string “%page% appears in pagination link for a first page instead of number 1. When I use default “pno” there is no “pno” attribute in page one link at all.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom pagination link’ is closed to new replies.