• Resolved And_Silva

    (@and_silva)


    Hello friends, first of all, congratulations for the plugin, great tool.
    Good to create ad categories on a page and add ads, it has a limit ads for pages, so adding more than allowed would have to create another page with ads regarding continuation of the category, it does not. to go to another page is redirecting to the same page that contains all the ads. I wonder how to do that, to go to another page in a given category, the same category to continue with the ads and not go to the page of ads, if you can help me I will be very grateful, Thanks for listening.

    https://ww.wp.xz.cn/plugins/wpadverts/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, this is a bug in WPAdverts, it will be fixed in next release.

    If you would like to fix it now, open file wpadverts/includes/shortcodes.php, find there line

    $paginate_base = get_the_permalink() . '%_%';

    and replace it with

    if( $category && is_tax( 'advert_category' ) ) {
        $pbase = get_term_link( get_queried_object()->term_id, 'advert_category' );
    } else {
        $pbase = get_the_permalink();
    }
    $paginate_base = $pbase . '%_%';

    Thread Starter And_Silva

    (@and_silva)

    Hello Greg thanks for the help, I am very grateful, and congratulations on exelente plugin.

    Plugin Author Greg Winiarski

    (@gwin)

    Hi, sure no problem :).

    BTW. If you are finding the plugin useful i would be thankful if you could write a short one or two sentence review here https://ww.wp.xz.cn/support/view/plugin-reviews/wpadverts

    Thread Starter And_Silva

    (@and_silva)

    Yes for sure, thanks man !!!

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

The topic ‘problem with page loading’ is closed to new replies.