background preloader


Facebook Twitter

Catégorie:Portail:Animation/Articles liés. Postman. WP REST API v2 Documentation. The WordPress REST API is more than just a set of default routes.

WP REST API v2 Documentation

It is also a tool for creating custom routes and endpoints. The WordPress front-end provides a default set of URL mappings, but the tools used to create them (e.g. the Rewrites API, as well as the query classes: WP_Query, WP_User, etc) are also available for creating your own URL mappings, or custom queries. This document details how to create a totally custom route, with its own endpoints. We’ll first work through a short example, then expand it out to the full controller pattern as used internally. Bare Basics So you want to add custom endpoints to the API? Let’s start with a simple function that looks like this: <? To make this available via the API, we need to register a route. We need to pass in three things to register_rest_route: the namespace, the route we want, and the options. <? Right now, we’re only registering the one endpoint for the route. Namespacing Namespaces are the first part of the URL for the endpoint.

Untitled. Developer Resources. "found": 1341, "posts": [ "site_ID": 3584907,

Developer Resources

Ellefsen/wordpress-heroku-php - Buttons - Heroku Elements. How to setup WordPress on Heroku with the Heroku Buildpack for PHP This will set up a fresh WordPress install on Heroku with the newly released Heroku Buildpack for PHP. nginx - Nginx for serving web content.php - PHP-FPM for process management.wordpress - Downloaded from the Github WordPress Repo.MySQL - ClearDB for the MySQL backend.Sendgrid - Sendgrid for the email backend.MemCachier - MemCachier for the memcached backend.New Relic- Monitoring Getting started.

ellefsen/wordpress-heroku-php - Buttons - Heroku Elements

Geofire-js/ at master · firebase/geofire-js. Firebase-import/ at master · firebase/firebase-import. Firebase-import/ at master · firebase/firebase-import. React-firebase-boilerplate/ at master · collardeau/react-firebase-boilerplate. React-hot-redux-firebase-starter/ at master · douglascorrea/react-hot-redux-firebase-starter. Firebase. Le guide des pages AMP (Accelerated Mobile Pages) Si vous avez des questions sur les pages au format AMP (Accelerated Mobile Pages) dont Google est le principal acteur, lisez ce dossier qui compile absolument toutes les questions/réponses sur AMP.

Le guide des pages AMP (Accelerated Mobile Pages)

Article mis à jour le 23/08/2016 (AMP disponible pour le ecommerce), publié initialement le 03/03/2016. Panse / · GitLab. Prerequisites To run the examples you will need to have git and node installed.

panse / · GitLab

Components - UIkit documentation. All kinds of useful, additional components which are not included in UIkit itself.

Components - UIkit documentation

UIkit offers some advanced components that are not included in the UIkit core framework. Usually you wouldn't use these components in your everyday website. They include stuff like nestables and datepickers, which will come in handy, if you create advanced user interfaces like administration areas. Usage. Super Freelancer. Utiliser React en moteur de templates. Vous connaissez probablement tous des moteurs de templates.

Utiliser React en moteur de templates

En JavaScript nous avons Handlebars, Jade, EJS, Slim... Tous ces projets partent de bonnes intentions mais à l'utilisation, on peut sentir des limitations et donc de l'insatisfaction. Utiliser Handlebars par exemple, c'est un peu devoir coder tout un tas de helpers pour gérer une partie de votre affichage, ça peut vite devenir lourd.

Être restreint à une syntaxe limitée par choix est un peu frustrant. Quand c'est pas ça, c'est la syntaxe du moteur qui va être lourde. Blog Timeline – Notiz Theme. React-router/app.js at latest · reactjs/react-router. Rating-Widget: Star Review System — WordPress Plugins. Thumbs Rating — WordPress Plugins. I activated the plugin and I don't see the buttons You must specify where do you want to show the thumbs within your theme, check out the Installation instructions.

Thumbs Rating — WordPress Plugins

Can I customize the colors? Absolutely. Check out the CSS within the plugin (thumbs-rating/css/style.css) and override the classes from your theme's style.css file. When I sort the admin columns some posts disappear If the post/page has 0 votes for the column your trying to sort, WordPress hides it. 10 Useful WordPress Hook Hacks. Hooks are very useful in WordPress.

10 Useful WordPress Hook Hacks

They allow you to “hook” a custom function to an existing function, which allows you to modify WordPress’ functionality without editing core files. In this article, we have compiled 10 extremely useful ready-to-use WordPress hooks, along with examples and coding explanations. What Is A Hook? Link To achieve a particular effect on a WordPress blog, you have to modify how WordPress works. But modifying core files is always a bad idea. Still, developers need to overwrite some of WordPress’ functionality, which is why WordPress provides the Plugin API1. Use this SQL script when changing domains on a WordPress site. Whether you’re moving from an old domain to a new domain or you’re changing from a development domain to a production domain this will work. __STEP1: always backup your database. __STEP2: chan. Wordpress-pecl-memcached-object-cache/ at master · tollmanz/wordpress-pecl-memcached-object-cache.

Homepage. React Developer Tools. Apeman-react-captcha. Apeman react package for captcha component.


Installation. The best way to load external JavaScript - NCZOnline. Posted at July 28, 2009 by Nicholas C. Zakas Tags: Blocking JavaScript Performance Not too long ago, I wrote about loading JavaScript without blocking by creating a dynamic <script> tag. When <script> tags are in the flow of an HTML document, the browser must stop rendering and wait for the script file to download and execute before continuing (example). Creating a new <script> tag via JavaScript avoids this issue because it’s out of the flow of the document, so the script file is downloaded and executed without waiting. How To: Get A Facebook Application Access Token. Postcss/postcss. Let's Encrypt.

Design Considerations: Text on Images. By Chris Coyier On I enjoyed Erik D. Kennedy's post 7 Rules for Creating Gorgeous UI (Part 2). In it, his Rule 4 is: Learn the methods of overlaying text on images. I thought we could take a look at all his points, code them up, and note anything that comes up technically. Tinting The image should be dark, and not have a lot of contrast-y edges. Picking an image is up to you, but let's say it isn't particularly dark.

Manuel PHP - Définit le formateur pour le décalage horaire. (PHP 5 >= 5.5.0, PECL intl >= 3.0.0) Creating and Using a self signed SSL Certificates in debian. This document covers a very specific, limited purpose, but one that meets a common need: preventing browser, mail, and other clients from complaining about the certificates installed on your server. Not covered is dealing with a commercial root certificate authority (CA). Instead, we will become our own root CA, and sign our own certificates. (These procedures were developed using OpenSSL 0.9.6.) Quick Start Those who want to start creating certificates right away without reading this whole document should skip to the summary at the end. Gravity-forms-skeleton/gravity-forms-skeleton.php at master · envex/gravity-forms-skeleton. Programmatically Trigger Gravity Forms Notification - by @gravityplus. Christocracy/cordova-plugin-background-geolocation. Ios - Fix Cordova Geolocation Ask for Location Message. Mod_ssl: The Apache Interface to OpenSSL.

Creating a Self-Signed SSL Certificate. Ssl Table of Contents When using the SSL Endpoint feature for non-production applications, you can avoid the costs associated with the SSL certificate by using a self-signed SSL certificate. Though the certificate implements full encryption, visitors to your site will see a browser warning indicating that the certificate should not be trusted. Loading CSS without blocking render by Keith Clark. This article demonstrates a technique to get content in front of visitors as quickly as possible by asynchronously downloading stylesheets to prevent them from blocking page render.

Warning! I posted this with the best of intentions, but it would be irresponsible not to make readers aware of the following issues. Community feedback is coming in thick and fast (something I'm very grateful for) and it's becoming apparent that this technique isn't as robust as I'd hoped. Despite my testing and using it successfully in my own work, many developers are seeing issues in IE and Firefox (apparently crashing FF beta) while others are reporting success in Chrome and Safari. My advice right now is: DON'T use this in production. The principles behind these techniques aren't new. Internet Explorer for Mac the Easy Way: Run IE 7, IE8, & IE9 Free in a Virtual Machine.

If you’re a Mac user that requires the usage of Internet Explorer under Mac OS X, you’ll find your choices are generally as follows: run IE on top of Mac OS X with Wine which can be slow and buggy, dual boot Windows and Mac OS X which is a nuisance because it requites rebooting, or use virtualization with something like Parallels, VMWare, or VirtualBox. Virtualization is generally the best method because you can run IE and other Windows apps directly atop OS X, but some of the VM software is expensive and you still need a Windows license key, right?

Wrong! Run Internet Explorer 7, 8, 10, & 11 in Mac OS X the Easy & Free Way We’re going to walk you through how to install Internet Explorer 7, 8, 9, 10, and 11 in a virtual machine running Windows, directly in Mac OS X – for free. Notes: the admin password for all of the IE VMs is “Password1″ without the quotes. Installation size per IE Virtual Machine is about 11GB, to install all Windows VM’s it will take about 48GB of disk space. WP Resize, optimize and compress all of your images with the incredibly powerful and 100% free WordPress image smusher, brought to you by the superteam at WPMU DEV! Award Winning Image Optimization. Download Nulled AppPresser - Mobile App Framework For Free - Page d'accueil - Mont-de-l'Enclus. SaschaGalley/grunt-phpunit. Automated Testing « Make WordPress Core. This is an overview of running and writing tests for WordPress.

Automated testing is running test cases where manual intervention is not required to run each one. This is usually in the form of writing test suites which have multiple test cases and a library and command line tool that runs the test suite or suites. The test suite execution is usually manual, from the developer choosing which suites on the command line to run, but this isn’t required. The process could be automated and looked over from time to time to ensure that when the code changed, no problems were introduced. Installation # 1. On Windows and having trouble? Note: Multibyte String support (php-mbstring) needs to be installed to run PHPUnit tests. 2. 3. 4. Localeconv. Localeconv — Lit la configuration locale. Cachify - Caching für WordPress. Quick Setup: Apache Worker, FastCGI, PHP-FPM and APC.

I'm not going to go into great depths in this post, I'm mainly going to go through setting up Apache MPM Worker, PHP-FPM, FastCGI (mod_fastcgi, not mod_fcgid) and APC with an almost minimal configuration. I'm using Ubuntu 11.04 to demonstrate, though the steps should work for most Debian based, and generally most distro's apart from the package management and location of configuration files. I know 11.04 is a bit out of date but I'm waiting for Precise Pangolin to be released to upgrade to a LTS. This setup also allows the APC cache to be shared among PHP processes. The point of all of this was to change away from Apache Prefork to Apache Worker as serving static files with mod_php running in a limited memory environment is devastating to available memory. I am quite happy with this set up so far, and haven't had problems with it at all. Getting Started with PHPUnit – The PHP Testing Framework. Transférer un site entre 2 serveurs release 2 OVH.

Bon, je sens que ça va être long, il va falloir s’accrocher. Ca fait un bout de temps que je me suis promis d’écrire ce billet tant la question revient de manière régulière sur les forums OVH (tiens, pas plus tard qu’il n’y a pas longtemps, ici). Fainéant que je suis, j’en ai toujours différé la rédaction vu la grosse tartine que cela représente. Cette fois, j’y vais. Tweaking BatCache to play nicely with Woocommerce. Creating Cache Groups with vary_cache_on_function – VIP. Overview # ↑ Top ↑ The Scenario # WP Redis. PageSpeed System Integration - PageSpeed Module. Configuring Caching PageSpeed requires publicly cacheable resources to provide maximum benefit. As discussed in the "Cache Extender" filter, the origin TTL specified in the server configuration file dictates how quickly changes made to the source can propagate to users' browser caches.

However, using PageSpeed, resources referenced statically from HTML files will be served with a one-year cache lifetime, but with a URL that is versioned using a content hash. VPS OVH – Partie 1 : Configuration. Advanced Configuration - Web Tracking (analytics.js) Features. Flockport. Using APC with HHVM / Nginx. Installation — Navigator 1.0.0 documentation. Actions - wordpress hooks run sequence. Markjaquith/WP-Stack. Wordfence Security.