Astuces utiles avec wp-config de WordPress. WordPress CMS › Plate-forme de publication › WordPress Geekeries. Les plugins pour bien commencer : l’expérience utilisateur. Tout savoir sur la gestion des miniatures (thumbnails) avec WordPress.
Depuis la version 2.9 de WordPress, les miniatures d’articles ont fait leur apparition sous la forme d’un module « Image à la une » dans l’éditeur.
Ces miniatures nécessitent que le thème prenne en charge une telle fonctionnalité ce qui est encore loin d’être le cas. Je vous propose donc de suivre ce tutoriel pour rendre compatible votre thème et de bénéficier ainsi d’une fonctionnalité au combien utile. La plupart des blogs actuels affichent une miniature pour accrocher le lecteur à côté du titre et de la description d’un article. C’est le cas sur WordPress Channel et sur un nombre incalculable de blogs.
Activer la prise en charge des miniatures d’articles Pour activer la prise en charge des miniatures, rendez-vous dans le module Apparence puis Éditeur. Editez ensuite le fichier functions.php et rajoutez les lignes de code suivantes : Getting Started With WordPress Shortcodes. In this article, you will be given a detailed explanation of WordPress' shortcode API and learn how to create a shortcode... the right way.
Twenty Eleven Theme. Twenty Eleven is the default theme for WordPress in 2011.
There are tons of really cool improvements and features packed into it — more Post Formats, beautiful new header images, alternate color schemes and layouts, even custom link colors. All those features add up to the best part of Twenty Eleven: just how customizable it is. It looks great as a blog, a showcase of all your posts, and even a tumblelog or photolog. Post Formats Twenty Eleven features seven Post Formats that help the look of your blog posts better match what you’re publishing. The Aside Format is for shorter posts of about 1 paragraph. The Link Format looks a lot like the Aside post but if you’re using the Twenty Eleven Ephemera Widget to display a list of your recent Aside and Link posts (found in Appearance → Widgets) the title of your Link posts will point to the URL of the first link in your post instead of pointing back to the post on your blog.
The Gallery Format is meant for posts using the Gallery shortcode. Handy WordPress Code Snippets for Your Themes Part 2. Ive mentioned before abuot the importance of having an army of useful code snippets and functions you can use when coding your WordPress themes, I found this really cool website which lists loads of them so check it out.
Today’s post is a roundup of some of the most handy ones I could find. Pagination without a Plugin. How to Display Recent Posts in WordPress. Displaying Recent posts often helps your users to visit them easily specially on the sidebar of a single post page.
But in some designing processes people want to display recent posts in many different ways. In this post, we will show you various different ways you can display the recent posts in WordPress. Displaying Recent Posts in a List Format The list format is mostly used in sidebars of WordPress pages. You can display the recent posts by simply pasting the following code in a template file of your choosing for example sidebar.php: You can change the number 10 to the number of posts you like to display.
45+ Fresh Wordpress Tutorials, Techniques and Hacks. In this article we have collected 45 fresh WordPress tutorials and techniques, with some hacks, guides and best practices thrown in for good measure.
Everyone, not just developers, should take something from this round-up. The growth and popularity of WordPress continues to spiral to a seemingly endless end. How to Create a Theme Development Environment for a Live WordPress Site – Inspect Element. 11th January, 2010 Tom Kenny Tutorials Any good website owner knows that they need to be constantly looking at ways to improve their site even through small little tweaks.
5 Ways To Include Template Files In WordPress. As long as you work with WordPress, you’ll realize that some code is repeated itself many times, like the loop.
The new Twenty Ten theme in WordPress 3.0 has put loop code in into a loop.php file to make it separated, and when it’s needed, just include it into theme file. Why don’t we follow that? 10 Exceptional WordPress Hacks. Advertisement One of the reasons people love WordPress so much is its great flexibility.
You can change the software’s appearance with themes. You can enhance its functionality with plug-ins. And, last but not least, you can totally unleash WordPress’ power with hacks. Some time ago, we wrote a post showing 10 Killer WordPress Hacks1. Today, let’s do it again with 10 new and totally killer WordPress hacks to make your blog stand out from the crowd. You may be interested in the following related posts: 1. The problem. The solution. Main Page. WordPress Francophone.
10 Useful WordPress Loop Hacks. Advertisement The loop is a very important aspect of WordPress blogs.
In fact, the loop is what allows you to get posts from your WordPress database and print them on the screen. A set of useful and user-friendly functions, the loop is incredibly powerful. With it, you can get a single post, a list of posts ordered by date, title or category, a list of posts written by a specific author and much more. 4 Ways to Loop with WordPress.
At the heart of the WordPress theme template is the venerable WordPress loop. When you’re looking at your index.php file, for example, the loop is the part that typically begins with if(have_posts()) and contains all the tags and markup used to generate the page. The default loop works perfectly well for most single-loop themes, but for more advanced designs with stuff like multiple and custom loops, more looping power is needed. Fortunately, WordPress provides plenty of flexibility with four ways to loop: Function Reference/query posts.
Function Reference/query posts Languages: English • Italiano • 日本語 • 中文(简体) • Português do Brasil • (Add your language) Description Note: This function isn't meant to be used by plugins or themes. As explained later, there are better, more performant options to alter the main query. query_posts() is overly simplistic and problematic way to modify main query of a page by replacing it with new instance of the query. It is inefficient (re-runs SQL queries) and will outright fail in some circumstances (especially often when dealing with posts pagination). The Loop in Action. The Loop in Action Languages: English • Español • 日本語 • 中文(简体) • Українська • Русский • (Add your language) Introduction "The Loop" is the main process of WordPress.
You use The Loop in your template files to show posts to visitors. You could make templates without The Loop, but you could only display data from one post. Before The Loop goes into action, WordPress verifies that all the files it needs are present. If the user didn't ask for a specific post, category, page, or date, WordPress uses the previously collected default values to determine which posts to prepare for the user.
After all this is done, WordPress connects to the database, retrieves the specified information, and stores the results in a variable. Super Loop: Exclude Specific Categories and Display any Number of Posts. Readers occasionally ask for help with their WordPress loops. Usually, these requests involve modifying the loop with some customized functionality. Frequently, such customization involves one of these popular behaviors:Exclude a specific categoryExclude multiple categoriesDisplay only one post or excerptDisplay some fixed number of postsPlay nice with additional loops on the same page In this article, I present the swiss-army knife of WordPress loops.
This highly versatile, “super” loop is standard WordPress code, easily implemented, and fully equipped to handle all of the custom behaviors mentioned above. Further, the PHP employed is self-contained, making it ultra-easy to pimp it up tough with your own (X)HTML markup. The Complete Code As is our custom here at Perishable Press, we present the full code offering right up front.
Configurer WordPress pour le référencement naturel. Top 10 Content Slider Plugins for Wordpress. No web design trend has become as wide-spread and as popular recently as the content slider, they are everywhere! And rightly so, not only do they offer a marvelous method for displaying a lot of content in such a minimal space, they are also a great way to highlight your best and most popular articles and content.
Here are our top 10 content slider plugins for WordPress: Front Slider WordPress Plugin Front Slider, with its smooth sliding effect, will allow you to display an unlimited number of posts including images and thumbnails. You can set the speed, duration and whether or not to allow it to auto-rotate. Défilement infini sur WordPress avec Infinite Scroll. Custom Menus. If you have a theme that supports the Custom Menus feature, you can create and arrange a group of navigation links for your visitors to find the important parts of your site faster.
Most Custom Menus will show in the header area at the top of your site (the main navigation area), though this location can vary from theme to theme. With some themes, you may have the option to create and display multiple custom menus in different places on your site, such as the footer or special sidebar areas. Creating a custom menu allows you to do the following things: Change the order of pages in your menu, or delete them! Create nested sub-menus of links, sometimes referred to as “drop-down” menusCreate links to category pages allowing you to collect together posts based on that categoryAdd custom links to other sites, such as a link to your Twitter or Instagram profile To create a custom menu, go to Appearance → Menus in your dashboard. Jetpack by WordPress.com. The Welcomizer. 125 High Quality Free WordPress Themes Of All Time. We all know that WordPress is the best blogging platform. One of the major factor of its popularity is its huge community.
Premium WordPress Themes. Comment utiliser les « shortcodes » de WordPress. Que sont les shortcodes et comment les utiliser ? Shortcodes Ultimate. » WordPress 2.5 Shortcodes » BlueDog. First I touched on the topic in my first impressions of WordPress 2.5. Then I whined a little about the tickets relating to them, and eventually I released my Google Maps Plugin that uses them. In the end, WordPress’s new shortcodes are really nice. What are they? 10 Awesome Shortcodes For Your WordPress Blog. Shortcode API. Shortcode API.