• Hi, First as all thanks for developing useful plugin.

    Plugin works my website perfectly and I want to move label position where i want in archive page.

    Is it possble to add label using hook instead of plugin`s setting?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello @cheonmu,

    You can use shortcodes
    [br-wapl-all] – display all labels
    [br-wapl-label] – display only labels under image
    [br-wapl-image] – display labels on image
    or you can use action hook berocket_apl_set_label with single parameter, that you can set to true, 'label', 'image'.

    Regards,
    Oleg

    • This reply was modified 4 years, 11 months ago by RazyRx.
    Thread Starter cheonmu

    (@cheonmu)

    Hi, @razyrx

    Thanks for answering!

    But How how can i make a label not auto-inserted in Archive page?

    I tried like below code, not working.

    remove_action('woocommerce_after_single_product', 'berocket_apl_set_label', true);

    Thank you.

    Plugin Author RazyRx

    (@razyrx)

    Hello @cheonmu,

    In plugin settings -> Advanced tab you can set any field that you need to disable to =DISABLED=.
    For archive page you need to disable Shop Hook option.

    Regards,
    Oleg

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to insert label using hooks?’ is closed to new replies.