Un plugin qui facilite l’administration d’un blog : WP Admin Bar

On le télécharge chez onemansblog.

L’idée est d’avoir une barre de liens permettant d’accéder aux différents menu de l’administration.

Dans la capture d’écran ci dessous on voit la barre d’administration qui s’est ajoutée au dessus du blog :

WPAdminBarReloaded.jpg

Installation.

  1. Télécharger le plugin (attention, prendre la version adaptée à votre version de WordPress).
  2. L’installer et l’activer normalement.
  3. Ajouter ces quelques lignes touts à la fin de votre fichier « style.css » ou « style.php » (appelé « feuille de style » dans le menu d’administration des thèmes en français):
    #wp-admin-bar {align:center; margin:0; padding:5px; background:#f9f9f9; border:1px solid #666; clear:both; text-align:center}
    #wp-admin-bar ul {margin:0; padding:0}
    #wp-admin-bar ul li {list-style-type:none; display:inline; margin:0 10px; padding:0}
  4. Ajoutez la ligne suivante dans « header.php » (appelé « en tête » dans l’éditeur de thèmes en français), immédiatement après la balise <body> :
    <?php if(function_exists('wp_admin_bar')) wp_admin_bar(); ?>
  5. Ca roule

Mon commentaire :

  • Dommage cette histoire de modification de thème, ce plugin est vraiment bien pratique.
  • Avec FireFox et Windows 2000, pas de problème mais avec FireFox et Debian Etch, voilà ce que j’obtiens :
    wp_admin_bar_pb_linux.jpg
    Les éléments se son mis les un en dessous des autres ! C’est peut-être un problème lié à mon thème du moment, iTheme ?

Tags : ,
Trackbacks Commentaires
  • musky00 dit :

    Egalement le problème de liste en bloc et non en ligne sur mon thème et ce quel que soit le navigateur.
    Résolution du problème chez moi : retirer clear:both; dans #wp-admin-bar.

  • libretto dit :

    Ce soir, sans avoir rien changé dans le CSS tout va bien maintenant avec IceWeasel. C’est vraiment bizarre. J’ai envoyé ton idée au créateur du plugin, on va voir ce qu’il en pense. Merci.

  • fantastic points altogether, you simply gained a logo reader. What could you recommend in regards to your post that you just made a few days in the past? Any positive?

  • Exactement ca reste a savoir dans combien de temps

  • Quick Change Arbor
    When you change out bits, it adds a lot of time to the work you are doing.

    Milwaukee offers a Quick Change Arbor which allows you to easily switch

    out bits without the fuss of having to lock them down. A simple twist and

    a push is all it takes to remove one bit and replace it with another.

    These fast changes offered from Milwaukee can help you to go through the

    different stages of projects in record time, allowing you to get even more

    done than you thought possible.

  • chambre20 dit :

    Affordable Quality
    When you are making an investment into Milwaukee, you likely do not want

    to have to break the bank just to get the tools you want to have. The good

    news is there are many different tools which you can buy which are very

    affordable. These prices make some of the best made tools in the industry

    available to everyone. This is one of the qualities which many people tend

    to focus on even though it is not one of the more important aspects.
    After looking into these three different qualities which set Milwaukee

    apart from the competition, you are likely ready to invest in one of your

    own. As soon as you buy one, you are likely to want to buy more. Get yours

    today and start enjoying everything that they have to offer you.

  • Are you interested in buying a boys dress shirts? There are a few things that need to be taken into consideration throughout the process in order to ensure that you get the best possible Dress shirt, for the occasion that you will be attending. When you are evaluating the different options available to you, start by looking at any thing that has been outlined regarding what you are expected to wear for the event. This will help you to narrow down your selection to only those dress shirts that are going to meet the criteria, and allow you to make a smart purchase. Three of the things that you need to take into consideration when shopping for a dress shirt, is the fate and coloring of the shirt itself, the quality of the materials that were used to create the shirt, and also the overall price compared to other shirts that you are considering.

  • pswd dit :

    MBT, or Masai Barefoot Technology, has always been known as a good exercise aid, but has not always been known for being very fashionable. To be honest, the first styles looked really dorky. But I, like a million others, bought these walking shoes for the plethora of benefits they provide including reduced back pain, an improved posture, and more worked and toned muscles which also helps burn more calories.

  • Nowadays, more and more people are buying these walking shoes because they have extended the line of styles and made them much more fashionable to wear. No longer do you have to feel weird wearing them in public. Taste and preference differ from one individual to another, but they have done a great job of offering styles for all walks of life and with varying needs.

  • Some will stick with the old faithfuls like the MBT Sport while others will look for the more stylish shoes like the Changa or the Tataga. You even have choices like walking sandals for spring and summer, and boots for fall and winter wear. They have a wider collection of fashionable footwear for more casual wear like the Tunisha and the Tembea, while still offering more fitness walking related shoes like the M.Walk and the Chapa.

  • weight brand dit :

    C’est vraiment bizarre. J’ai polo ralph laruen envoyé ton idée au créateur du plugin

  • Lester vous dit :

    L’idée est d’avoir une barre polo ralph laruen de liens permettant d’accéder aux différents menu de l’administration

  • version serveur dit :

    Dommage cette histoire de modification de tn requin pas cher thème, ce plugin est vraiment bien pratique

  • Julien Amaury dit :

    Les éléments se son mis les un air max pas cher en dessous des autres

  • other vehicles dit :

    L’idée est d’avoir une barre de liens permettant air yeezy 2 d’accéder aux différents menu de l’administration

  • différents menu dit :

    You even have choices like walking sandals for spring and summer and chaussures Timberland boots for fall and winter wear

  • adresse par dit :

    Three of the things that you need to take into consideration when air yeezy 2 shopping for a dress shirt

  • But I, like a million others, bought these walking shoes for the plethora of benefits they provide including reduced back pain,Chaussures Air Max 87 Hypefuse an improved posture, and more worked and toned muscles which also helps burn more calories.

  • cwalking shoes dit :

    L’idée est d’avoir une barre de liens survetement armani permettant d’accéder aux différents menu de l’administration

  • le-gymnase dit :

    Three of the things that you need to take into consideration when shopping for a dress shirt,http://www.le-gymnase.fr is the fate and coloring of the shirt itself, the quality of the materials that were used to create the shirt, and also the overall price compared to other shirts that you are considering.

  • This will help you to narrow down your selection to only those dress shirts that are http://www.gaypodcast.fr/tn-pas-chere-livraison-gratuite-chaussure-nike-tn-requin-pas-cher.html going to meet the criteria, and allow you to make a smart purchase.

Réagissez