background preloader

Création de site web

Facebook Twitter

jQuery

50 Banques d'images pour illuster un site. World Wide Web Consortium (W3C) Permalinks et Custom post type ou custom taxonomy. Depuis la version 3.0 de WordPress 2 fonctions extrêmement utile ont fait leur apparition. Les fonction register_post_type et register_taxonomy permettent respectivement de créer de nouveaux contenus et de nouvelles taxonomies. Bien que très pratique et relativement facile à utiliser, ces deux fonction peuvent poser des problèmes notamment au niveau des permalinks. Lorsque vous déclarez une des deux fonction register_post_type ou register_taxonomy deux éléments sont déterminants pour faire fonctionner les permalinks. Prenons l’exemple d’un type de post que l’on vas appeler “Fruit” et de la taxonomie “couleur” : Dans notre exemple le nouveau type “fruits” aura comme préfixe dans les url l’élément “fruit”.

Ainsi on pourra avoir des URL sous la forme : De même, la taxonomie ‘couleur’ aura comme préfixe dans les url ‘couleur’. Le deux éléments a bien configurer dans l’exemple ci-dessus sont ‘query_var‘ et ‘slug‘.

PHP

How a Web Design Goes Straight to Hell. Site-Perf.com - Know all about your site performance. Configuration server. WordPress Caching: What’s the best Caching Plugin? Your WordPress blog getting sluggish? Caching is a great technique for speeding up your blog and the WordPress community has a lot of caching plugins to choose from. Lets review each one and find out which caching solution will work best for your WordPress blog. Newer versions of these plugins may be available These benchmarks may not accurately reflect the current version of any of the plugins listed below.

For those who ask, Tutorial9 uses W3TC. What Is Caching? Each time you visit your blog, WordPress will go through a sometimes lengthy process to build everything you see. If you enable caching only the first visitor will go through this entire process. Benchmarking I will be using Apache Benchmark to grade the effectiveness of each caching solution. I will be running 1,000 requests at 10 concurrent or the number of parallel requests then taking the average of 3 tests ran at various times of the day. No Cache First we are going to run a benchmark with caching completely disabled.