Comments on: A Sneak Peak At The Upcoming Divspace Redesign http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/ Thu, 29 Jul 2010 16:45:11 +0000 http://wordpress.org/?v=2.2.1 By: J David http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-316 J David Sat, 30 Dec 2006 21:18:51 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-316 Very cool. It should look really nice. Very cool. It should look really nice.

]]>
By: Dave http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-90 Dave Wed, 29 Nov 2006 15:35:29 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-90 Looking good Kyle. Easy to read is the way forward so nice choice of white space usage. Thumbs up. Looking good Kyle. Easy to read is the way forward so nice choice of white space usage.

Thumbs up.

]]>
By: Kyle http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-84 Kyle Tue, 28 Nov 2006 17:22:26 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-84 Josh, Not using any plugin, I prefer not to use the WordPress plugins and just develop my own. The main reason why I avoided any social bookmarking plugins is because most of them relied on JavaScript to pull the document URL and title, and it's really slow. Instead, I just put the code straight into the template and used some PHP to pull the titles and URLs. Here's the code: <code><?php<br /> // Grab post title and sanitize<br /> $social_title = urlencode($post->post_title);<br />  <br /> // Grab post URL and sanitize it<br /> $social_url = urlencode($post->guid);<br /> ?><br /> <p class="social"><br />   <a href="http://digg.com/submit?phase=2&url=<?=$social_url? rel="nofollow" rel="nofollow">" rel="nofollow" target="_blank" title="Digg This!"><img src="/images/social/digg.png" alt="Digg This!" height="16" width="16" /></a><br />   <a href="http://www.stumbleupon.com/submit?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Stumble It!"><img src="/images/social/stumble.png" alt="Stumble It!" height="16" width="16" /></a><br />   <a href="http://myweb.yahoo.com/myresults/bookmarklet?t=<?=$social_title? rel="nofollow" rel="nofollow">&u=<?=$social_url?>&ei=UTF" rel="nofollow" target="_blank" title="Add to Yahoo! My Web"><img src="/images/social/yahoo.png" alt="Add to Yahoo! My Web" height="16" width="16" /></a><br />   <a href="http://technorati.com/faves?add=<?=$social_url? rel="nofollow" rel="nofollow">" rel="nofollow" target="_blank" title="Add to Technorati"><img src="/images/social/technorati.png" alt="Add to Technorati" height="16" width="16" /></a><br />   <a href="http://del.icio.us/post?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Bookmark to Del.icio.us"><img src="/images/social/delicious.png" alt="Bookmark to Del.icio.us" height="16" width="16" /></a><br />   <a href="http://www.furl.net/storeIt.jsp?u=<?=$social_url? rel="nofollow" rel="nofollow">&t=<?=$social_title?>" rel="nofollow" target="_blank" title="Bookmark to Furl"><img src="/images/social/furl.png" alt="Bookmark to Furl" height="16" width="16" /></a><br />   <a href="http://www.spurl.net/spurl.php?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Spurl This!"><img src="/images/social/spurl.png" alt="Spurl This!" height="16" width="16" /></a><br />   <a href="http://reddit.com/submit?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Add to Reddit"><img src="/images/social/reddit.png" alt="Add to Reddit" height="16" width="16" /></a><br />   <a href="http://www.newsvine.com/_tools/seed&save?u=<?=$social_url? rel="nofollow" rel="nofollow">&h=<?=$social_title?>" rel="nofollow" target="_blank" title="Bookmark to Newsvine"><img src="/images/social/newsvine.png" alt="Bookmark to Newsvine" height="16" width="16" /></a><br /> </p></code> As for where you would put this, you need to add this to your <code>single.php</code> template, just after the <code><h2></code> tags where the title goes. You can also edit the <code>index.php</code> template and do the same thing, right after the title. Hope this helps. Josh,

Not using any plugin, I prefer not to use the WordPress plugins and just develop my own. The main reason why I avoided any social bookmarking plugins is because most of them relied on JavaScript to pull the document URL and title, and it’s really slow. Instead, I just put the code straight into the template and used some PHP to pull the titles and URLs. Here’s the code:

<?php
// Grab post title and sanitize
$social_title = urlencode($post->post_title);
 
// Grab post URL and sanitize it
$social_url = urlencode($post->guid);
?>
<p class="social">
  <a href="http://digg.com/submit?phase=2&url=<?=$social_url? rel="nofollow" rel="nofollow">" rel="nofollow" target="_blank" title="Digg This!"><img src="/images/social/digg.png" alt="Digg This!" height="16" width="16" /></a>
  <a href="http://www.stumbleupon.com/submit?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Stumble It!"><img src="/images/social/stumble.png" alt="Stumble It!" height="16" width="16" /></a>
  <a href="http://myweb.yahoo.com/myresults/bookmarklet?t=<?=$social_title? rel="nofollow" rel="nofollow">&u=<?=$social_url?>&ei=UTF" rel="nofollow" target="_blank" title="Add to Yahoo! My Web"><img src="/images/social/yahoo.png" alt="Add to Yahoo! My Web" height="16" width="16" /></a>
  <a href="http://technorati.com/faves?add=<?=$social_url? rel="nofollow" rel="nofollow">" rel="nofollow" target="_blank" title="Add to Technorati"><img src="/images/social/technorati.png" alt="Add to Technorati" height="16" width="16" /></a>
  <a href="http://del.icio.us/post?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Bookmark to Del.icio.us"><img src="/images/social/delicious.png" alt="Bookmark to Del.icio.us" height="16" width="16" /></a>
  <a href="http://www.furl.net/storeIt.jsp?u=<?=$social_url? rel="nofollow" rel="nofollow">&t=<?=$social_title?>" rel="nofollow" target="_blank" title="Bookmark to Furl"><img src="/images/social/furl.png" alt="Bookmark to Furl" height="16" width="16" /></a>
  <a href="http://www.spurl.net/spurl.php?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Spurl This!"><img src="/images/social/spurl.png" alt="Spurl This!" height="16" width="16" /></a>
  <a href="http://reddit.com/submit?url=<?=$social_url? rel="nofollow" rel="nofollow">&title=<?=$social_title?>" rel="nofollow" target="_blank" title="Add to Reddit"><img src="/images/social/reddit.png" alt="Add to Reddit" height="16" width="16" /></a>
  <a href="http://www.newsvine.com/_tools/seed&save?u=<?=$social_url? rel="nofollow" rel="nofollow">&h=<?=$social_title?>" rel="nofollow" target="_blank" title="Bookmark to Newsvine"><img src="/images/social/newsvine.png" alt="Bookmark to Newsvine" height="16" width="16" /></a>
</p>

As for where you would put this, you need to add this to your single.php template, just after the <h2> tags where the title goes. You can also edit the index.php template and do the same thing, right after the title. Hope this helps.

]]>
By: Josh Kaufman http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-83 Josh Kaufman Tue, 28 Nov 2006 16:59:51 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-83 @ Divspace This is a random question not having to do with this post, but are you using the "social bookmarks" plugin for wordpress? and if you are how do you adjust the positioning of it? when i activate it it automatically shows up about my comments template in single posts and i don't know which file to edit to put it underneath my titles like on your site. @ Divspace
This is a random question not having to do with this post, but are you using the “social bookmarks” plugin for wordpress? and if you are how do you adjust the positioning of it? when i activate it it automatically shows up about my comments template in single posts and i don’t know which file to edit to put it underneath my titles like on your site.

]]>
By: A Sneak Peak At The Upcoming Divspace Redesign | Search Marketing Basics http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-71 A Sneak Peak At The Upcoming Divspace Redesign | Search Marketing Basics Mon, 27 Nov 2006 21:46:05 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-71 [...] Original post by Kyle and software by Elliott Back Filed under Web Design by searchmb Permalink • Print • Email • Comment [...] […] Original post by Kyle and software by Elliott Back Filed under Web Design by searchmb Permalink • Print • Email • Comment […]

]]>
By: Kyle http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-63 Kyle Fri, 24 Nov 2006 04:40:48 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-63 Thanks, David. I've been a little slow releasing this unfortunately. I had to finish up a feed manager script, which I'll definately be releasing, and, of course, Thanksgiving kept me busy with all the cooking. I'm amped to get the launch going, I've been neglecting articles because of it so I'll be happy to get it out finally! Thanks, David. I’ve been a little slow releasing this unfortunately. I had to finish up a feed manager script, which I’ll definately be releasing, and, of course, Thanksgiving kept me busy with all the cooking. I’m amped to get the launch going, I’ve been neglecting articles because of it so I’ll be happy to get it out finally!

]]>
By: David Winter http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-61 David Winter Thu, 23 Nov 2006 16:51:36 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-61 Looks nice and clean--easy to read. Looking forward to the launch. Looks nice and clean–easy to read.

Looking forward to the launch.

]]>
By: depi http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-45 depi Sun, 19 Nov 2006 10:18:56 +0000 http://divspace.com/web-design/a-sneak-peak-at-the-upcoming-divspace-redesign/#comment-45 Nice and clear. I like the top navigation of popular, today, yesterday... links it is a good idea of organising the site. I'm looking forward! :) Nice and clear. I like the top navigation of popular, today, yesterday… links it is a good idea of organising the site. I’m looking forward! :)

]]>