Latest Articles
Since we presented wpXtreme we realized that many have not understood what this project has potential. With this first article I would like, as well as CTO of wpXtreme Saidmade , explain everything that we have done and are doing to make wpXtreme something unique.
What wpXtreme?
wpXtreme is a project, a stratup if you prefer, but really - or physically - what products or services are we talking about? In the first instance wpXtreme is primarily a WordPress plugin for free download (soon) that provides immediate access to a number of improvements and services:

More ...
I am now about 4 years since I founded with my two partners Saidmade Nicola and Matteo , 4 years were very intense, full of satisfaction, but in some ways also very tiring. Since the beginning of this journey, we believed in an opensource project which is now considered the top: WordPress .
We spent days and days to do research and development on this platform and we can safely claim to have "turned inside out". I made this little introduction to introduce the new startup and we're working on where we are concentrating all the experience accumulated over the years: wpXtreme .
More ...
WordPress offers many ways to access the names of folders and build new ones. Here's a useful list with examples performed, to be more clear, from a subfolder located in a hypothetical plugin:
Plugins
We begin with plugins_url() used to determine and build url when you write a plugin.
plugins_url ()
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| / / If this line is performed by / / Http://www.miosito.com/wp-content/plugins/my_plugin/classes/test.php
plugins_url ( ) ; $ R = plugins_url (); / / Http://www.miosito.com/wp-content/plugins/
plugins_url ( 'myscript.js' , __FILE__ ) ; $ R = plugins_url ('MyScript.js', __ FILE__); / / Http://www.miosito.com/wp-content/plugins/my_plugin/classes/myscript.js
plugins_url ( 'assets' ) ; $ R = plugins_url ('assets'); / / Http://www.miosito.com/wp-content/plugins/assets
trailingslashit ( plugins_url ( 'assets' ) ) ; $ R = trailingslashit (plugins_url ('assets')); / / Http://www.miosito.com/wp-content/plugins/assets/ |
More ...
negli argomenti passati negli inputs. Through get_posts() you can select a sequence of exact post using the parameter post__in in arguments over the past inputs. . The order, however, is not consistent with the sequence indicated as WordPress performs checks on the clause ORDER BY in the select statement, even though version 2.8 is available from the value of none .
More ...
I was asked what the advantage or disadvantage in the use of anonymous functions or inline (or onfly), used heavily in Javascript, and now with 5.3, also in PHP.
An inline function, or anonymous because he has not - in fact - a name, is a quick way to write some procedures, indenting tree sequences callback example. Almost all languages support functions of this writing, to limit each with its peculiarities and restrictions. They may also have different names and syntax details, such as the so-called blocks in Objective-C.
More ...
Snippets
Working with a Custom Post Type (CPT) is natural to use the internal functions of WordPress to view and filter the posts of this type. Whether using the get_posts () is that you create an object directly WP_Query, it's very comfortable to create loops on their personal types of posts. WordPress also allows for filters [...]
More ...
When adding fields to add pages and posts, or to get Custom Post Type (CTP), you have to record an action to save these new data. The implementation of this procedure is essentially always the same, changing only the fields and how to save, the extra data can reside in the 'custom field', or the table post [...]
More ...
If you recorded your own Custom Post Type (CPT), especially if you type 'page', you could serve to determine if you are viewing that particular page, the 'single' so to speak. In this case it is useless to try is_page () or is_page_template (). The clean solution is as follows: 123456if (is_singular ('cpt_key')) {global $ post; if ($ post-> post_name [...]
More ...
With WordPress 3.3 and jQuery also all its modules have been aligned. Now it is possible to access the new list of modules in the latest release 3.3, such as the autocomplete. Here's a snippet for a good inclusion: 123456 / / modules that WordPress will load for us preparatory to the script "MyScript.js" $ deps = array ('jquery-ui-slider', 'jquery-ui-datepicker', 'jquery-ui -autocomplete '[...]
More ...
Tips & Tricks
When developing a product (website, blog, Facebook Application) online, if you have not been able to build an infrastructure development / operation may be necessary under certain circumstances to "off-line" service, for updates, or debug operations maintenance. WordPress, for example, can be disabled using simple and handy plugin, as Maintenance Mode.
More ...
If you are to develop in an environment where it is impossible to use debugging tools like FireBug, such as the Apple iPhone simulator in Xcode, it can become frustrating to find problems, including an incorrect access to all the properties of an object. Here the use of works alert () is fundamental!
More ...
Apple recommends using the instance of the object and not its NSFileManager meotodo defaultManager class, because it returns an instance singleton, that is always the same pointer to the object (not thread safe).
More ...
Tutorials
Rounding out the article How to: Custom fonts on iPhone OS 3.2 will propose that the sources of FontsBook, a simple iPhone application that shows a table all system fonts, grouped by family.
More ...
How to insert and use in our applications fonts personal iPhone / iPad, iPhone OS 3.2 + only
More ...
The UIView class exposes a pointer to the layer (CALayer), an object of lower level with countless possibilities. The layer provides a range of methods and properties related to displaying the contents of the view. For example, you can manipulate the contents of a view in three dimensional space. In the example I quote is interesting [...]
More ...
Reply to Mirko asking me how to make the opposite case proposed in How to get Latitude and Longitude in Objective-C. Starting from the values of Latitude and Longitude you can use the class MKReverseGeocoder to obtain a range of information, such as: city, state, address in full, chap!
More ...
Let me demonstrate how you can implement a simple Slideshow of images with very few lines of code, using jQuery. This technique can be implemented on any type of Web site, the important thing is to include the jQuery library. I used this technique to a site built in WordPress, developed in a few hours for an event.
More ...
The MapKit framework provides many useful features, except the return of Latitude and Longitude from an address. In JavaScript, for example, you can use the service provided by Google Geocoding and Google Maps discussed: how to get Latitude and Longitude from an address. On Apple iPhone or iPad, however, you can overcome [...]
More ...