Bookmarks
I’ve spent half day yesterday trying to get bookmarks working EXACTLY the way I wanted.
My idea was to get them displayed in the sidebar in a way that allows to submit entire site (not only particular posts) to favourite social bookmarks services. And they had to be “made of” icons (not text).
I didn’t expect any problems since there is quite a lot of plugins offering such feature but…. Most of them is designed to use within posts. I skipped those which “auto-implement” in post structure because there was no chance to customize them. I tried two other that required adding php code manually within the_loop. Wp-Notable seemed to be perfect but… later one when trying to customize its look to match my theme I discovered that it also works only for posts! I found only one designed to submit entire site (AddMySite ) but it uses list or dropdown menu (you can choose option).
Finally I found an article on DIY text bookmarks ;) for posts. When I saw how EXACTLY the code looks like I realised I can customize it to have it working for entire site!
I’ve checked two more places to make sure given code for submitting to bookmarks services is correct (actually in one case I had to change it a little).
I’ve removed all <?php the_title() ?> and then replaced all <?php the_permalink() ?> with <?php bloginfo('siteurl');?>.
That’s a piece of code I used for bookmarks on this site:
Continue Reading »
21st July 2007 add your comment »




