Viewing 2 posts - 1 through 2 (of 2 total)
    • Author
      Posts
    • cip6791
      Guest

      I want to insert the buttons into an element when a button is clicked. Not sure how to use the shortcodes.

      $(“.social”).html(‘

      [facebook-like]{retweet-bt}{plusone-medium}{stumbleupon-1}

      ‘);

      Are these suppose to work the way they are? I saw this: but I want to use them the way they are below. If I put the below code in my template it just displays {facebook-like}{retweet-br} and so on.

      {facebook-like}

      {retweet-bt}

      {plusone-medium}

      {stumbleupon-1}

      Thank you.

      This is a simple one.

      Use the below code in any of the template. Modify and customize as you want.

      Code:


      jQuery(‘ready’).function({
      jQuery(‘.wp-socializer-buttons’).hide();
      jQuery(‘.openShare’).click(function(){
      jQuery(‘.wp-socializer-buttons’).fadeIn();
      });
      });

      CLICK ME TO OPEN SHAREBAR

      {facebook-like}
      {retweet-bt}
      {plusone-medium}
      {stumbleupon-1}


      Make sure you have loaded jQuery. Didn’t try this but should work as expected.

    Viewing 2 posts - 1 through 2 (of 2 total)
    • The topic ‘Insert buttons with jQuery’ is closed to new replies.

    Subscribe to our Newsletter

    Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

    By using this website, you agree to our Terms