Tag: html | Tutorial Depot

Embed an Iframe into a WordPress post or page

September 8, 2011 at 3:04 pm Tags: | | |

www.graphicbeacon.comThis tutorial is about how-to create a shortcode in WordPress using a custom field. The result is some iframe HTML where the code is not filtered. Just open the functions.php file in your WordPress theme directory and add the two functions from the tutorial. In your post add the shortcode and you’re ready.


Which is the best “non-active” href attribute?

April 12, 2011 at 8:58 am Tags: | |

I forget these code snippet frequently, I hope you you like it.

If you create some event for your link element and the “href” attribute need to be ignored the following values are used very often:

  • href=”#” – This one is used on most of the sites. It’s very east to use but will change your URL in the browser
  • href=”javsacript:;” – Actually you can “JavaScript” to do nothing (bad solution)
  • href=”javascript:void(0);” – This is the one your should use!

SEO for WordPress categories, tips and example code

November 6, 2010 at 12:51 pm Tags: | | |

www.web-development-blog.comMost SEO plugins doesn’t offer functionality for categories. I think categories are very important for all websites; they provide a better user experience (people find the information they need) and they are also good for SEO.


Simple jQuery Slideshow

November 6, 2010 at 11:21 am Tags: | | |

jonraasch.comGreat and simple slider. Just place some DIV container with a few images into your page and the jQuery plugin will do the animation. Tested the plugin in IE7, Firefox (Linux) and Chrome