The WordPress Mullet Plugin

The other morning I noticed a new WP theme called “Mullet”. Loving all things mullet, I checked out the page and some of the links on it.

I eventually arrived at Mullet Layout: A user-friendly front page and thought it’d be nice if you could just activate a plugin to get the user-friendlier mullet display of posts, instead of switching or modifying themes.

Not finding a plugin, I set out to write my first WordPress plugin. One day of frustration at The Loop (multiple loops, actually) and lots of perusing source code later, I’m pleased I can now give the whole world a mullet. Well, the WordPress world, anyway.

Download the Mullet plugin (version 0.4): 4.95kb

When you add the plugin to WordPress it’ll create a new Options sub-menu called Mullet where you can control what your list looks like, how long it is, etc. It’s pretty flexible.

Scroll to the bottom of this page (or the bottom of the my Home page to see what it does.

For more information on mullets (both hair and data related):
Wikipedia: Mullet (haircut)
Mullet Layout: A user-friendly front page
Mullet style blog layout

Version History

  • 0.4 2006-09-30 – Added ‘Page’ options and sample code (WP 2.1 Compatible, Tested 1/20/2007 on WP 2.1 RC2).
  • 0.3 2006-09-27 – Fixed html character encoding bug in titles/post names.
  • 0.2 2006-05-25 – Added date formatting option, per request.
  • 0.1 2006-05-11 – Initial (public) release.

Comments, suggestions and gratuitous praise welcome.

Join the Conversation

79 Comments

  1. on a side issue, how do you get your CSS formatting for the JB comments to be different to other commentors? do you use a specific plug? if you have your own code, could you post this code somewhere on your blog?
    i really like it and it helps the flow of reading.

  2. The commenting decoration is plain out-of-the-box Regulus – the nicest WP theme I’ve found. I’ve seen other WP designs I like better, but not available as themes.

  3. Hi JB,

    I’m from Turkey and I think

    I want to see my posts on only the another page. I set up the plugin and activated. I said all to “How many “previous entries” should appear on ‘Pages'” at options

  4. I haven’t tested it yet, but I got the notice about WP2.1 coming, and looked at the short list of things that might have to change in plugins to be compatible.

    The WP Mullet plugin already passes those requirements, so it should be ready for WordPress 2.1. I’ll upgrade to it as soon as it’s ready and test the plugin here for compatibility, releasing a new version if necessary.

  5. Sidebar? Sure, it’ll go in the sidebar. I just added it to the bottom of my sidebar to show the code:

    $ubm = new us_broome_mullet;
    $ubm->mulletize(1);

    I didn’t add any CSS or anything it… but it goes there just fine.

    Questions? πŸ™‚

  6. Noted this above as well, but here’s another mention. Mullet 0.4 is WP 2.1 Compatible, as of testing on January 20, 2007, using WP 2.1 RC 2

  7. Hi Pete,

    You didn’t give much info, so pardon if this is redundant:

    The Mullet plugin won’t automatically appear on your sidebar.
    First, the plugin has to be activated
    Second, you have to set your preferences for the number of items to appear.
    Third, you’ll have to modify your sidebar template to call the mullet code to make that content appear (there’s an example above, as well as on the Mullet’s admin page)

    Last, consider upgrading to the latest version of WordPress. Has nothing to do with the plugin… it’s just a good idea. πŸ™‚

  8. Hi Pete,

    Sounds like you’ve got the mullet preferences set to use a pre-list tag of <ol> and post-list tag of </ol>
    Those create “ordered” (numbered) lists in web pages. If you just want bullets, change them to <ul> and </ul>. If you don’t want any bullets or numbers… I guess I’d keep <ul class=”mulletlist”> and </ul> and then add ul.mulletlist{list-style:none} to your CSS.

    I think the code you posted might have gotten cut-off by wordpress when you made your comment. It should have been:
    <?php
    $ubm = new us_broome_mullet;
    $ubm->mulletize(1);
    ?>

  9. to make your plugin fully XHTML compliant (in terms of negating warnings) why dont you add functionality to detect ‘&’ in the title and modify this to ‘&’?

    [Edited by JB: That’s a clever ploy – a nicely designed, almost web-design related blog pushing ads on the other 50% of its content. So I’ll leave your comment up, but the url comes out. Anyone who wants to can google for it. Good luck with that.]

  10. S128 Indonesian Cockfighting Site

    Gambling games that are extremely attached with the hearts of Indonesian individuals are known as
    s128 cockfight gambling. Looking from Indonesia’s historical record, cockfighting
    games have existed actually since the days regarding the dominion. This activity is not simply
    entertainment but is also portion of a culture passed down through
    years of Indonesian ancestors.

    Sadly, although this activity is a cultural heritage of thousands
    of years, typically the Indonesian government does not really discriminate in enforcing typically the law until
    finally it is extremely difficult to look for a place to play cockfighting in Dalam negri.

    Fortunately technology invented the internet because in typically the modern era
    like you can now again access exciting online games through an internet
    connection. Enough with the capital regarding electronic devices like laptops, computers or smartphones
    connected to the internet, you can immediately enjoy
    the particular excitement of playing.

    Presently there are indeed many online gambling
    sites that provide similar offers on the internet, but
    however not every of these kinds of sites can be trustworthy.

    Only a handful associated with sites have the ability to provide professional services which
    can be worthy regarding being obtained by clients as provided by the town of S128 Sabung
    Chicken.

    S1288 or better known as S128 has been existing for years serving
    every enthusiast of online game cockfight gambling throughout Asia, also the world.
    Hundreds of individuals are connected each week to be able to
    enjoy every match that may be presented and you may watch the particular match directly through the particular available live streaming.

    Presently there are many interesting characteristics that are owned by simply s128 as the finest chicken gambling bookie in Asia.
    The following are interesting functions that you ought to know:

    Live streaming!
    The first advantage you can get from playing cockfighting will be the availability of live loading chicken battles that usually are served in HD or even high definition quality.
    It looks very clear so that you won’t miss a single bit of excitement employing S128 as your on-line gambling partner.

    Various competitions are available
    There are several competitions that you take part in all the time so no need to be
    afraid you may not get a online game because with s128 chicken matches will be present each day and
    you may enjoy the range of games you want.

    Attractive Bonuses and Special offers
    Customer comfort is the top priority for all of us.
    Consequently, this site has provided many interesting bonuses and
    promos that you can follow as an established member. These bonuses and promos are given since thanks from s128 to be able to customers for choosing all of them as partners to play online gambling.

    How in order to Play Chicken Gambling on S128
    All you require to do first before starting the game will be to register
    yourself since a member on typically the Betberry site.
    It’s easy, visit the official Betberry website and your enrollment
    menu. Complete the registration process and you
    may immediately get a user ID plus password that you will later use
    to log into the game.

  11. – report / Coins

    After you buildup the grant that you deposited will become report or
    coins in the online slot gambling. version or coin is what you can difficult use to bet and usually savings
    account or coin can be found in the subjugate left corner of
    the machine or online slot screen.

    – Jackpot

    The biggest prize you can acquire past you win a slot is called the jackpot.
    Usually players can win the jackpot in the same way as betting maximum
    upon each round. counsel upon the number of winning jackpots can be seen in the paytable / payment table.

    – Pay table

    In all online gambling, you will find pages or sections that portray what he can acquire in the
    slot game. in video slots usually upon the screen, the payment table
    will show you how to motivate bonuses or how supplementary betting features work afterward scatter or
    wild symbols.

    – future Jackpot

    Progressive jackpots lonesome exist on a number
    of specific machines and are owned by one provider.

    The provider will pay the dealer or agent where the
    game is visceral marketed. A forward-looking jackpot will slowly enlargement
    next won by the player.

    That’s how many terms you have in slot games that you should know about,
    you can look in more detail in the instruction center in the
    online slot games that you play.

  12. Some individuals alternatively pay a lot money at one time
    to lift the likelihood of profitable. The system where betting
    cash is thru your financial institution is secure to work with,
    and the transaction is all the time between your account and the Ladbrokes.
    Easy system described in steps. Many are easy individuals just struggling to get by.
    This information offers all the information you want to
    get into the game. However the factor is that to extend your chances of winning, you need to place a guess every
    day. As an alternative, you’ll be able to get all the data you need
    from that very same site. As long as the owner of the Bitcoin takes
    care of it properly utilizing a high-security wallet and two-issue authentication, it will be extraordinarily difficult for anyone else to get access to their
    funds. At any point, however, the bookie can soar in and make changes to the lines
    that are available to his gamers if knows he might be getting heavy one sided motion.

    If you are a kind of individuals who doesnt like cats, Im sorry to hear that.
    For the above example, it might appear to be -7.5 (-110).
    Different gamers can legally purchase Mega Tens of millions Lottery tickets online by the lottery agent you see mentioned
    above. For instance, MEGA Hundreds of thousands is a multi-state lottery and it operates in 11 states.
    As an example, you would not need to select just any race horse in hopes of winning a wager.
    5. Guess on sports activities by inserting your wager. Once you click on the sport
    of your choosing make sure you bookmark the web page so you will
    at all times have probably the most present and updated sports activities betting
    odds at your disposal. On this methodology, chances are you’ll select
    a low quantity from the given set corresponding to 1-50 like 1.
    Some profitable numbers have two consecutive numerals, although not on a regular basis.
    And then with the time you saved do one thing more productive than you’ll have achieved appearing
    like a poor person.

  13. Sbobet is a trusted gambling site that operates to
    serve all fans of online gambling in the world. Founded in 2010, it didn’t acknowledge long for Sbobet
    to become the biggest online site in Asia and in the manner
    of it comes to the amount of betting child support that rotates every week,
    Sbobet is furthermore one of the biggest sites in the world.

    Sbobet is totally popular, especially in the midst of Asian bettors, the explanation is that the site has
    been awarded as the best gambling operator for two years in a row.
    It offers a variant of football betting taking into consideration unquestionably low margins taking into consideration compared to other sites in its class.

  14. With havin so much content do you ever run into any problems of plagorism or copyright violation? My blog has
    a lot of unique content I’ve either written myself or outsourced but it seems a lot of it is popping it up all over the internet without my authorization. Do you know
    any methods to help reduce content from being stolen? I’d truly appreciate it.

Leave a comment

Your email address will not be published. Required fields are marked *