Support » Plugin: Advanced Classifieds & Directory Pro » Change the function of the “Promote” button

  • Resolved Nikonn

    (@nikonn)


    Hello. I have been using your plugin for a long time and today there is a need to change the function of the “Promote” button, to be more exact, I need a function that redirects the user to another page – for example, a store (domain.com / shop /), and not to the “Check Order” page.

    add_filter( ‘acadp_has_checkout_page’, ‘acadp_has_checkout_page’ );

    function acadp_has_checkout_page () {
    return ‘https:// domain.com / shop /’;
    }

    I tried to make such a function, but it does not overwrite existing ones. Tell me how you can do it. Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • I tried another option, but it does not work

    add_filter( ‘btn btn-primary btn-sm btn-block’, ‘btn btn-primary btn-sm btn-block’ );

    function btn btn-primary btn-sm btn-block() {
    return ‘https://domain.com / shop /’;
    }

    Plugin Author pluginsware

    (@pluginsware)

    Hi,

    Sorry, we don’t have the option to change the function of the “Promote” button. If you need this feature, you can contact our customization team at info@pluginsware.com

    Thanks

    I have an additional question for you. Tell me please, do you have shortcodes to show on a separate page 4 – 6 simple ads and 4 – 6 selected ads? Thank you.

    Correct me if I’m wrong. Will the shortcode look like this?

    [acadp_listings listings_per_page=20]

    If you place two shortcodes on the page – will there be no conflict (plug-in failure)? Thank.

    or so?

    [acadp_listings filterby=featured listings_per_page=5]

    Plugin Author pluginsware

    (@pluginsware)

    Hi,

    You can use [acadp_listings listings_per_page=20] to show 20 listings per page and you can use 2 shortcodes in a page and it will not cause any issue. If still, you have any issues, please create a ticket in our site with the issue.

    Thanks

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change the function of the “Promote” button’ is closed to new replies.