• Resolved karenstl

    (@karenstl)


    I just updated the Expound them and the code I had added to the header file was lost. Rather than editing it again, I would like to use the snippet plugin to create code that will stick with updates since you don’t have a CSS box for this theme.

    I use the Pinterest button widget on my site and to get it to work, there is some javascript that must be pasted into the header or footer section.

    On one of my other websites, the developer told me to add the snippet plugin and to create a snippet with this code:
    add_action(‘wp_footer’, ‘zeechild_footer_scripts’);
    function zeechild_footer_scripts() {
    ?>
    <script type=”text/javascript” src=”//assets.pinterest.com/js/pinit.js”></script>
    <?php
    }

    Can you give me the code so I can do the same thing for this website?

    If you want to see more information about the Pinterest javascript, you can find it here. Click the build it button and scroll to the bottom of the page.
    http://business.pinterest.com/widget-builder/#do_pin_it_button

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Konstantin Kovshenin

    (@kovshenin)

    > since you don’t have a CSS box for this theme.

    You don’t need a CSS box for a theme, you can use a Custom CSS plugin that works with any theme.

    If, however, you would like to add javascript to your website, the snippet that you have shared would be a good way to go. If it worked with your other theme, there’s no reason it should not work with Expound.

    Good luck!

    I have finally cracked putting in a feeder profile board, you have to click button (under the text tab), put in the first part of the embed, then straight after, put in the javascript, then at the end use , then it really works.

    click the code button…..open code button before putting the embed link, then immediately put in the javascript, then finish with the close code button. http://www.youtube.com/watch?v=Lp97ylhuXeY

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add snippet code for Pinterest button widgets’ is closed to new replies.