Reply To: Spacing, Twitter and Block quotes

Home Forums Support Spacing, Twitter and Block quotes Reply To: Spacing, Twitter and Block quotes

Home Forums Support Spacing, Twitter and Block quotes Reply To: Spacing, Twitter and Block quotes

#158428
Tom
Lead Developer
Lead Developer

Hi Kerry,

Thanks so much for the coffees! Incredibly generous of you.

Try this to remove the bird:

<script>
jQuery(document).ready(function($){
  
	// Tweet blockquote	
	$('blockquote.tweet,div.tweet-quote').each(function(){
		var quote = $(this);
		quote.append( '<a href="https://twitter.com/share" class="twitter-share-button" data-text="' + quote.text() + ' EXTRA CONTENT IN HERE @YOURHANDLE etc.." data-lang="en">Tweet</a>' );
	});
	
});
</script>

It should take the text of the blockquote and add it to the tweet.

I added “EXTRA CONTENT IN HERE @YOURHANDLE etc.., which you can replace with your own text and twitter handle.

Any chance you can link me to the page so I can see why it’s not pulling the blockquote content?