Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Tumblr Share Button

Featured Replies

Can anyone help me with the Tumblr share button. I have added the Twitter, Facebook & Google+ buttons with counters on to each page of my site by using their easy forms which include the url for each page. I am finding Tumblr tricky!

 

I would like to add one of the Tumblr share buttons from their official page: http://www.tumblr.com/buttons

 

My site is a Flash-based site. If my URL was http://www.mpeople-heathersmall.co.uk Name: M People & Heather Small - Latest News Descritpion: Read the latest news about M People & Heather Small. What would the code look like? Not sure which to use PHP, Java etc. Plus all I do is add a html widget/frame on my site, I don't have to add code to the page like other sites.

 

Any help would be great!!

 

Plus if anyone knows of a Tumblr share widget with a counter that would be great too! (Also the new Myspace).

<a href="http://www.tumblr.com/share/link?url=http%3A%2F%2Fmpeople-heathersmall.co.uk&name=YOURTITLE&description=YOURDESCRIPTION">Share to Tumblr</a> 

 

Tumblr share code is more annoying than it has to be! Customise this link to suit your needs :)

  • Author

I used the Java Script code in the end and it works :) Thanks for the replies

 

<!-- Put this tag wherever you want your button to appear -->
<span id="tumblr_button_abc123"></span>
<!-- Set these variables wherever convenient -->
<script type="text/javascript">
var tumblr_link_url = "http://www.mpeople-heathersmall.co.uk";
var tumblr_link_name = "M People & Heather Small – Latest News";
var tumblr_link_description = "The latest news about Heather Small and M People. Includes announcements of music releases, tours, performances, TV & radio appearances and interviews.";
</script>
<!-- Put this code at the bottom of your page -->
<script type="text/javascript">
var tumblr_button = document.createElement("a");
tumblr_button.setAttribute("href", "http://www.tumblr.com/share/link?url=" + encodeURIComponent(tumblr_link_url) + "&name=" + encodeURIComponent(tumblr_link_name) + "&description=" + encodeURIComponent(tumblr_link_description));
tumblr_button.setAttribute("title", "Share on Tumblr");
tumblr_button.setAttribute("style", "display:inline-block; text-indent:-9999px; overflow:hidden; width:70px; height:25px; background:url('http://platform.tumblr.com/v1/share_2.png') top left no-repeat transparent;");
tumblr_button.innerHTML = "Share on Tumblr";
document.getElementById("tumblr_button_abc123").appendChild(tumblr_button);
</script>

Edited by mpeoplefansite

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.