Welcome To Snipplr


Everyone's Recent Snippets Tagged links



« Prev 1 2 3
0 3604 posted 11 years ago by temanuel
Configure settings for all external links on your site. Features: * Open external links in new window or tab * Add "nofollow" * Set link title * Set link icon * Set classes (for your own styling) * Set no-icon class * SEO friendly
0 2561 posted 12 years ago by freelancephp
Here's the basic principal behind spiders. (ex: <a href="http://giochiflash.123homepage.it">Giochi Flash</a> $html = file_get_contents('http://www.example.com');
6 6617 posted 12 years ago by haydin
This code removes all special characters from the given URL and make it SEO friendly.
2 2271 posted 12 years ago by apphp-snippets
How to mark external links with an arrow behind by using CSS
1 2141 posted 12 years ago by steho
Create navigation links without the need of a plugin, using paginate_links function of wordpress core.
0 3557 posted 12 years ago by rudwolf
Sometimes you just want a random link to display and outside of the default format, this works perfectly and removes all default html (list items / headings).
0 2389 posted 13 years ago by crypticsoft
Replaces all links within href part of anchor in a HTML-String.
1 5861 posted 13 years ago by rwunsch
Usage: &lt;a href="http://www.whaterver-your-site-is-called.com/" rel="external"&gt;Some other site&lt;/a&gt;
0 2533 posted 13 years ago by Krummelz
Add this within the loop:
0 2102 posted 13 years ago by xcsteve99
0 1246 posted 14 years ago by jamiebrwr
- Basically, place the div at the top of the page (or wherever you want the link to jump to). - Then place the link somewhere on the page. - This will cause the scroll to shift to the top of the div container with that ID attribute.
0 2095 posted 14 years ago by kennonb
Add attribute to links to open them in a new window. Example - rel="external". Alternative to target="_blank", conforming to XHTML specification.
0 1507 posted 14 years ago by Huskie
Use CSS3 to animate the colour of links.
0 2203 posted 14 years ago by geekyjohn
Returns the same string, except with links wrapped in <a href=""> tags. Works on www.snipplr.com and on http://snipplr.com A variation of the script on the attached URL.
0 2234 posted 14 years ago by nebojsac
0 2184 posted 14 years ago by ronal
this has place for external styles and the css start for a button sprite. Also has some comments about new html5 markup.
0 2054 posted 14 years ago by gamblelyn
the POSIX Regex functions are deprecated in PHP 5.3.0 and removed in PHP 6. http://us2.php.net/manual/en/function.eregi-replace.php
0 2249 posted 14 years ago by dubogii
0 2388 posted 14 years ago by dubogii
0 2125 posted 14 years ago by nico65
Make sure your URL $_GET variables don't get repeated / duplicated when you are creating links / URLs dynamically.
0 2042 posted 14 years ago by prwhitehead
This goes in your template.php file
1 2286 posted 14 years ago by focal55
Some elements that are clickable mysteriously don’t trigger a pointer cursor in browsers. This fixes that, and provides a default class “pointer” for applying it to other clickable things as needed.
0 1972 posted 14 years ago by JohnGR
Hopefully this covers just about everything. This code has far more lines than htmlify.js but seems to work ok. (I just remembered that " // Loop through the clear text " has no loop breaker - will post a fix, but it's not a show-stopper for mo...
0 2619 posted 14 years ago by jm1248
0 2243 posted 14 years ago by silentpro
This snippet basically gives us the best of both worlds, allowing the best usability when it comes to link outlines for both screenreaders tabbing through links, and mouse users.
0 2034 posted 14 years ago by paul66
« Prev 1 2 3