Welcome To Snipplr
Everyone's Recent PHP Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Con esto añadirmos un mensaje de alerta en el backend de Wordpress como los de actualizaciones y demás del propio CMS. 
El código se añade en el archivo function.php del theme.
        
        
        
            0 
        
        
            1147 
        
                    posted 14 years ago by skozz
            Create a Hello World module in the Magento system
Configure this module with routes
Create Action Controller(s) for our routes
        
        
        
            1 
        
        
            1474 
        
                    posted 14 years ago by necode
            Save config: http://inchoo.net/ecommerce/magento/how-to-programmatically-change-magentos-core-config-data/
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/how_to_add_a_custom_module_for_custom_admin_...
        
        
        
            0 
        
        
            1131 
        
                    posted 14 years ago by necode
            Every developer has favorite tools and a workflow that’s unique from other developers, so I won’t dictate which specific pieces of software you should use. Instead, for each piece of your development environment, review some choices if you don’...
        
        
        
            0 
        
        
            1012 
        
                    posted 14 years ago by necode
            Ordena alfabéticamente el array $friends['data'] obtenido con la api de facebook.
        
        
        
            0 
        
        
            2443 
        
                    posted 14 years ago by serialk89
            [Related SQL query to create the storage table](http://snipplr.com/view/56995/sql-query-to-create-a-table-in-mysql-to-store-tweets/ "Related SQL query to create the storage table")
        
        
        
            0 
        
        
            2344 
        
                    posted 14 years ago by eddequincey
            http://codemagento.com/2011/04/observers-and-dispatching-events/
        
        
        
            0 
        
        
            2000 
        
                    posted 14 years ago by necode
            If you wanna use images stored by K2 in your custom scripts/classes you'll need to know how K2 generates the names... (took me quite a bit to find that, because they're not stored in the _k2_items table)
        
        
        
            0 
        
        
            1295 
        
                    posted 14 years ago by iroybot
            Esta es la primera parte del desarrollo de una app para facebook, se separará en 4 archivos mas o menos. Este es el primero y es el arhivo que contiene la información de la app y hace las conexiones pertinentes y las validaciones. nuestro archivo s...
        
        
        
            0 
        
        
            1070 
        
                    posted 14 years ago by serialk89
            This was for a customer. 
Basically it does this:
If a page has no children, it shows ... nothing, 
if a page has a parent, it shows all other children of this parent (siblings) and the current page
if a page has a parent AND children (3rd level)...
        
        
        
            0 
        
        
            2244 
        
                    posted 14 years ago by zartgesotten
            Refer to the following:
http://codex.wordpress.org/Class_Reference/wpdb
        
        
        
            0 
        
        
            3029 
        
                    posted 14 years ago by redconservatory
            A great plugin for Wordpress:
http://podscms.org
Currently does not play well with plugins that use custom fields but this will change in version 2.
For more information, refer to:
http://mondaybynoon.com/2010/01/04/introduction-to-pods-cms-w...
        
        
        
            0 
        
        
            1287 
        
                    posted 14 years ago by redconservatory
            Magento first steps - for dev server.
Creating Robots.txt file.
        
        
        
            0 
        
        
            1063 
        
                    posted 14 years ago by necode
            n nextgen-gallery/view/gallery.php, find these lines. Either comment out or remove.
        
        
        
            0 
        
        
            1113 
        
                    posted 14 years ago by xcsteve99
            Cut-and-paste the following into your functions.php file (inside of your theme folder).
Change the Name-goes-here to whatever you want.
        
        
        
            0 
        
        
            1382 
        
                    posted 14 years ago by redconservatory
            
