WordPress: proteggere le email dagli spammer
A volte è necessario pubblicare in una pagina un indirizzo email. Il problema è che quell’indirizzo sarà subito preda degli spambot e sarà bersagliato da messaggi spazzatura.
Per evitare questo, si può ricorrere ad uno dei tanti tool online per mascherare l’indirizzo, oppure ricorrere alla funzione di sistema di WordPress antispambot()
, ad esempio in questo modo:
[PHP]
// se usata all’interno del Loop
echo antispambot(get_the_author_email());
// oppure all’esterno
echo antispambot(‘email@miosito.it’);
[/PHP]
Tags: PHP snippet spam tips Tools e Risorse WordPress
Pubblicato sabato 7 Marzo 2009 in Hack WordPress. Ultimo aggiornamento: lunedì 12 Marzo 2012.
Letture: 7217.
Link correlati
10 Best Libraries for generating PDF Files
Le 10 migliori librerie PHP per la creazione di documenti PDF.
13 Free and Premium JavaScript/jQuery Calendars
When the website users or customers need to put any date or include months or years in a particular form, these JavaScript calendars really come handy for them.
40 Free and Premium Creative WordPress Themes
Whether you are an artist, graphic designer, photographer or a magazine or newspaper owner, you would require some real catchy and awesome creative WordPress themes to display your work.
60 Best Free WordPress Themes Gallery
It has been awhile since I’ve created one of our popular WordPress theme galleries, so I decided it was time to build a new one.
Add From Server
“Add From Server” is a quick plugin which allows you to import media & files into the WordPress uploads manager from the Webservers file
CSS3 Animated Media Queries
In this article we are going to look at media queries, have a code snippet you can use to start your media queries and show how you can combine CSS transition with the media queries to show an animated change to your elements.
Display your Favorite Tweets using PHP and jQuery
Display your latest tweets on your website or blog with a jQuery plugin and a PHP class.
Everything You Need to Build A CSS3 Responsive Fluid Layout
Responsive layout is a very good solution to taking care of users with different screen resolutions and mobile platforms.
FeatPlug
Featplug is a standalone script / wordpress plugin that can mine your WordPress posts or any other data and look for images suiting a given dimension and generates ‘featured’ section for your site using the found items.
Five Tools to Increase the RSS Subscribers for your WordPress Blog
5 plugin per WordPress per aumentare gli iscritti al feed RSS.
How to display your latest Google+ update on your WordPress blog
How you can easily display your latest Google+ update on your WordPress blog.
JavaScript to Footer
WordPress default behavior is to load JavaScript in the <head> page.
This plugin will move all javascript code to the footer if the plugins have declared JavaScript properly.
MTR Podcast Recorder
MTR Podcast Recorder offers real-time recording (via a Java applet) that is saved into MP3 format on the same server where WordPress is installed.
Page Links To
This plugin allows you to make a WordPress page or post link to a URL of your choosing, instead of its WordPress page or post URL. It also will redirect people who go to the old (or “normal”) URL to the new one you’ve chosen.
Search Everything
Plugin che permette di estendere la ricerca di default di WordPress anche alle Pagine, alle Categorie e ai Tag, ai Commenti (con possibilità di escludere o includere quelli approvati), alle Bozze, gli estratti e gli allegati e ai Campi personalizzati. E’ possibile inoltre, escludere dalla ricerca gli Articoli e le Categorie, a scelta.
Speed up your blog by caching custom queries
An useful snippet to cache custom queries in WordPress. Don’t forget to update the query on line 5!
Top WordPress Responsive Themes
As WordPress is the most popular and secure platform today, it is obvious that there is plethora of great responsive WordPress themes out there. Here are some of the best available.
WP Equal Columns
Plugin per WordPress che rende uguale l’altezza delle colonne del tema usato, ad esempio la barra laterale e la colonna principale.
WP FancyZoom WordPress Plugin
A simple way to add the FancyZoom image overlay script to your blog. In short, FancyZoom is a nice, modern way of making popup images.