WordPress 2.1 e lo sviluppo di Plugin
La versione 2.1 di WordPress è prossima al rilascio. In attesa del rilascio definitivo, il team di sviluppo segnala agli sviluppatori di Plugin alcuni importanti cambiamenti nel funzionamento della piattaforma.
- Le variabili
$table*
sono state eliminate dal codice (non deprecate). Ciò significa che dalla versione 2.1 in poi, le richieste al database vanno fatte dichiarando nelle varie funzioni la variabile globale$wpdb
e facendo riferimento alle tabelle con$wpdb->posts
,$wpdb->post2cat
, eccetera. Allo stesso modo, l’uso della variabile$table_prefix
che identifica il prefisso usato per le tabelle e definito nel filewp-config.php
, viene sconsigliato in favore di$wpdb->prefix
. - La tabella delle categorie dei Link è stata eliminata. Le categorie dei link ora fanno parte della tabella delle Categorie degli Articoli.
- La tabella degli Articoli ha un nuovo campo:
post_type
che aiuta gli sviluppatori a distinguere tra Articoli e Pagine. - Gli Articoli futuri avranno un nuovo post_status:
future
che elimina l’uso diNOW()
in tutte le richieste al database.
Sul Codex c’è una pagina per segnalare le compatibilità dei Plugin con la nuova versione di WordPress.
Tags: plugin sviluppo WordPress
Pubblicato martedì 12 Dicembre 2006 in Plugin WordPress. Ultimo aggiornamento: lunedì 29 Novembre 2010.
Letture: 13155.
Link correlati
10 Essential HTML5 Frameworks
Here are 10 essential HTML5 frameworks you should have in your designer arsenal right now if you are serious about adopting HTML5 development into your daily workflow.
20 Useful jQuery Plugins for Responsive Web Design
Responsive layouts allow the website designers to offer specific and optimized screen size based on a wide range of devices, PC, mobile phones, tablet and iPhone. jQuery can help you to optimize the layouts of a website on different devices.
38 Useful and Effective jQuery Plugins for Responsive Web Design
In today’s post we have gathered jQuery plugins for responsive web design.
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.
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
Basics Of WordPress Theme Design
In this post we’ll look at the different aspects of WordPress theme development, starting with the fundamentals and then moving swiftly onto the basics, template tags and the more advanced files.
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.
Get to Know the WordPress Hierarchy
I have put together this post that examines the WordPress template hierarchy and the use of conditional statements. Technically you only need two files for a WordPress theme to work, index.php and style.css.
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.