0

So the pin button on our page stopped all of a sudden. Can anyone help? Below is the code with the issue.

if (in_array('pinterest',$recipe_sharing_networks)):
        echo '<div class="pinterest_share"><a href="https://www.pinterest.com/pin/create/button/
            ?url='.esc_url($recipe_link).'
            &media='.esc_url($recipe_image_url).'
            &description='.esc_attr($recipe_short_description).'"
            data-pin-do="buttonPin"
            data-pin-color="white"
            data-pin-config="beside">
            <img src="//assets.pinterest.com/images/pidgets/pinit_fg_en_rect_white_20.png" />
        </a></div>';
    endif;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.