Bookmark this site, you’re gonna need it

If you’re familiar with Joomla!, then you are all to familiar with Module Positions. Before you freak out over these Hooks, take a deep breath and look at the graphics. Then watch this video.

With the use of the Wordpress Plugin, Thesis OpenHook (written by Rick Beckman), you can take control of Thesis Hooks without stressing!

  • lisaangelettie
    Oh my gosh! Where you have been for the past few months? Love the graphics. So useful.
  • We've been right here since April last year :) Glad they are helpful!
  • Thank you very much. I'm fairly new to Wordpress, but Im happy that my designer Paul McEwan, added Hooks as a plugin. This post with all the positions explained is VERY helpful.
  • Guest
    Thank you very much. I'm new to wordpress, but I'm glad my designer put in Thesis Hooks..... this article and the pictures of all the positions is excellent.
  • ScottyWalker
    Greg, I use this site a lot and so lots of tks /r Scotty
  • ajsilvers
    Hi, I am trying to control the order of posts in my thesis powered site. I am currently having to fiddle the dates of posts (the site delivers training videos and i need them in a specific order).

    I found http://postmashfiltered.wordpress.com/ and installed the plugin. The admin area allows the movement of posts as per the plugin instructions but thesis does not execute the new order :(

    The plugin in suggests one modify the loop in the template's index.php but of course this does not exist in Thesis.

    Is there a hook I can use to modify the following?

    To make use of this chosen order you will need to modify your template code:
    Open wp-content/themes/your-theme-name/index.php and find the beginning of ‘the loop’. Which will start:
    if(have_posts())
    Then add the following code directly before this:
    <?php
    $wp_query->set(‘orderby’, ‘menu_order’);
    $wp_query->set(‘order’, ‘ASC’);
    $wp_query->get_posts();
    ?>

    Cheers

    AJ
  • If you wanted to manipulate the order of posts; you would need to create a sub-loop, and perhaps a custom homepage. Since it's frowned upon to change Thesis core files, the loop is not in "index.php" per say, but can be found inside /thesis_16/lib/html/

    Still, I wouldn't play around in there unless you absolutely know what you're doing.
  • Ryan
    I'm curious how you got the ad banner up in the top right corner of this page. Which hook is that tied to?
  • I created a new div and floated it "right" inside of thesis_hook_header.

    <div id="banner">
    <!-- BANNER CODE HERE -->
    </div>

    Then the custom .CSS would look like:

    #banner {
    float: right;
    }
  • Thanks for the program, it made my deciding factor to using Thesis.
  • Thanks for the photos. Very helpful. I wonder if you've done one for full-width framework. It includes hooks like "thesis_hook_before_content_area" that are full-width of the browser page. Thanks for your time.
  • SuGih
    I just added the Thesis OpenHook Plugin and having this visual guide definitely helps a lot. Thanks
  • Just the images I needed right now :-) Thanks
  • sharon
    I'm having trouble with understanding hooks. (I don't see any yellow bars on my screen) so I checked in with Thesis support,
    godhammer, at thesis support said, "OpenHook is a third-party plugin used by some to make on-screen (in WordPress) editing of custom_functions.php and custom.css more accessible. It also has a redundant php area that simplifies hooks, where "simplifies" is an opinion held by many, I do not personally feel it to be of great value, but I'll note some users feel strongly otherwise.

    As a plugin, OpenHook is not something "Thesis" (DIY Themes) can guarantee will work or upgrade alongside Thesis, and there have been a few recent issues reported with Openhook, though there are workarounds."
    So now I'm really confused about hooks, what are they? Is it just a way to describe the coding that is added to custom_php, and custom_css files? I'm not a programmer, just wanted to be able to customize a blog (that's why I paid for Thesis) but perhaps it is much more complicated than I thought. I know html and mid- css, but I never messed with php.
  • A hook is a module position. Actually, a hook is nothing more than a simple PHP Function. It's just code that is left "open", and placed in specific places in HTML for you to put "stuff" in.

    The Open-Hook plug-in was designed to make it easy for you to drop code into these PHP Functions, AKA "Hooks".
  • That rocks. I love the visual. Now to just get them printed out and posted next to my computer :)

    I love being able to use hooks with Thesis. It lets you do some really cool things site wide and play with things.

    Best set up I have ever found for a reasonably non techie person.
  • Thanks for that, you really made understanding hooks that much easier. I'm tingling with the possibilities now... Cheers!
  • Hey mate, thanks for the graphics. Is there any way to download them so I can print them out? I can only view them in the lightbox window on your site.

    Thanks!

    Frank
  • Thank you Rick for your awesome plugin and expanding my web design world!
  • Escalatoraccident
    Great Help for Thesis framework hook positions.

    Thanks! I just used it to fix something that has been bugging me on my new Thesis Wordpress site.

    Thanks agian.
  • What a really useful guide to hooks. I was going to do it all the 'old fashioned way' purely out of habit after buying Thesis the other day. Then I discovered the open hook plug-in and onto this page. Added you to Stumbleupon too.

    ~ Paul
blog comments powered by Disqus