assorted art tools arranged on a table

OpenHook, The Best Customization Manager Plugin for WordPress

You’re a self-host­ed Word­Press blog­ger, and you’ve final­ly picked out a beau­ti­ful theme for your site — that’s a tough feat, one I cer­tain­ly strug­gle with — and now it’s time to cus­tomize your site to fit your con­tent and your per­son­al­i­ty. There are a vari­ety of ways to go about doing that, but… how? Even for an expe­ri­enced user, sim­ple cus­tomiza­tions that typ­i­cal­ly require mul­ti­ple steps, includ­ing cre­at­ing a plu­g­in or child theme, can be tedious. But what if there is an eas­i­er alternative?

I want to intro­duce you to a two-part sys­tem so you’ll under­stand the pow­er of what I have to share with you.

Hooks and Actions

Meet the hooks and actions sys­tem. Word­Press has numer­ous hooks, or cus­tomiza­tion points, through­out its sys­tem, into which you can eas­i­ly add your own actions, or cus­tomiza­tions. Themes (and even plu­g­ins) can have their own hooks, and some themes cer­tain­ly have many more than others.

Let’s look at a very basic exam­ple to see how these work. A com­mon cus­tomiza­tion which you might want to make is to add your copy­right state­ment to the foot­er of your site. In many themes, you can accom­plish by adding your action (in this case, your copy­right text) to the wp_footer hook. The code would look like this:

function custom_add_copyright_statement() {
 echo '<p>Copyright &copy; 1603, William Shakespeare</p>';
}
add_action( 'wp_footer', 'custom_add_copyright_statement' );

Decent­ly sim­ple, right? But what if we could make that sim­pler? That’s where my free Word­Press plu­g­in, Open­Hook, comes into play.

OpenHook, the Customization Manager for WordPress

What is Open­Hook? In short, Open­Hook is a Word­Press plu­g­in that stream­lines the process of adding cus­tomiza­tions to your Word­Press site! But wait, there’s more!

Features

  • Cus­tomize the hooks present in your favorite themes! 
    • NEW! Define any hook you want with­in Open­Hook and add an action to it! In addi­tion to the fol­low­ing themes which Open­Hook sup­ports explic­it­ly, you can now use Open­Hook to cus­tomize ANY hook (even some­thing as arcane as theme_hook_before_meta_987) in ANY theme or plu­g­in that has ANY hooks, from Word­Press’ bare min­i­mum hooks to hooks that are dynam­i­cal­ly cre­at­ed and are as infi­nite­ly diverse as your site can be!
    • Hooks are explic­it­ly enabled for the fol­low­ing themes, but you’re by no means lim­it­ed to these alone! 
      • Flat (defunct?)
      • Head­way
      • K2 (defunct? // actions cre­at­ed with the K2 Hook Up plu­g­in can be imported)
      • The­sis 1.8.x (defunct)
      • Any theme that sup­ports Theme Hook Alliance hooks 
  • Open­Box, a PHP-friend­ly “box” for use in cus­tomiz­ing The­sis 2 (defunct)
  • Quick access to the head­er and foot­er hooks of WordPress
  • All hooks can be cus­tomized with text, HTML/CSS/JavaScript, PHP, or shortcodes
  • All actions cre­at­ed with Open­Hook can be selec­tive­ly disabled
  • A vari­ety of actions already present in Flat, The­sis 1.8.x, and Word­Press can be selec­tive­ly disabled
  • Hook visu­al­iza­tion allows you to see exact­ly where each hook is fired on the front-end of your site
  • Short­codes
    • , for mask­ing email address­es from some spam robots
    • [glob­al], which makes use of cus­tom fields on a draft page in order to pro­vide a library of reusable strings
    • [php], an admin-only short­code for includ­ing PHP code with­in posts 
  • Abil­i­ty to dis­able all shortcodes
  • Dis­play of phpinfo() in the admin panel
  • Options man­age­ment, includ­ing tools to upgrade from Open­Hook 2 and to unin­stall (delete) all Open­Hook options
  • Only users with the edit_themes per­mis­sion may access Open­Hook or its fea­tures. If enabled by such a user, oth­er users may use or [global] short­codes in their entries as well.

Requirements

  • An instal­la­tion of Word­Press 4.1 or new­er, naturally
  • The exec func­tion must not be dis­abled by your host if you plan to use Open­Hook to add PHP customizations

Open­Hook may work with old­er ver­sions, but giv­en the ease with which both of those soft­wares can be updat­ed, you real­ly, real­ly are encour­aged to stay up-to-date!

Installation

Open­Hook is avail­able from the Word­Press plu­g­in repos­i­to­ry, and so can be installed auto­mat­i­cal­ly from with­in your blog’s admin­is­tra­tion panel.

If you must do or just pre­fer the man­u­al method, Open­Hook is installed just like any oth­er Word­Press plu­g­in.

Download

Vis­it the Word­Press plu­g­ins repos­i­to­ry to down­load the lat­est ver­sion!

Support

For sup­port inquiries, please use the Con­tact pan­el with­in the Open­Hook itself, the plu­g­in repos­i­to­ry sup­port page, or the com­ments below!

Supporters

Open­Hook devel­op­ment has been sup­port­ed by the fol­low­ing gen­er­ous individuals:

Donate to Further Development

If you would like to sup­port Open­Hook devel­op­ment, you may do so in one of two ways. The sim­plest way would be a mon­e­tary dona­tion via PayPal:

Or you can buy me some­thing direct­ly from my wish list, there­by sav­ing me the trouble!

Open­Hook is released under the GPL and was both inspired and based upon K2 Hook Up.

Changelog

4.2.1

  • [fixed] load_plugin_textdomain() changed to prop­er­ly ref­er­ence the /languages direc­to­ry (thanks pm1932)
  • [changed] Local­iza­tion name­space is now thesis-openhook to con­form to Word­Press’ guide­line that this name­space match Open­Hook’s slug in the plu­g­ins repos­i­to­ry (see https://make.wordpress.org/plugins/2015/09/01/plugin-translations-on-wordpress-org/)
  • [changed] Author links updat­ed to reflect cur­rent domain and Twit­ter account

4.2.0

  • [added] Abil­i­ty to define cus­tom hooks and to then add actions to them, effec­tive­ly open­ing Open­Hook sup­port to all hooks across all Word­Press themes!
  • [added] New themes: K2
  • [added] Abil­i­ty to spec­i­fy pri­or­i­ties on actions
  • [added] Access to the Word­Press hook comment_form
  • [added] Include Face­book “like” but­ton in admin pan­el sidebar
  • [fixed] Con­tact form link now works
  • [fixed] Aster­isks denot­ing that a hook has cus­tomiza­tions added to it are now more accurate
  • [fixed] Open­Hook ver­sion and the Flat and Theme Hook Alliance hook options are now prop­er­ly delet­ed when delet­ing Open­Hook options
  • [fixed] OpenHook::upgrade()‘s “is an upgrad­ed need­ed?” checks now actu­al­ly work, pre­vent­ing upgrade code from pro­cess­ing on every page load
  • [fixed] More WP_DEBUG notices tak­en care of
  • [changed] Open­Hook admin pan­els are more respon­sive on small­er screens
  • [changed] Only one the­me’s actions may be enabled at one time, sav­ing proces­sor pow­er and pre­vent­ing hook name conflicts
  • [changed] Explic­it­ly adhere to seman­tic ver­sion­ing going forward
  • [changed] Open­Hook CSS is now minified
  • [changed] File struc­ture organized
  • [changed] Sim­pli­fied admin pan­el tabs to only high­light active action groups

4.1.0

  • [added] Flat hooks
  • [added] Theme Hook Alliance hooks
  • [fixed] Open­Box is now com­pat­i­ble with The­sis 2.1.x
  • [changed] Var­i­ous text and links through­out Open­Hook admin panel
  • [changed] Opti­mized var­i­ous bits of code, bring­ing it in line with Word­Press cod­ing standards
  • [changed] Admin side­bar no longer appears on the serv­er info page

4.0.1

  • [fixed] Fixed bro­ken class calls in options man­age­ment functions

4.0.0

  • [added] Now sup­port­ing Head­way theme hooks!
  • [added] Short­codes man­ag­er introduced!
  • [added] Users can now choose whether all hook pan­els are dis­played or just one at a time
  • [added] PHP short­code — Arbi­trary PHP code in your posts! (Admin users only.)
  • [added] Email short­code — Encodes email address­es for use in posts to thwart harvesters
  • [added] Glob­al short­code — Take advan­tage of cus­tom fields on a draft post to cre­ate a library of strings which may be used in any post
  • [changed] Var­i­ous code optimizations

3.4.0

  • [added] Open­Box — a box added to The­sis 2’s box man­age­ment, allow­ing for arbi­trary code in The­sis 2’s skin editor
  • [changed] Open­Hook is now pro­grammed as a class to allow its code to be self-con­tained. More code refine­ments will be coming
  • [changed] Plu­g­in is now named sim­ply “Open­Hook.” Viva la simplicity!

3.3.1

  • [fixed] thesis_hook_after_post_box restored. Hat tip: Doug Foster

3.3.0

  • [added] Hook visu­al­iza­tion (Based upon http://headwaythemes.com/headway-hooks-visualized/)
  • [changed] Improved han­dling of the options man­age­ment func­tions (upgrade/delete options)
  • [changed] When action groups are dis­abled, the hook pages now include a nag stat­ing as much
  • [fixed] Warn­ings about emp­ty arrays when acti­vat­ing action groups

3.2.1

  • [fixed] Bumped to make the repos­i­to­ry update

3.2.0

  • [added] Hooks with cus­tomiza­tions are marked with aster­isks in the drop­down select box
  • [changed] Add link to phpinfo() under Tools menu
  • [changed] Ver­biage for unhook­ing updated
  • [fixed] Many unde­fined vari­able errors
  • [fixed] Slash­es are now prop­er­ly stripped when upgrad­ing from 2.x.x
  • [fixed] Default The­sis 404 con­tent can now be prop­er­ly removed

3.1.0

  • [fixed] Rare issue where the gen­er­al set­tings pan­el does­n’t ful­ly appear

3.0.0

  • [changed] Total rewrite of the plugin
  • [added] phpinfo() panel
  • [added] per-hook dis­abling of cus­tom actions
  • [added] option to process short­codes on cus­tom actions
  • [added] abil­i­ty to choose which actions to process (Word­Press’s or The­sis’s or both’s)
  • [added] abil­i­ty to remove all Open­Hook options
  • [removed] sev­er­al dep­re­cat­ed options

2.3.2

  • [fixed] Remem­ber the typos fixed in 2.3.1? There were oth­ers I should have caught then. I’m a ter­ri­ble proof­read­er, but thanks, Dean, for catch­ing them!

2.3.1

  • [fixed] Fixed two stu­pid typos that killed every­thing that was right with the world. Well, they broke the plu­g­in any­way. Thanks, Jim, for report­ing so quickly!

2.3.0

  • [added] The­sis 1.7’s four new hooks are now included.
  • [removed] Open­Hook’s file edit­ing pan­els have been removed — The­sis has these by default now.
  • [changed] Readme.txt updated.

2.2.5

  • [fixed] Revert­ed change intro­duced in 2.2.3 regard­ing strip­ping of slashes

2.2.4

  • [fixed] Fixed a syn­tax error, report­ed by mul­ti­ple users.

2.2.3

  • [fixed] Fixed a bug which pre­vent­ed the After Teasers Box hook from sav­ing prop­er­ly. Thanks, Michael Curving.
  • [fixed] Fixed an issue where the file edi­tors would strip slash­es unnec­es­sar­i­ly. Thanks, Kristarella.

2.2.2

  • Adding con­tent to the wp_footer hook block actu­al­ly works now. Thanks, Illustrata

2.2.1

  • Very minor bug fix: Removed option to remove thesis_admin_link() so that it can be used else­where; this func­tion is no longer added via a hook in The­sis 1.5, so the Open­Hook option essen­tial­ly did noth­ing. There’s noth­ing to gain by upgrad­ing oth­er than a slight­ly clean­er “Foot­er” sec­tion on the main Open­Hook page.

2.2.0

  • New hooks: wp_head, thesis_hook_comment_field, and wp_footer!
  • Sep­a­ra­tion of stylesheet edit­ing to its own page.
  • Addi­tion of cus­tom func­tions file edit­ing, also on its own page.
  • Major inter­na­tion­al­iza­tion improvements
  • Jump box added to quick­ly nav­i­gate to any of the dozens of hooks
  • Option to include an invis­i­ble, nofol­lowed Project Hon­ey Pot link in the foot­er area to help in the war against spammers.
  • …and prob­a­bly more that I can’t even remember! 

2.1.0

  • Added two new hooks: thesis_hook_before_content_area and thesis_hook_after_content_area.

2.0.2

  • Added abil­i­ty to cus­tomize the save but­ton text.
  • Added a bit more explana­to­ry text on the Open­Hook pan­el in the top area.
  • Fixed a bug with the “404 Title” hook that pre­vent­ed slash­es from being stripped prop­er­ly. Thanks, Justin Thomas.

2.0.1

  • Fixed a bug with the “After Head­er” check­box for PHP usage thanks to Alec Wild

2.0.0

  • Reor­ga­ni­za­tion of just about all of the under-the-hood code.
  • More robust stylesheet edit­ing — should work for more peo­ple now.
  • Com­plete styl­is­tic redesign to match oth­er Word­Press admin panels.
  • Save but­tons added lib­er­al­ly through­out the page.
  • Added sup­port for the lat­est The­sis hooks. 

1.1.0

  • Debug info bug­fix thanks to first­day­black
  • Sim­ple custom/custom.css edit­ing from with­in the Open­Hook panel 

1.0.0

  • Renamed from 0.2 to mark inclu­sion in the Word­Press plu­g­in directory!

0.2.0

  • Some code reorganization
  • Added options to eas­i­ly remove The­sis’s default actions
  • Add some explana­to­ry text to some hooks 

0.1.0

  • Ini­tial release

419 thoughts on “OpenHook, The Best Customization Manager Plugin for WordPress”

  1. Wow this is sweet Rick. Great idea! I wish I would have seen this before I spent all that time learn­ing hooks last week…
    Seri­ous­ly, this will save a lot of peo­ple a lot of time.
    ‑Don

    1. Learn­ing hooks and using the custom/custom_functions.php file is def­i­nite­ly the ide­al; it ensures that your cus­tomiza­tions aren’t depen­dent upon a plu­g­in stay­ing up-to-date in order to work with the lat­est ver­sion of The­sis. How­ev­er, I will be doing my best to keep this thing cur­rent with what’s going on in the “The­si­sphere.”

  2. Thanks Rick… this is great. Would you also mind shar­ing the func­tions and CSS for your the­sis pro­mo ‘super­charge your blog’ box at the end of each post?

    Thanks,
    Dave

  3. Rick,
    This is a great plu­g­in and while I kind of enjoy cre­at­ing cus­tom hooks this will also save me a ton of time. Thanks for cre­at­ing it.

  4. Rick,
    I’ll prob­a­bly link to this from my site, even though I will like­ly just stick with custom_functions.php myself. One ques­tion: does it sup­port php cod­ing, like con­di­tion­als, or is it strict­ly for text?

    Real­ly, real­ly good idea and good work. You are a fan­tas­tic help to the The­sis com­mu­ni­ty (and the Word­Press com­mu­ni­ty in general).

    1. It works with PHP just fine. Check out the sec­ond exam­ple in the post itself. :)

      Basi­cal­ly, any­thing that can be done with custom_functions.php can be repli­cat­ed eas­i­ly enough through Open­Hook’s panel!

    1. I’m very grate­ful for your plu­g­in, Eric! Seems like when­ev­er I try to do admin pan­el stuff, it’s so com­plex, lead­ing to sur­ren­der on my part. Your plu­g­in was very well writ­ten — ele­gant in its sim­plic­i­ty, as they say — and helped me learn some stuff!

    1. Any­thing I can do to help you get rolling with The­sis, I’d be hap­py to do. I def­i­nite­ly believe in the pow­er of The­sis to great­ly enhance a site’s appeal — both to users and to search engines.

  5. WOW, how awe­some is that! The­sis Open­Hook down­loaded and installed with absolute­ly no prob­lems. Can’t wait to start insert­ing things! Thanks Rick for all your hard work!

  6. Rick, Great plu­g­in for us novices. My ques­tion: If I use this, will it over­write any hooks already insert­ed in the cus­tom func­tions file? Thanks!

    1. No, Open­Hook will not over­ride the custom/custom_functions.php file. Both The­sis’ built-in cus­tomiza­tion fold­er and Open­Hook will load when using The­sis, so the two are complementary.

      It may be eas­i­er for some to keep larg­er blocks of code in their custom/custom_functions.php file — which they can load up in a text edi­tor with syn­tax high­light­ing and line num­bers, for exam­ple — while using Open­Hook to eas­i­ly remove The­sis’ default actions and to add in small­er customizations.

      The whole point is to empow­er the com­mu­ni­ty to be able to cus­tomize with increased ease, and I hope I’ve done that.

  7. Rick, it does­nt look like the insert­ed text using the hooks “obeys” the style built into The­sis… cor­rect? For instance I tried to move my byline from the side­bar to area before con­text and used HTML to style it, ie, H3 tags, but it did­n’t com­ply. How do we do sim­ple stuff like adjust col­or, size of font, etc, with­in the hooks?

    1. It does obey the style, but in order to take advan­tage of that, you need to repli­cate as close­ly as pos­si­ble The­sis’ markup structure.

      For instance, to do what you’re doing, you might try some­thing like this in the “Before Con­tent” box:

      <div class="post_box top"><div class="format_text">
      <h3>Title</h3>
      <p>Your content</p>
      </div></div>

      The first and last lines are the most impor­tant as they are nec­es­sary to catch The­sis’ styling for for­mat­ted text, such as the text found in posts and comments.

      Hope this gets you head­ed in the right direction. :)

      1. Rick, that worked per­fect­ly; now I just have to tweak it.
        I should have known I need­ed more code than that, because I had to use the div ‘s etc, in my side­bar sec­tion when I altered it with hooks!! I guess I was just too excit­ed to be able to tweak my blog right in the admin pan­el that I got ahead of myself!

  8. This appli­ca­tion is cool and by the date I can tell that it is hot off the press. Thank you for this.

  9. Hey Rick,
    Thanks for this use­ful plu­g­in :) But now comes the dilem­ma that start­ed with using The­sis — to plu­g­in or not to plu­g­in, that is the question …

    Great stuff anyways :)

  10. Hey Rick,
    No mat­ter what I plug in I get the fol­low­ing warning:
    Warn­ing: fopen [function.fopen]: failed to open stream: Per­mis­sion denied in wp-content/plugins/options.php on line 32 Error editing.

    How do I fix that?

    1. From the looks of the error mes­sage, I assume that you only uploaded the files with­in the thesis-openhook/ fold­er, rather than the entire fold­er itself, with the files therein.

      In oth­er words, the options.php file should­n’t be locat­ed at wp-content/plugins/options.php; on the con­trary, it (and the oth­er Open­Hook files) should be at wp-content/plugins/thesis-openhook/options.php.

      Hope this helps you get it workin’!

  11. dude. u rock. I (we) real­ly (real­ly, real­ly, real­ly, real­ly) appre­ci­ate not only this tool, but also ALL the knowl­edge & exper­tise you bring to the The­sis forums.

    — j

  12. Rick, I had the same prob­lem as Jason. Your zip file was the prob­lem. It needs a fold­er inside with the actu­al files.

    FTP replaces the orig­i­nal dates with the trans­fer time and date so in order to pre­serve the orig­i­nal file dates and times, I always unzip Word­Press, Themes and Plu­g­ins remote­ly using CPan­el File Man­ag­er or equivalent.

    1. Rick: I rebuilt the ZIP file — mak­ing sure I select­ed to com­press the thesis-openhook/ fold­er itself rather than just the files. Should be fine now. I’m sure I messed some­thing up a few days ago when I was prepar­ing for upload­ing to the plu­g­ins direc­to­ry — which still has­n’t worked prop­er­ly for me. Hope­ful­ly all is well now.

  13. Nice lit­tle Plu­g­In which makes the work of a lot of peo­ple much eas­i­er. But maybe there is a lit­tle bug? When I check the box “Add debug infor­ma­tion” the num­ber of queries and sec­onds appear in the foot­er. But when I uncheck the box, the queries van­ish, the sec­onds stay. Bug or feature?

      1. Rick, thanks for car­ing. But there ist anoth­er major bug in your plu­g­in. The text on the save but­ton says “update options” or some­thing like that. It should of course be “BIG ASS SAVE BUTTON”! ;-)

        1. Haha. Chris and I have dif­fer­ent ideas on what makes a good sub­mit but­ton. :P

          That said, here’s the fix for the debug stats bug. This block of code is near the bot­tom of thesis-openhook/thesis-openhook.php:

          	if (get_option('openhook_footer_debug_info') && current_user_can('level_10'))
          		echo '<p>', get_num_queries(), __(' queries. '); timer_stop(1); _e('seconds.'); echo '</p>';

          Change it to this:

          	if (get_option('openhook_footer_debug_info') && current_user_can('level_10')) {
          		echo '<p>', get_num_queries(), __(' queries. ');
          		timer_stop(1);
          		echo __('seconds.'), '</p>';
          	}

          Will def­i­nite­ly be in the next ver­sion of Open­Hook — along with the begin­nings of being able to edit custom/custom.css direct­ly from the admin pan­el! :D

  14. I’m hav­ing the same prob­lem as Jason. All my files are under “the­sis-open­hook” fold­er but I get the same mes­sage. I hate hooks, why com­pli­cat­ing / “fix­ing” things when there’s no need …

    Also when I try to add it man­u­al­ly via custom_functions.php I get this mes­sage when i try to access my site “Parse error: syn­tax error, unex­pect­ed ‘<’ in wp-content/themes/thesis/custom/custom_functions.php on line 37”

    I add it like this:

    /* YOAST BreadCrumb */

    func­tion yoast_breadcrumb () {

    }
    add_action(’thesis_hook_before_title, ‘yoast_breadcrumb’);

    hate .. it …

    1. I mean like this ..sor­ry

      /* YOAST BreadCrumb */

      func­tion yoast_breadcrumb () {

      }

      add_action(’thesis_hook_before_title, ‘yoast_breadcrumb’);

    2. Yeah, unless the code is prop­er­ly escaped, Word­Press eats it.

      How­ev­er, you are wel­come to e‑mail me the code, and I’ll help you get it working.

      Regard­ing The­sis Open­Hook, on which site are you attempt­ing to install it? I’d like to take a look, if possible.

      1. Hey Rick, thanks for the sup­port! New code is not show­ing me error mes­sage any­more but I can’t see the bread­crumbs .… but that’s anoth­er dis­cus­sion for forums not here

  15. I get this mes­sage when I try to update a hook.
    Warn­ing: fopen(/home/p5r54565/public_html//wp-content/themes/thesis/custom/custom.css) [function.fopen]: failed to open stream: Per­mis­sion denied in /home/p5r54565/public_html/wp-content/plugins/thesis-openhook/options.php on line 32
    Error editing.
    Is this a prob­lem with per­mis­sions on my host server?

    1. Oh good­ness… I think I may have acci­den­tal­ly uploaded my devel­op­ment code. (Les­son? Orga­ni­za­tion is GOOD and should NOT be neglect­ed!) When I get off of my day job here in a few hours, I’ll be able to devote some time to get­ting this thing work­ing, as well as get­ting a canon­i­cal release uploaded to Word­Press Extend.

      Every­one else: Glad you’re enjoy­ing the plu­g­in. Hope­ful­ly I can make it even nicer and more fool­proof. I real­ly want to get a more ele­gant admin pan­el going, with eas­i­er to read/find panels.

  16. This looks real­ly excel­lent, Rick, thanks for cre­at­ing it. Any­thing that makes The­sis eas­i­er to use! I’ve installed it on my WP 2.6.5 blog, now just read­ing up on hooks to under­stand bet­ter what I’d like to do ;)

    Thanks again.

  17. That’s awe­some Rick, thanks for devis­ing this! Hav­ing all the hooks at the same place, and being able to edit them so sim­ply will make the cus­tomiz­ing job that much easier.
    You even added many use­ful and cool com­ments when appropriate !

  18. Open­Hook’s been updat­ed to 1.1 — bug fix + style sheet edit­ing! Should show up in your plu­g­ins pan­el for auto-upgrad­ing; this baby’s host­ed at Word­Press now. :D

  19. Rick:

    Can you tell me how to add an iFrame to my blog. Can I use hooks?

    Actu­al­ly I need about 5 pages with 5 dif­fer­ent iFrames. I would appre­ci­ate the help.

  20. Hey Rick,

    This is a fab­u­lous idea! I did­n’t dis­cov­er it until today. Sad­ly though, the down­load link does­n’t seem to be working. :(

    1. The down­load link points to the Word­Press plu­g­in direc­to­ry page, which is where you’ll need to down­load the file from. (Right-click­ing on the down­load link on this page — or using a down­load man­ag­er to grab the link — will not work; it’s cur­rent­ly a redi­rec­tion, not a download.)

      1. Yeah I know bud­dy. I went over to the Word­Press direc­to­ry, and clicked on the big ‘Down­load’ but­ton and it’s com­ing up as a dead link for me.

    1. @Tom K.: installed per­fect­ly on my copy of WP 2.7 RC2 -

      @Rick — in RC2 — plu­g­in option shows up as its own tab under appear­ance as The­sis Open­hook — so even eas­i­er to find than advertised.

      Installed per­fect­ly. Now I have to learn what to do with it.

      Jon

      Edit by Rick Beck­man: Fixed a bit of markup.

      1. Tom K.: What method of installing were you using? I’ve yet to have any luck with the auto­mat­ed plu­g­in installer. Glad you got it installed, what­ev­er method you used!

        Jonathan Soroko: Open­Hook’s always had its own tab — below “Design” on Word­Press < 2.7 — but Word­Press 2.7 def­i­nite­ly makes the sub­head­ings more acces­si­ble. Have fun learn­ing how to use it, and def­i­nite­ly feel free to exper­i­ment — espe­cial­ly when fix­ing errors is as sim­ple as delet­ing from a text box and re-sav­ing the form.

  21. Hi! I’m total­ly new to hooks and am try­ing out this plu­g­in. I added text to the Before Side­bars hook to have the words “Click cur­rent post title to see relat­ed movie below. ” appear on my site. This is because the movie is relat­ed to the post via a cus­tom field, but if you just go to the home page (not the post link itself), the movie does not appear. I would like this mes­sage to appear only on the home page, and I would like its style to match the oth­er wid­get head­ings. Can any­one help? Sor­ry to be so limited!

    1. Try using some­thing like this in the “Before Side­bars” box, mak­ing sure to check the “Use PHP” option:

      <?php if (is_home()) { ?>
      <div class="sidebar"><ul class="sidebar_list"><li class="widget video_intro"><h3>THIS IS YOUR TITLE</h3></li></ul></div>
      <?php } ?>

      Yeah, it’s a lot of code, but it will ensure that the head­line is ren­dered iden­ti­cal­ly to oth­er side­bar head­ings — and that it will respond to font changes made with­in the Design Options panels.

      Using this markup will place a lot of mar­gin on the bot­tom of the head­ing, and you can lessen it by using this line in your custom/custom.css file:

      li.widget.video_intro { margin-bottom: 0; }
  22. Hi Rick.

    I have a sand­box build that I am play­ing around with. I checked off the footer:
    “Remove The­sis attri­bu­tion — Only those who pur­chased The­sis using the Developer’s Option are allowed to remove the The­sis attri­bu­tion link. If you pur­chased the Per­son­al Option and remove the The­sis attri­bu­tion, be sure to include it with­in your own foot­er con­tent (per­haps replac­ing it with an
    affil­i­ate link to DIYthemes).”

    Yes, I do have a devel­op­ers license, just to let you know.

    The attri­bu­tion is still show­ing up.

    I also added in some text in the input box for the footer.
    Copy­right 2008, BOTC

    That shows up just fine.

    Here is the site.

    Sor­ry to say I could not under­stand what this meant:
    You’re wel­come to ask sup­port below in the com­ments; pri­or to post­ing any code, though, please make sure it is prop­er­ly escaped. Thanks!
    (and going to the link did not give me any clues either)

    Any ideas as to what can be wrong.

    I am glad you have made this plu­g­in. Thanks for all your efforts.

  23. So I’m curi­ous how this plays with The­sis in a WPMU set­ting. Does it involve any file alter­ations, out­side of custom.css?

    Just won­der­ing how it would work. One of the things that drew me to The­sis in the first place was how well it played with WPMU. Being able to tweak lay­out ele­ments triv­ial­ly across a series of blogs with­out hack­ing at the theme files themselves.

    1. I’m not famil­iar with Word­Press μ’s archi­tec­ture, so I would love to hear whether or not Open­Hook works or not. You’re right in assum­ing that the only actu­al file edit­ing which goes on is of the cus­tom style sheet; how­ev­er, that option is only avail­able if a user has top-tier admin­is­tra­tor priv­i­leges, which may not be the case in a mul­ti-user environment.

    2. With regards to WMPU com­pat­i­bil­i­ty, I test­ed it and it works just fine. Set­tings are iso­lat­ed to the indi­vid­ual blog those changes were done on. I haven’t checked the custom.css stuff, but if you sim­ply don’t allow it, it’s not a prob­lem. Were it allowed, I’m sure it would prop­a­gate across all blogs shar­ing the same theme directory.

  24. Gol­ly but this is good. I had put off upgrad­ing The­sis until after I had WP 2.7 up and run­ning, then did The­sis and this plu­g­in and I am very impressed and very, very thank­ful for all the hard work you have con­tributed in gen­er­al, and on this plu­g­in in par­tic­u­lar. Real­ly. Kudos to you.

  25. Hi Rick,

    I LOVE this- it is won­der­ful and made using The­sis so much eas­i­er. I’m won­der­ing how to put my Feed­burn­er stats into the nav bar, where the sub­scribe but­ton was… is it pos­si­ble to do it using openhook?

    1. Not as eas­i­ly as you’d like; it would involve remov­ing the default nav bar and then writ­ing your own nav bar in the “Before Head­er” area. Oth­er­wise, you could per­haps remove the feed link (via The­sis Options) and then insert your own Feed­burn stats via the “Before Head­er” option of Open­Hook. This will place your code after the nav menu and before the head­er, so you would need to posi­tion it into the appro­pri­ate place using custom/custom.css.

    2. @Rick, Thanks! So what’s the code for the .cus­tom CSS if I want the stats aligned to the right? And maybe this is some­thing that you could con­sid­er adding to the next ver­sion? (Says the non tech­ni­cal per­son with a smile on her face?)

  26. I want­ed to add the Add to Any javascript “After Con­tent” so I got the code and past­ed it — but it does­n’t appear after the post content.

    I’ve changed per­mis­sions on the custom/custom.css to 777 -

    Did I miss something?

    Thanks Rick for a killer tool — and I LOVE the “lit­tle ass save button”

    Rick Butts

    Edit by Rick Beck­man: Fixed link markup.

    1. Well, that tells me what I need to do next in Open­Hook — more doc­u­men­ta­tion! “After Con­tent” refers to near­ly the bot­tom of the page — after posts and com­ments have all been out­put. If you want to add some­thing to the end of each post before the com­ments start, use “After Post” instead. :)

      1. well DOH!

        I’m obvi­ous­ly a retard — I shot down the page until I found after con­tent and then fig­ured I was where I need­ed to be.

        I’ll TRY to pay more atten­tion now — hope­ful­ly my .js will work there.

        Thanks Rick -

        Rick Butts

  27. I’m try­ing to use this plu­g­in for the first time — I can add the fol­low­ing code to custom_functions and it works fine, but when I add the exact same thing inside the plu­g­in, it does­n’t work. What am I miss­ing to use the plugin?

    function add_social_profiles () {
    global $comment;
    ?>
    user_id); ?>
    <?php
    }
    add_action('thesis_hook_after_comment_meta', 'add_social_profiles');

    1. Looks like Word­Press gar­bled the code a bit (tip: always run code through an escap­ing tool pri­or to post­ing in com­ments or posts), so I’m not sure of the exact code to give you… How­ev­er, when using Open­Hook, rather than using this:

      add_action('thesis_hook_after_comment_meta', 'add_social_profiles');

      …you can call your func­tion direct­ly, like this:

      add_social_profiles();

      Let me know if you get it working.

  28. Rick,

    I use the All-in-One SEO plu­g­in and when mod­i­fy­ing the head­er, it seems I get a con­flict with that plugin.

    Here’s my error message -

    Warn­ing: Can­not mod­i­fy head­er infor­ma­tion — head­ers already sent by (out­put start­ed at /home/rob888/public_html/shop/wp-content/plugins/all-in-one-seo-pack/all_in_one_seo_pack.php:632) in /home/rob888/public_html/shop/wp-content/plugins/thesis-openhook/thesis-openhook.php(191) : eval()‘d code on line 1

    What do I do?

    Thanks!

    1. What code are you using in Open­Hook? It’s pos­si­ble that head­er infor­ma­tion is being out­put, which of course would con­flict with All-in-One SEO which has already out­put head­er information.

  29. Tyler @ Building Camelot

    This is an awe­some plug-in! Thank you for tak­ing the time to put it together.

    I’m new to The­sis and using this plu­g­in and I have a fol­low-up ques­tion from the forums that I’d like to ask. I’m try­ing to add a email and twit­ter link next to my RSS but­ton in the nav bar. I’d like for it to look like @mnichols site Anx­i­ety, Pan­ic & Health but I’m just not sure what to paste into the “Before Head­er” block. I want to keep my nav menu but add the email and twit­ter link to the right.

    I tried using the code you sug­gest­ed here: RSS email next to Sub­scribe by RSS in nav bar but it’s not exact­ly what I’m after.

    Sor­ry for the drawn out com­ment and any insight you have to offer is great­ly appreciated.

  30. I have added the code below (via http://www.sugarrae.com) in the head­er box to change to test adding an image in the head­er area, but it did­n’t work, but when I added direct­ly through custom_functions.php file it worked. Any­body know what the prob­lem is… I’m using ver­sion 2.7 of word­press. Thanks!

    /* Cus­tom Head­er Image */
    func­tion add_header_image () {
    echo “<a>

    </a>”;
    }
    add_action(‘thesis_hook_after_title’, ‘add_header_image’);

  31. New to The­sis and OpenHook
    Work­ing in a sand­box envi­ron­ment. My ques­tion has to do with migra­tion to a pro­duc­tion environment.

    It looks like your plu­g­in does­n’t mod­i­fy the cus­tom func­tu­ions php file. Does it store the mod­i­fi­ca­tions in the data­base? I sup­pose I could have looked. Mov­ing a file into pro­duc­tion is easy. Export­ing a table, or table con­tents is a lit­tle hard­er. Sug­ges­tions on how to migrate hooks from a sand­box to a pro­duc­tion environment?

    1. Last time I did it, I copy/pasted the val­ues from the test site to the live site man­u­al­ly. Export­ing would be a mat­ter of find­ing the rel­e­vant rows in the wp_options table, then import­ing them into the pro­duc­tion site pri­or to installing Open­Hook (which will cre­ate new options of the same name, result­ing in dupli­cate entries, which I’m unsure how they’d be han­dled in WordPress).

      1. Wow — Thanks for the fast reply! Thats sort of what I fig­ured. Maybe an export/import func­tion in the next release? Your file for­mat is already defined as custom_functions.php. I think for my sand­box I am going to just work in the php file. It will help me hone my php skills and make migra­tion to pro­duc­tion a snap! Oh, crud, did I hard code some absolute sand­box URLs? Ug. Hmm, rel­a­tive URLS are bad in down­stream feeds, Ug.

        OK — I’ll work it out.

        Thanks again

        1. An import/export might not be a bad idea. I could see it being use­ful even for blog­gers who deploy mul­ti­ple blogs, all with The­sis & sim­i­lar “base” customizations.

          I’ll have to get with Chris about this; we’re want­i­ng Open­Hook func­tion­al­i­ty built in to The­sis in the future, so I’d rather move in that direc­tion, and we could maybe add import/export for The­sis set­tings as a whole. Now that’d be total awesomeness.

  32. Great plu­g­in that is real­ly usable and use­ful for noobs like us. Thanks and keep up the good work!

  33. Get­ting the fol­low­ing error above the head­er on home page, and at the top and bot­tom of the word­press dashboard?????

    Warn­ing: include_once(/home/admin/public_html/wp-content/plugins/__MACOSX/) [function.include-once]: failed to open stream: Suc­cess in /home/admin/public_html/wp-settings.php on line 465

    Warn­ing: include_once() [function.include]: Failed open­ing ‘/home­/ad­min/pub­lic_htm­l/wp-con­tent/­plu­g­in­s/__­MA­COSX/’ for inclu­sion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/admin/public_html/wp-settings.php on line 465

    1. Just to add, I have deac­ti­vat­ed the theme and delet­ed it as well and I still have this issue.

      Thanks Rick

    2. Now, I can’t login to admin…This is the new error:

      Warn­ing: include_once(/home/admin/public_html/wp-content/plugins/__MACOSX/) [function.include-once]: failed to open stream: Suc­cess in /home/admin/public_html/wp-settings.php on line 465

      Warn­ing: include_once() [function.include]: Failed open­ing ‘/home­/ad­min/pub­lic_htm­l/wp-con­tent/­plu­g­in­s/__­MA­COSX/’ for inclu­sion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/admin/public_html/wp-settings.php on line 465

      Warn­ing: Can­not mod­i­fy head­er infor­ma­tion — head­ers already sent by (out­put start­ed at /home/admin/public_html/wp-settings.php:465) in /home/admin/public_html/wp-includes/pluggable.php on line 850

    3. View­ing your Web serv­er in FTP, do you see a __MACOSX fold­er in the plugins fold­er? I’m not sure what would have cre­at­ed it, but for some rea­son, your Word­Press instal­la­tion thinks its there or some­thing. Quite frankly, I’ve nev­er come across some­thing like this before. Ver­i­fy the files on your serv­er, and delete the fold­er if it’s there. If it’s not, ask you host if they can track it down for you (it may be hidden).

  34. Rick,

    I am using a sin­gle col­umn design and I want the mul­ti­me­dia box to be in the con­tent area. I can’t fig­ure out how to do this?

    Is it pos­si­ble to run text in a col­umn along­side it?

    Thanks in advance.

  35. @Rick Beck­man Two points:

    RE: __MACOSX folder

    When you install the plu­g­in from the WP Admin page (browse for a zip file), the _MACOSX file shows up as part of the plu­g­in result­ing in the error not­ed above. I dupli­cat­ed it and could­n’t fig­ure out what was going on until I looked at the struc­ture of the .zip file.

    If you down­load the plu­g­in using your down­load link, the same file is there. You have to unzip the file, then muck around in the fold­er struc­ture until you find the actu­al plu­g­in file. So that’s the culprit.

    Sec­ond:

    Ques­tion: My CSS file changes, work­ing fine in custom.css, do not work at all with the same custom.css copy and past­ed into the plu­g­in in the css area. The custom.css file is in the The­sis Cus­tom fold­er as need­ed, but when I exe­cute it, I get the plain vanil­la The­sis theme instead of the fab­u­lous cus­tomiza­tions I have done ;>))

    My themes are in default loca­tion, but I have many blogs and they are locat­ed in a sub­di­rec­to­ry of \public_html and then the installed WP blog with the The­sis theme. Is there any path issues to the CSS val­ues? \public_html\blog\themes\thesis\custom ver­sus \public_html\themes\thesis\custom?

  36. Thanks Rick,

    I would like to sec­ond Dav­e’s com­ment above re: your “Super charge your blog” box that appears at the end of every post pro­mot­ing the the­sis theme. Pro­vid­ing a custom_functions code for some­thing like this would be super cool.

  37. I’m work­ing on switch­ing my site over to The­sis, and Open­Hook has proven invalu­able so far. I have only one sug­ges­tion, and if it’s been made before, just con­sid­er this anoth­er vote :)

    It would *rock* if you could dupli­cate the ‘lit­tle ass save but­ton’ at the top of the page and peri­od­i­cal­ly through­out the page. The vast major­i­ty of stuff I’m doing at the moment involves the cus­tom css file, and hav­ing to scroll all­l­ll the way down each time to press the save but­ton is a lit­tle cumbersome.

    Oth­er than that minor annoy­ance, Open­Hook is fan­tas­tic — keep up the great work!

  38. Hel­lo Rick, thanks for a won­der­ful plugin.

    I am try­ing to use Open­hook in order to insert a slideshow-appli­ca­tion before my side­bars. Even­though I have added the fol­low­ing piece of code in the cor­rect field of Open­hook, with ‘Exe­cute PHP’ enabled,

    ” ”

    I get the fol­low­ing error mes­sage where my slideshow oth­er­wise would be:

    ” Warn­ing: include(/public_html/wp-content/themes/thesis/gallery.php) [function.include]: failed to open stream: No such file or direc­to­ry in /home/polysj4/public_html/wp-content/plugins/thesis-openhook/thesis-openhook.php(367) : eval()‘d code on line 1 ”

    Is there a prob­lem with the include-com­mand, or have I missed some­thing very obvi­ous? Any help would be most appre­ci­at­ed, and thanks again for a tru­ly help­ful tool.

    1. ADDITION to pre­vi­ous comment:

      the line of code that I have insert­ed into Open­hook is:

      “”

      1. ?php include(‘/public_html/wp-content/themes/thesis/gallery.php’); ?

        though wrapped with­in the appro­pri­ate — signs.

        I apol­o­gise for all the extra clutter

  39. Hi Rick,

    Great plu­g­in, thanks.
    I have the mul­ti­me­dia box dis­abled until I can get it set up the way I want, with a miniblog, using one cat­e­go­ry of posts from the main blog.There’s a wid­get plu­g­in for this, and I want to put the wid­get in the mul­ti­me­dia box. Is this pos­si­ble? If not, can I put one cat­e­go­ry of posts there, using OpenHook?

  40. I think there’s a small bug with your plu­g­in. When I use the cus­tom functions.php file and add some­thing before the head­er, it appears between the nav bar and the top of the head­er. When I use your plu­g­in and add it in the “before head­er” box it appears above the nav bar. Any suggestions?

    1. The rea­son is that Open­Hook’s code is fired pri­or to The­sis’ (plu­g­ins pre­cede themes in the Word­Press hier­ar­chy), so it isn’t real­ly a bug so much as a neces­si­ty. If you want some­thing below the nav menu, remove the default nav menu with the check­box in Open­Hook, then add <?php thesis_nav_menu(); ?> *before* your code in the Before Head­er box, being sure that the “Use PHP” box for that area is checked.

  41. Wow… I spent 3 or so hours ear­li­er get­ting error mes­sages thrown up while try­ing to cre­ate my own hook. I then used this plu­g­in and it worked with in 2 min­utes. LOL.

    Nice work!

  42. I’ve uploaded the­sis open­hook to my plu­g­ins, but when I go to acti­vate it, the plu­g­in does­n’t show up at all. I’ve tried installing and unin­stalling twice.. Please advise as how to get it to work. Thannks,

    Mark

  43. Open­Hook is tru­ly amaz­ing, *almost* as impor­tant a con­tri­bu­tion as The­sis itself. :=)

  44. Hey gang,
    I would like to add a bit of text with a link to anoth­er site as follows:

    Read Kel­ley Bel­l’s Columns on The Huff­in­g­ton Post: http://www.huffingtonpost.com/kelley-bellwenzlaff/#blogger_bio

    How do I for­mat this so that the link is hot, and you just see “The Huff­in­g­ton Post” instead of the whole web address?

    Also, when using open­hook to place this, I am open to sug­ges­tions regard­ing the best place­ment on the site.

    I tried it under the head­er, but the text was so small and off to the left, it looked kind of bad. Any ideas?

  45. I am a real novice here. But I have installed the­sis in WP because I like the idea of hav­ing drop down com­bo box­es for Cat­e­gories. I cant seem to make this hap­pen. For example:
    Soft­ware (cat­e­go­ry)
    Adobe Plu­g­ins (sub category)
    NIK Vivesa (sub category)
    Hard­ware (Cat­e­go­ry)
    Print­ers (sub)
    Scan­ners (sub)

    and so on. Then when choos­ing the Soft­ware cat­e­go­ry, the drop down would list Adobe and NIK. Using the Hard­ware drop down, choose Print­ers or Scan­ners. etc.

    Can this be done? and how?
    Gary

  46. OK, I’ve down­loaded and installed it on my BS blog and it all went well, but I still have no idea how to work with hooks. Where would I be able to find a good site that explains work­ing with hooks in such a way that even an idiot could fol­low it.

  47. Hey Rick,

    Is there a dif­fer­ence in how open hook acts when WP is installed in the main fold­er or a sub folder?

    In a site with WP installed in a sub fold­er, the box­es for open hook are all dif­fer­ent and don’t have the stretch func­tion. Also the custom.css box at the top is miss­ing from the site where WP is installed in a sub folder.

    Is there some sort of path issue when the plug in is used on sites where WP is installed in a sub folder?

    This is a great plug in. Hav­ing the abil­i­ty to alter a site with these admin files is a huge time saver.

    Thanks,
    John

  48. hey… you already rock with this one but are you prepar­ing some­thing spe­cial for us in con­nec­tion to The­sis 1.4 ?

  49. Hi, I just want­ed to thank you for the excel­lent plu­g­in. I am also recent­ly a huge fan of the­sis (as you can see on my blog) and your plu­g­in is going to save me a whole lot of time.

    All the best in the new year.

  50. Hel­lo,
    The styling that I added to .cus­tom #con­tain­er on the cus­tom css file no longer ren­ders after I installed this plug-in. The body.custom is fine though. Do you know why the cus­tom class would stop working??

    1. Sor­ry… nev­er mind, the issue was caused because I turned on the “full-width” option. The plug-in works great, thanks!

  51. Hel­lo,
    I like this stuff, it would be nice if there are dif­fer­ent coulours on par­tic­u­lar parts of code (some­thing like in code editors)-or do you have some tips on good plu­g­in for that? Oth­er thing, are you going to imple­ment “Featrured box” ? Thank you anyway ;)

  52. Hel­lo Rick, I just spent quite many hours learn­ing about The­sis and I have just installed your open­hooks plu­g­in. Thank you for mak­ing things eas­i­er for me as I am pret­ty much a beginner.

    Can I find out if fea­ture box­es are the box­es that are below your mul­ti­me­dia box? What would be the codes for these? I am inter­est­ed to have the same lay­out as the one on this website.

    1. The fea­ture box in The­sis 1.4 appears at the top of your site in a defin­able place in the Design Options. The box­es you refer to (which I’m no longer using, actu­al­ly) were cre­at­ed using the process described here (sor­ry about the bro­ken images; such is the result of hav­ing import­ed con­tent from all of my blogs into one location).

  53. It’s been a while since I’ve checked com­ments in this thread — been so busy work­ing with The­sis itself, I’ve neglect­ed this bad boy.

    Here are my plans for the next ver­sion of Open­Hook, and no, I don’t have any clue about a release date — I’m still hop­ing Chris will just let me inte­grate the thing com­plete­ly into Thesis!

    • Sup­port for The­sis 1.4’s new hooks.

    • More attrac­tive lay­out of the edit­ing boxes.

    • More rugged security.

    • Sup­port for The­sis instal­la­tions in direc­to­ries oth­er than thesis/ for custom.css editing.

    • And so on.

  54. Hi Rick -
    I want to use front­page slide show on only my front page. I put the php code in open hook “after head­er” and it works great. Prob­lem is, it con­flicts with a plu­g­in used on anoth­er page. 

    How can I make this code work on only the front page?
    Even bet­ter, How can I exclude this code on a spe­cif­ic page using open hook?

    Thanks — Love your work!

    1. You can wrap your code with any one of Word­Press’ con­di­tion­al tags.

      For exam­ple, to include stuff only on the front page of your blog:

      <?php if (is_front_page()) { ?>
      YOUR CODE HERE
      <?php } ?>

      Or to exclude con­tent from a cer­tain page, you will need the ID num­ber of the page you want to exclude from. Then, use the same set­up as the “on front page only” code above, but use the ! operand to negate the con­di­tion­al, like this:

      <?php if (!is_page(#)) { ?>
      YOUR CODE HERE
      <?php } ?>

      The # should be replaced with the num­ber of the page in question.

      In both instances, you would need to check Open­Hook’s “Use PHP” box for whichev­er hook you’re using dynam­ic code within.

  55. Is there any­way to make after_post hook real­ly after the post and before any third-par­ty plu­g­ins using Open­Hook? I’ll dig through the above com­ments to see if some­one else has asked. Thanks!! :)

  56. Is this com­pat­i­ble with Word­Press 2.7? Notes say Com­pat­i­ble up to: 2.6.3. I am excit­ed to use this as it sounds like it will help me tremen­dous­ly in my new work with Thesis.

    1. Yeah, it works with 2.7 for the most part. :)

      I’m hop­ing to improve com­pat­i­bil­i­ty in the future, when I have some time to work on it. Tons to do!

  57. when you are talk­ing about the new ver­sion and things to do :) , I will real­ly appre­ci­ate if the “SAVE” but­ton has the fixed posi­tion so I dont have to sroll to the bot­tom of the page every­time I change something…

    1. Ooh, a fixed save but­ton. Had­n’t thought about that one. That’s def­i­nite­ly prefer­able to a bunch of save but­tons strewn about after each box (unless I fig­ure out how to use Ajax to save just one box at a time w/o refresh­ing the page). Since JavaScript makes about as much sense to me as Esperan­to, I think I’ll be stick­ing with a fixed save but­ton for the fore­see­able future. Thanks for the sug­ges­tion, Maniac!

  58. I’m cre­at­ing my own affil­i­ate ad in HTML and using Open­Hook to insert it on my blog via the “After Com­ments” box. My ad includes a gif image and no mat­ter what I do, I can’t get it to show up. Are images insert­ed through Open­Hook sup­posed to be in a par­tic­u­lar loca­tion on my host serv­er? What is the cor­rect path­name to use?

    Thanks.

    1. Cyn­thia, it entire­ly depends upon where you’ve uploaded the image on your serv­er. If you’re plac­ing the image in your thesis/custom/images direc­to­ry, then that is the direc­to­ry for the image you’ll need to ref­er­ence in your image code.

      1. Rick,

        I put the image in that direc­to­ry and tried using full and par­tial path names and it still would not show up.

        I also was try­ing to make the image click­able with an affil­i­ate link. 

        The image showed up and was click­able when I made the ad in Dreamweaver, but when I copied and past­ed the text into Open­Hook, I had to change the path names (from the one on my hard dri­ve to the path to the file on the serv­er) and just could­n’t come up with the right sequence of HTML to get the image to show in my table. Any ideas?

        Thanks!

        Cyn­thia

    2. Rick,

      Here’s a fol­low-up to my pre­vi­ous ques­tion. I used your DIV tip above to get the text in my HTML ad (which I put in a table) to be styled like the rest of the The­sis text. I love the font and lead­ing, but now the style supercedes the cell­padding I enter in my HTML. Also, there’s too much space above my head­line and sub­head. Does this mean I have to mod­i­fy the CSS file? Which one? How?

      Thanks! (I real­ly love work­ing with The­sis and OpenHook!)

      Cyn­thia

  59. Hi Rick,

    This is a fan­tas­tic plu­g­in, thank you. How­ev­er I’m hav­ing a prob­lem get­ting the default The­sis com­ments link to remove. I am run­ning the fol­low­ing code in the after post hook:

    <a href="">Permalink -
    -
    <a href="">Comments ()

    The code works but check­ing the “remove The­sis com­ments link” does noth­ing. I can’t remove it using the cus­tom css file either. Any idea what’s going on?

    1. Jacob, are you using The­sis 1.4.2? There was a weird issue with 1.4 which pre­vent­ed the remove_action() for the com­ments link from work­ing, but it has since been fixed.

  60. Daniel Rodriguez

    Hi rick,
    I’m using the­sis 1.4.2 and I hav­ing prob­lems with the custom.css, just cant see the text box.
    Are you havng this prob­lem to?
    Thanks.

    1. If no text box for the custom.css is show­ing up, that’s because Open­Hook could­n’t access the custom.css file. The box is hid­den in such a case to pre­vent larg­er problems.

      File per­mis­sions, file struc­ture, unusu­al serv­er setups… Lots of things could pre­vent the file from being accessed.

      Most com­mon, though, is that The­sis is installed some­where oth­er than in wp-content/themes/thesis/ (if the fold­er isn’t thesis/, Open­Hook does­n’t touch the custom.css file).

  61. OK, basic question — 

    I uploaded my logo, and used Open­Hook before_title hook with this:

    <img align="left" src="http://twilightearth.com/public_html/wp-content/themes/thesis1.3.3/custom/images/twilightearth_70.jpg" style=""/>

    and I see the above when I view the source code, but no image shows up.

    What am I doing wrong?
    http://twilightearth.com

    1. Help!

      Using Open­Hook to put logo into head­er: I uploaded the image, and I see the line in the ‘view source’ option, but the logo does­n’t show up. When I type the URL of the image in the address bar, I get a 404 page.

      Here’s the site: http://twilightearth.com

  62. Hey Rick,

    Ques­tion for you. Just rein­stalled the­sis for a new blog I am devel­op­ing, and added open­hook to it.

    For some rea­son in open hook I do not see the custom.css: box. At the top of the screen is “Before HTML:”.

    Any ideas as to why the Cus­tom CSS box would not be show­ing up in Open Hook?

    Thanks in advance!

    Doc

      1. Hi Rick, thanks for the quick answer.

        My atyle.css is locat­ed in wp-con­tent/themes/the­sis

        What should the file per­mis­sion be for open­hook to see it?

        Thanks, Doc

        1. I assume it should be set to be serv­er writable, but I’m not pre­tend­ing to know that much about serv­er con­fig­u­ra­tions. Try 0777 as the per­mis­sions on it to see if that resolves it.

  63. LOVE this plu­g­in! Thanks for your time and effort in cre­at­ing it. Saves a great deal of time for us new­bies in cus­tomiz­ing the The­sis them.

  64. Just pass­ing by to say thank you for the good plu­g­in! I can do with it almost every­thing need­ed. And, very impor­tant — to edit the custom.css with­out even start­ing an FTP pro­gram and all that down­load­ing, edit­ing, upload­ing etc. :)

    Please, con­tin­ue sup­port­ing it, this obvi­ous­ly becomes my main tool :)

    Thanks again!

  65. Hey!

    Thanks for the AWESOME plu­g­in. I was won­der­ing if there was a good way to use Open­hook to do this:

    The­sis is set on my blog to have one side­bar, but on cer­tain Pages, I would like it to be the two side­bar style. Is there any­way to do an If/Else state­ment in Open­hook to help facil­i­tate this happening?

    Thank you so much!

    Brad

    1. Unfor­tu­nate­ly, not that I’m aware of. More advanced con­trol over the side­bars like that more than like­ly would involve hack­ing The­sis’ core to add in your con­di­tion­als, which I don’t rec­om­mend. How­ev­er, with some CSS trick­ery, you could prob­a­bly achieve what you’re want­i­ng. Have you asked about this in the The­sis Cus­tomiza­tion forum on the sup­port board? Lots of styling gurus hang around there and should be able to help you out.

      1. Rick,

        Well you are the man. Thanks again for all of your hard work and being active on the com­ments here. Style & Grace. 

        Best, Brad

  66. Hi Rick, is there a way to use Open­Hook to add tweets in my head­er? When I add it, it seems to push the entire head­er down.

    Am I miss­ing something?

    1. Well, I can’t say for sure with­out see­ing it in action, but you like­ly need to add some styling to the tweet so get it to appear where you want.

      Assum­ing the tweet is in a con­tain­er called #tweet, you could use some­thing like this to put the tweet on the right side of your header:

      #tweet { float: right; }

      That will need to be added to your custom.css file, either via Open­Hook (if that option is avail­able to you) or via man­u­al­ly edit­ing the file.

      1. ack! I tried this and used open­hook instead of Notepad++ and ftp to change cus­tom css and now my logo is gone. I’m not sure what I could have done. I added to #tweet lines of code to the cus­tom css and have removed both of them but my logo is still gone.

      2. What seems even more strange is I remem­bered the last custom.css I uploaded was prob­a­bly still in my recy­cle bin. I brought it out and my logo is still gone. Almost like some­thing is stuck and clear­ing out properly.

      3. OK, so some­thing very strange hap­pened. When I typed in the direct URL to my logo the url showed up in the brows­er as text. I uploaded my logo again and things seem to be work­ing normally.

        Not quite sure if it was an Open­Hook issue or not, but this is the first time I’ve used Open­Hook for custom.css.

        May be a bug?

        1. I would­n’t expect so; there’s no way that Open­Hook could have affect­ed your image file. Not sure what hap­pened there, but I’m glad you got it sorted!

  67. The scope of the The­sis project, what it’s done and what it plans to do, is so vast that it’s easy to assume Mr. Pear­son & Co. want to cre­ate a new caste of coders/designers/consultants who are keep­ers of the The­sis secrets. That one of y’all devel­oped this Open­Hook pan­el is direct refu­ta­tion of that. I won­der if you (or any­one) could give me encour­age­ment that I could sin­gle-hand­ed­ly accom­plish my wish-list. I’d appre­ci­ate your thoughts. I’m on Twit­ter as @RickWolff .

  68. Rick,

    I love your plu­g­in, thanks! I just upgrad­ed to 2.0, and have this weird issue: the “Exe­cute PHP on this hook” but­ton on the “After Head­er” hook won’t stay checked! Is this a lit­tle bug? Since I’ve got this code there …

    … I’m not see­ing my Nav Menu at all! I’ve tried all the L.A.Save But­tons, but to no avail. Ideas?

    Alec

    1. Rick,

      I nosed around in options.php and found …


      <input value=“1” id=“openhook_after_header_php” name=“openhook_after_html_php” type=“checkbox” />”

      and changed “openhook_after_html_php” to “openhook_after_header_php.” That seemed to do the trick.

      My first php cod­ing experience!

      1. Yeah, my bad there. Open­Hook was the prod­uct of close to ten hours non-stop cod­ing going from ver­sion 1.1 to 2.0. I got a lit­tle cross-eyed at times. I fixed the bug and 2.0.1 should show up in your dash­board for auto­mat­ic upgrade soon enough. Thanks a ton for report­ing it!

        1. Rick,

          Absolute­ly! It gave me an oppor­tu­ni­ty to learn a lit­tle php. And thanks so much for the plu­g­in. It allows hacks like me to look like real experts.

          Bless­ings,

          Alec

  69. Thanks for the 2.0 update. Now for a request…how about allow­ing us to change the name of the “But­ton” to some­thing else? Even Chris allows that.

    1. I had con­sid­ered that, but after ten hours of star­ing at what seemed like a thou­sand dif­fer­ent hooks, I was just hap­py to release what I had and be done. Maybe in the future. :D

  70. This is amaz­ing! I was going to build anoth­er site using a dif­fer­ent theme, but now I’m con­vinced. First thing tomor­row I’ll be upgrad­ing to a devel­op­er license. All oth­er themes should just cease to exist — The­sis rules!

  71. I was won­der­ing if I could use “search box” with­in 404 page instead of error mes­sages. It seems to me Open­Hook can cus­tomize 404 page.

    1. You can include what­ev­er you want on the 404 page; check out this extreme exam­ple (in Open­Hook, use the code for “most oth­er Word­Press themes”).

      How­ev­er, to include The­sis’ search form, use this func­tion in OpenHook:

      <?php thesis_search_form(); ?>

      Not sure what the styling would like on it, but I’m sure it’s noth­ing a few style tweaks in your cus­tom stylesheet would­n’t handle.

  72. Hey Rick! Thanks for the plu­g­in update. I love it and am learn­ing more and more about using hooks. 

    Now I need a tuto­r­i­al on how to use the fea­ture box. (HINT, HINT) :-)

    Check out what I’ve done so far here: http://www.jhsiess.com

    Sug­ges­tions wel­come, of course.

    1. Oops … I spoke too soon. Upgrad­ed. But have to revert to the pri­or ver­sion because no mat­ter what I do, new ver­sion will not exe­cute php below the head­er. I have checked the box and re-saved about a zil­lion times. Same result. I did­n’t make any changes oth­er than to upgrade the plu­g­in using the auto­mat­ic upgrade fea­ture in WP 2.7.1.

      1. Ah, I just real­ized what the prob­lem is. I have been using ver­sion 1.1. WP 2.7.1 is offer­ing an auto­mat­ic upgrade to ver­sion 2.0, not 2.0.1. That’s why I got the error which I not see you wrote about above. 

        My bad. I should not be doing this at mid­night, obviously.

        Thanks, Rick.

  73. Tell me! :) Where you could find such sup­port? You’re ask­ing polite­ly Mr. Beck­man to con­tin­ue the sup­port of the plu­g­in because it’s impor­tant for you, and in 48 hours he says: “Please receive ver­sion 2!” :)

    Thank you, Rick! Delet­ed the old direc­to­ry, uploaded the new one and it worked instant­ly, keep­ing all pre­vi­ous settings :)

    Greet­ings!

  74. Rick:

    I find Open­Hook to be invalu­able to me when I’m design­ing for clients. For one thing, it speeds the devel­op­ment process, because I can try things and replace things more rapid­ly than if I was con­stant­ly mod­ding the css and php files. For anoth­er, it makes the changes more trans­par­ent to the client once the files are turned over to them. They still might not have the skills to imple­ment new changes them­selves, but it’s less intim­i­dat­ing for them if I send instruc­tions to add some­thing to Open­Hook than if I’d said add some­thing to the custom.php file. So, thanks!!

  75. Rick,
    Great update to 2.0 — extreme­ly great. One lit­tle thing though… pleeeeeeeease bring back the stretchy edit­ing box­es! They were a major part of my work­flow, they made my job 100% eas­i­er. They make the page short­er (not as much of a big deal now with the mul­ti­ple save but­tons) but more impor­tant­ly, I work far more effi­cient­ly when I can see a screen­ful of code rather than just 10 lines at a time.

    1. Did those work on Word­Press 2.7? Seems as though after I upgrad­ed, they stopped work­ing, and since Chris and I only sup­port Word­Press 2.7+ for The­sis, it did­n’t seem unrea­son­able to expect the same with OpenHook.

      If I can get a solu­tion work­ing in 2.7, I may add it back. How­ev­er, I’ll be hon­est and say that I have no idea how that JavaScript worked — I nev­er got past “Hel­lo world” in learn­ing JavaScript. The resiz­ing script was sim­ply car­ried over from the plu­g­in that Open­Hook was based on.

      1. They worked on WP 2.7, but nei­ther of the sites I’ve upgrad­ed Open­Hook on are run­ning WP 2.7.1, so maybe there’s some­thing going on there. I’m mod­er­ate­ly decent with javascript, I’ll poke around and see if I can spot any­thing and let you know if I find anything.

      2. Hey Rick, I fig­ured out a solu­tion. It’s not as slick as the pull-down method, but I think it works even bet­ter. I put two but­tons under each textarea — one but­ton adds 15 rows to the textarea, the oth­er con­tracts the textarea by 15 rows. I made a few oth­er minor changes relat­ed to this as well, and put a new options.php file up for you to down­load and check out if you like: Right click and save, then rename the phps file to php. I start­ed com­ment­ing on line 235 to explain every­thing I did in detail. No cred­it required if you decide to use my changes, just hap­py to help out.

  76. Thanks for a this great work rick! Two ques­tions though:

    1. Is there any easy way to be noti­fied when you’re updat­ing Open­Hook (i guess the auto-alert sys­tem built in word­press does­n’t work when you don’t host the plu­g­in in the wordpress.org repository)?

    2. Do you have any nice resources where I can find inspi­ra­tion for all the pos­si­bil­i­ties this plu­g­in gives us? Like the exam­ple for cus­tomiz­ing the footer.

    Thank you!

    1. The­sis is host­ed w/ Word­Press, and you should be noti­fied when updates are available. :)

      As for resources… Well, skies the lim­it. You can use just about any markup or Word­Press code you could want in Open­Hook. Bet­ter to know what you want and ask for it then to be giv­en a ton of exam­ples of stuff you prob­a­bly don’t need, in my opin­ion anyway. :)

  77. Rick, hi. I think I’m a lit­tle con­fused as to what to put in some spot. for exam­ple, say I want to do the nav menu switch from top to bot­tom of head­er. What exact­ly do I enter into the textbox?

    Thanks!

  78. Anoth­er ques­tion Rick. I’m try­ing to put an adsense unit in the con­tent area.

    It shows up, but above the con­tent and is not aligned accord­ing to my CSS (float:left;)

    how would I put this in the con­tent area? Thanks again.

    1. What code are you using? There’s no rea­son some­thing like this should­n’t work:

      <div class="adsense_ad">YOUR ADSENSE CODE</div>

      …with this in your custom.css file:

      .adsense_ad { float: left; }
      1. I tried putting the code in the oth­er, but it had php in it. basi­cal­ly it calls…

        adsense_singlepost_top_square.php

        and uses the style you men­tion. hold on a sec… here’s how it’s resolving

        and the CSS I’m using is:

        #adsense_singlepost_top_square {
        float: left;
        margin-right: 10px;
        }

        1. arrrg, ok so the code did­n’t show up. It’s putting the google ad right after the con­tent div and right before the post div.

    1. If you’re using Word­Press 2.7 or new­er (which is required to use The­sis and thus, Open­Hook as well), you can install the plu­g­in via the auto­mat­ed installer with­in Word­Press. No need to down­load the above file at all. :D

  79. Hi Rick,

    Not sure why, but I am run­ning WP 2.7.1 and upgrad­ed to your Open­hook 2.0 the day you released.

    The WP auto installer in my admin is not show­ing a 2.1 upgrade available.

    Any ideas as to what’s up? Should I just DL from here and upload?

    Thanks,

    Doc

    1. Ooh, my fault. I for­got to change the ver­sion in the plu­g­in file itself; no won­der the plu­g­ins direc­to­ry did­n’t con­sid­er my changes a new ver­sion! Thanks for let­ting me know; I prob­a­bly would nev­er have noticed this on my own.

      I fixed the over­sight, and the auto-update should appear soon-ish. How­ev­er, there’s no harm in doing a man­u­al update if you don’t want to wait. The only change is described in the changel­og in the post above, so it may not be a big deal at all for you not to imme­di­ate­ly upgrade. No harm either way.

      1. Awe­some… glad I decid­ed to point it out.

        In no rush, blog work­ing fine, so I will wait for the auto installer. Just love the new auto installer — so much easier!

        Thanks again,

        Doc

  80. This NextGen Gallery short code [singlepic=1,188,141„right] does­n’t get processed but shows up where the image is sup­posed to be. Is there a way to use short codes with OpenHook?

    1. The option to parse short­codes… Now that’s a good fea­ture request! Thanks, dude!

      In the mean­time, you can get around that short­com­ing with this:

      <?php
      $gallery = '[singlepic=1,188,141,,right]';
      $gallery_parsed = do_shortcode($gallery);
      echo $gallery_parsed;
      ?>

      Make sure to select to parse that code on whichev­er box you’re using in Open­Hook. Let me know if that fails (and what the error is, if any).

      1. Does­n’t seem to be work­ing. I get [Sin­glePic not found] but the short code works fine when used on a Word­Press page. I just retest­ed it to make sure.

        1. I’m not too famil­iar with the [singlepic] short­code, but I’m bet­ting what’s hap­pen­ing is that it can only be used with­in the loop (read: with­in posts them­selves); out­side of the loop, the short­code has no idea which post it’s access­ing, which picture(s) it should be ref­er­enc­ing, and so on. Not sure. If I can fig­ure out how to trick it, I’ll let you know.

  81. Hey there Rick, just a side­note about a con­flict I found after upgrad­ing to 2.0.1 — I’m using the K2 theme while I cus­tomize my The­sis site. Well, Open­hook caus­es old­er post not to show up. I get some con­flict with capabilities.php line 920 — not sure if this would con­cern you too much, but thought you would like to know about it.

  82. I don’t know what I am doing wrong but I can’t get it to unzip. I have down­loaded many plu­g­ins for word­press and know what to do but when I try to unzip this plu­g­in it keeps telling me I already have a file with that name. the the­sis-open­hook file with 0kb gets loaded and the fold­er with the­sis-open­hook nev­er gets unzipped.
    any­body else have this prob­lem or am i alone

    1. The file works fine for me; how­ev­er, there’s no rea­son to down­load it. Just use the auto­mat­ed plu­g­in installer in Word­Press. Search for Open­Hook, and it’ll come up to be installed. Easy. :D

      1. thanks , got it. I have nev­er installed a plug-in that way. I like to have them on my sys­tem so I can slide them all over in one move on new sites but that works. thanks for the quick response.

        1. Once it’s installed via the auto­mat­ic installer, you can down­load it to your comp via file man­ag­er. Again, not sure why the down­load­able archive above does­n’t work… Does it work if you down­load it from Word­Press’ plug­in’s direc­to­ry? Their archives are auto­mat­i­cal­ly gen­er­at­ed, so it’ll be ever-so-slight­ly dif­fer­ent than the one I cre­at­ed and have avail­able above.

  83. Rick,
    Not sure what I did, but I had the open hook rock­ing and rolling at http://www.michiganfireservice.com. Then I upgrad­ed the open­hook to 2.0, and was run­ning a 1.3 some­thing on the­sis. I got error up the wazoo, so I unplugged the open hook and upgrad­ed the­sis to 1.4.2 and to 2.7.1 on wp
    I plugged in open hook and get
    Warn­ing: main(TEMPLATEPATH/lib/classes/options.php): failed to open stream: No such file or direc­to­ry in /home/content/m/o/b/mobrian/html/mifireservice/functions.php on line 22

    Fatal error: main(): Failed open­ing required ‘TEMPLATEPATH/lib/classes/options.php’ (include_path=’.:/usr/local/lib/php’) in /home/content/m/o/b/mobrian/html/mifireservice/functions.php on line 22
    Any ideas?

    1. Not sure why, but there is a functions.php file in the root of your site, which is not need­ed by Word­Press, The­sis, or Open­Hook. It’s the file throw­ing the error, so it’s being used by some­thing, which is odd. Try delet­ing it, see­ing what happens.

      1. Rick, that worked great, now I just have to fix some hooks that were lost. Not sure if I cod­ed some­thing wired, but I will get it up and run­ning, thanks for your help!

  84. Rick -

    Try­ing to put an image above the title “Home” on the home page only of test site WebChannel33.com. Using Open­hook, I can get an image in about the right place by using the Before Con­tent space.
    How­ev­er, I do not know how to invoke the con­di­tion that the image should only show on the home page. I tried putting the code below in the Before Con­tent box:

    <?php if (is_home()) { ?>
    <img src=“http://webchannel33.com/wp-content/uploads/2008/08/480x2701.jpg&quot; alt=“480x270 test image” title=“480x2701” width=“480” height=“270” class=“size-full wp-image-232” />
    <p>Text before con­tent, not before con­tent BOX.</p>
    <?php } ?>

    and checked the box to ” Exe­cute PHP on this hook “. How­ev­er, the image does not show on any page. (The same test image also cor­rect­ly appears a few para­graphs down the page, cap­tioned as “480×270 test image”.)

    My even­tu­al goal is to get video(s) into the Before Con­tent loca­tion, on var­i­ous pages using con­di­tions. So it seemed to me that first I should try to learn how to place jpg images in the desired loca­tion, and lat­er I will work on place­ment of the video player. 

    If the error is appar­ent, please let me know.
    Thanks, — E.J.

    1. Word­Press’ con­di­tion­al tags are a bit con­fus­ing so far as their names go: If you’re using a page as a home page (rather than your blog) as you are doing, is_home() won’t work because is_home() always refers to the blog page. To tar­get your front page, whether it be the default or set to a cus­tom page, you should be using is_front_page(). Hope it works for ya. :D

      1. Rick -
        Thanks, it worked.
        I had not noticed, until after read­ing your com­ment above, that the test image was show­ing only on the “Blog” page. After mak­ing the change you rec­om­mend­ed, the test image shows on the home page and only on the home page.

        Thank you for your patience towards those of us in an ear­ly learn­ing mode.
        Best regards,
        — E.J.

  85. Hi Rick — I just want­ed to let you know about a lit­tle glitch I encoun­tered with 404 Title — if I enter this:

    and save, the 404 page looks fine, but the next time I see this in the 404 Title (one back­slash per quote):

    and after the next save I see this (two back­slash­es per quote):

    and then after the next save I see this (three back­slash­es per quote)

    at this point I start get­ting the expect­ed PHP error:
    Warn­ing: Unex­pect­ed char­ac­ter in input: ‘\’ (ASCII=92)

    1. Oops, I includ­ed the PHP tags and that is obvi­ous­ly a no-no. This is the 404 Title code I added:
      echo "Content Not Found";
      which got turned into
      echo \"Content Not Found\";
      and then
      echo \\"Content Not Found\\";
      and finally
      echo \\\"Content Not Found\\\";

  86. Hi Rick,

    Thank you for the plu­g­in, I should have start­ed using it months ago. I am cur­rent­ly re-doing my site at blog.chrisstroud.net and have a quick ques­tion. I am putting a foot­er after each of posts and do not wan it to show up on the home page. I know I should be using if(is_single()) { some how but do not know how to apply. Any help would be appre­ci­at­ed. Thank you.

    1. Well, I could be more spe­cif­ic if I knew what foot­er code you were using, so I’ll just assume a basic para­graph. Try this out.

      <?php if (is_single()) { ?>
      <p>Your Footer Text Here</p>
      <?php } ?>

      That should do it.

  87. I have tried to insert the fol­low­ing google code into the “before com­ment meta” hook to no avail. I have enabled php, but noth­ing ever shows up.

        1. Much bet­ter. :) Now, with that, what’s the link to your site? I like to try to see things “live” if at all pos­si­ble… Helps me to visu­al­ize a solution.

  88. Heads up, every­one: If you’re part of the elite group of legit­i­mate The­sis users (i.e., your copy isn’t pirat­ed), you can now get Open­Hook sup­port in a nice, orga­nized envi­ron­ment on the DIYthemes sup­port board. :D

  89. Rick,

    Thanks a ton for cre­at­ing this! I need a lit­tle (actu­al­ly a lot) of guid­ance. My home page acts as a blog but I want to have spe­cif­ic bit of info show up pri­or to the begin­ing of the blog entries, not to be con­fused with info that shows up on every blog post. For exam­ple, the page would look like this:

    - Sta­t­ic text that does­n’t move (kind of an intro to the site)
    — Blog entry 1
    — Blog entry 2
    — .….….….….

    Under­stand what I’m get­ting at? Any idea how that can be done?

    1. Hey, Ryan. Glad you enjoy Open­Hook! To add con­tent before the posts on the home page, use the “Before Con­tent” box, but wrap your code like this:

      <?php if (is_home()) { ?>
      YOUR CODE HERE
      <?php } ?>

      1. Rick,

        I’m a bit con­fused. First, let me men­tion that I’m run­ning The­sis on two dif­fer­ent sites, both con­fig­ured the same way. Both sites are using open­hook, but they appear to be dif­fer­ent ver­sions. The ver­sion that is work­ing only has one “lit­tle ass save but­ton” at the very bot­tom. The ver­sion that isn’t work­ing has a “lit­tle ass save but­ton” under each sec­tion. Have you had any­one else hav­ing this issue?

        Site that open­hook works with (noth­ing cur­rent­ly imple­ment­ed, but I did just test to make sure it was work­ing) is greensboropolitics.com. Site it isn’t work­ing with is greensborocommunitywatch.com.

        Thanks for any help you can provide.

        Ryan

        1. By “not work­ing”, what do you mean? Are there any errors? Are you able to enter cus­tomiza­tions and save? If you are, does noth­ing hap­pen on the site itself?

          My ini­tial guess is that you’re using a caching plu­g­in of some kind which isn’t updat­ing after Open­Hook’s set­tings are changed. You’ll need to dump the cache via that plug­in’s set­tings after any set­tings are changed in OpenHook.

          That said, your work­ing site is run­ning an out­dat­ed ver­sion of Open­Hook. If you’re run­ning a recent ver­sion of The­sis, you’ll want the lat­est ver­sion of Open­Hook to take advan­tage of all of the new­er hooks and so on. :D

  90. Hi Rick, thank you so much for all your work to make me not have to work so hard. (And since I don’t know very much, I real­ly have to work hard any­way!) I fol­lowed your video and added a copy­right state­ment via my custom_functions file, and fol­lowed instruc­tions some­where for switch­ing the nav bar to after the head­er. Since I just love to have options, I was so excit­ed to see that Hooks give so many options. The prob­lem is that, as I look at the list of The­sis Hooks, I can’t real­ly tell what most of them are or what they will do for me. For instance, “thesis_hook_after_content” means noth­ing to me about what cool thing that could do for me. As some­one who is main­ly using The­sis as a sta­t­ic web­site until I can get orga­nized to begin blog posts in addi­tion, is there a hook or two or three that you think I could ben­e­fit from? Thanks, I appre­ci­ate what­ev­er you or your sub­scribers want to sug­gest. http://www.tnlvirtualsolutions.com

  91. Hi. I went to imple­ment open­hook and found this error on the page that loaded.

    Unfor­tu­nate­ly, your custom.css file does not appear to be editable by the serv­er, so you will not be able to edit it via the Open­Hook inter­face. Sor­ry for the inconvenience.

    How do I fix this? Blog is host­ed on my server…

    Thank you
    Rick

  92. You men­tion that to remove the The­sis attri­bu­tion in the foot­er (and yes, I do have a devel­op­er mul­ti-site license) — you use the hook men­tioned below to edit custom_functions.php

    - but where do you put this hook in your “open­hook” interface?

    I’ve tried the Foot­er box (just dis­played my code as text) and the Before HTML — did nothing.

    Where should we place hooks for sitewide configuration?

    Thanks — rick

    1. Okay WAAY down at the bot­tom of Open­Hook — I see you’ve includ­ed a check­box to remove the foot­er attri­bu­tion — whew.

      Thanks — are there any oth­er kinds of sitewide hooks that don’t go into a pre­set box on OpenHook?

      Where would they need to go?

      thanks — rick

      1. Any of the The­sis remove_actions() prob­a­bly won’t work in Open­Hook’s box­es — the box con­tent is fired before The­sis adds the actions, I think. That’s why I includ­ed the check­box removal system.

  93. Rick,
    I’m using 

    if (is_page(array('232','234','236','303','383'))) remove_action('thesis_hook_header', 'thesis_default_header');

    in the Before Head­er box, and sim­i­lar remove_actions() in oth­er Open­Hook box­es, and they work per­fect­ly. A quick test showed that remove_action('thesis_hook_footer', 'thesis_attribution') in the Before Foot­er box worked to remove the attri­bu­tion. Use­ful if you want the attri­bu­tion removed only on cer­tain pages.

    1. That’s good to know, Alec! I haven’t messed around with cus­tomiza­tion via Open­Hook too much — I more or less test it enough to make sure it works (bar­ring the occa­sion­al bug or two), so a lot of its pow­er is unknown even to me. I leave it to you users to do the cre­ative stuff… Kin­da like The­sis itself: we know it’s a pow­er­ful sys­tem, but there are sites out there which blow Chris and myself away. We can nev­er under­es­ti­mate users’ creativity!

  94. Hi Rick,
    First­ly, thank you for Open­Hook for The­sis! A great tool!

    I have a small prob­lem just sur­faced after mak­ing an entry in Openhook.
    The entry was placed in ‘Archive Info Box’
    The ‘code’ .…..

    Exe­cute PHP on this block = Is ticked
    Remove The­sis default archive info = Is ticked

    I get the results that I want when I use the Cat­e­go­ry & Archive Pages but the error mes­sage occurs when I use the stan­dard The­sis Search Box. After typ­ing in a key word, the search results page is dis­played with the fol­low­ing error message…

    Catch­able fatal error: Object of class WP_Error could not be con­vert­ed to string in /nfs/c03/h01/mnt/47704/domains/blog.youcanmakeitifyoutry.com/html/wp-content/plugins/thesis-openhook/functions.php(627) : eval()‘d code on line 3

    I am not an expe­ri­enced PHP user and would appre­ci­ate it if you could help me on this one.

    Regards,

    Ray

    I am using…
    The­sis 1.4.2
    Open­hook 2.01
    PHP 5

    1. Hi Rick,

      Noticed on my pre­vi­ous com­ment that the code did not appear…

      Here it is again wrapped in “”

      Regards,

      Ray

      1. Hi Rick,

        My apolo­gies I missed the bit about ‘escaped code’.

        Here is the code!

        <div id=“archive_info”>
        <h1><?php single_cat_title(); ?></h1>
        <div id=“category_description”><?php echo category_description(); ?></div></div>

        Regards,

        Ray

        1. Hi Rick,

          I have just used the htm­lescape tool and here the ‘escaped’ code…

          <div id=“archive_info”>
          <h1><?php single_cat_title(); ?></h1>
          <div id=“category_description”><?php echo category_description(); ?></div></div>

          Regards,

          Ray

          1. My guess is that the code is fail­ing because on a search results page, category_description() isn’t a valid function.

            Try wrap­ping your code in a con­di­tion­al so that it only is active if a non-search page is being viewed. The (neg­a­tive) search con­di­tion­al is !is_search().

            1. Hi Rick,

              Thank you for your response and assistance.

              I have tried for a cou­ple of hours with no suc­cess to fol­low your advice (which makes sense to me log­i­cal­ly) and wrap my code in the con­di­tion­al as you quot­ed, using Open­hook as before.

              I looked up the WP Codex, W3Schools site etc for exam­ples but unfor­tu­nate­ly my lack of PHP knowl­edge has defeat­ed me.

              If you can would you please give me an exact example.

              Regards,

              Ray

              1. Hi Rick,

                Sor­ry to has­sle you but are you able to help me on this one?

                Should I post on the The­sis Forum maybe?

                Regards,

                Ray

  95. Hi — I have suc­cess­ful­ly used open­hook to add word­ing but I am strug­gling to get images in place. I put in code src=image path; and just get word­ed detail on site, no pic­tures. Can some­one please sug­gest what I should put in open­hook to add images in var­i­ous spots. I copied code from oth­er images I have placed and am clear­ly miss­ing the point/ putting too much in openhook/ or not enough! Say I want to add a nav bar to foot­er; I put all my nav bar detail in the foot­er box; as is for my ini­tial head­er, and just got all the code. I am sor­ry if this is a sil­ly new­bie ques­tion! But real­ly thank you!

  96. Char James-Tanny

    Rick, I have to tell you that I’m real­ly lik­ing Open­Hook. My hus­band found and installed it after we got start­ed with The­sis, and it real­ly is quite easy to use.

    I think I’ve tripped over some­thing, though. I want to move the nav­i­ga­tion so that it falls after the fea­ture box and before the content_box div. But whether I place it before content_box or after head­er, it actu­al­ly shows up before feature_box.(I would expect it to show up before feature_box if I spec­i­fy after header…it’s the before content_box that I think is confused.)

    I can mod­i­fy custom_functions.php to get around this…I just want­ed you to know :-)

    Thanks again for an awe­some plugin!

  97. Avinash D'Souza

    Hi Rick,

    Can you tell me the code you used to get the Cre­ative Com­mons icon with link back to site next to your name in the copy­right? Noob here.…my code so far is:

    Copy­right 2009–, Avinash Jude D’Souza. 

    Is there any way I can amend the The­sis attri­bu­tion? What I want to say is “This site is pow­ered by The­sis and Word­Press” where both The­sis and Word­Press are links.

    Cheers,
    Nash

  98. I’ve been play­ing around with the hooks for days, and just got referred to your plu­g­in, what a relief!!!! Thanks for a great work­ing plugin.

  99. Hey Rick… I’m lovin’ your Open­Hook addi­tion to The­sis! I do have one sug­ges­tion. Not sure how much of a pain it’d be to add this, but I real­ly like how Chris P. added the + box­es that drop down more info … your Open­Hook could be much eas­i­er and quick­er to nav­i­gate if you would put a + after each head­ing, like Cus­tom Stylesheet, Before HTML, etc. Then what would drop down would be the input box, and “Exe­cute PHP on this hook” type pro­cess­ing check­box­es, and the “Lit­tle Ass Save But­ton.” This way I could quick­ly get to just what I want to edit, with­out too much scrolling.

    Again, maybe that’s gonna be too much of a pain to imple­ment, but it seems like a good idea, yes?

    1. That is a good idea… I just have no clue about JavaScript. Haven’t had much time to mess with Open­Hook over the past few weeks, but hope­ful­ly I’ll be able to get anoth­er improve­ment out into the wild soon. I hope.

  100. Rick — are there any incom­pat­i­bil­i­ty issues that you know of between The­sis 1.5 beta 3 and Open­Hook? I was mak­ing changes via Open­Hook to my custom.css file that weren’t reflect­ed in the custom.css file on my server. 

    *I* saw the deletions/edits on my admin screen — but anoth­er admin kept insist­ing that I had­n’t make the changes, ’cause he could­n’t see it on his screen. (Yes, I’d hit the lit­tle-ass but­ton mul­ti­ple times!) He even logged out and then back in to triple-check. When I FTP-ed in to my serv­er to down­load the file and prove him wrong — well, he was right. (I end­ed up mak­ing the edits offline & upload­ing a fresh file to my server.)

    I love the plu­g­in and would love to con­tin­ue using it. Let me know if I can pro­vide more infor­ma­tion or help in any way.

    1. It should work per­fect­ly. If you’re see­ing the custom.css updat­ed in the Open­Hook screen, that means the hard file on the serv­er is updat­ed as well. There’s no caching or any­thing at work, and when­ev­er the page is loaded, it pulls direct­ly from the file.

      The only incom­pat­i­bil­i­ty between The­sis 1.5b and Open­Hook is that 1.5b intro­duces a cou­ple of new hooks which I don’t think I’ve added spots for in OpenHook.

  101. John McLearran

    It would be great if you could some­how “export” the changes you’ve made in The­sis Open­Hook as prop­er­ly for­mat­ted custom.css and custom_functions.php.

    Any plans on adding this func­tion­al­i­ty in the future?
    (I’d even be will­ing to pay for a ver­sion that had that option…)

    1. Export­ing the custom.css is easy: cut, paste, done. :)

      I’ve thought about doing an export fea­ture, but giv­en the ease of copy/paste and the unlike­ly­hood of using so many hooks that copy/paste becomes an undo bur­den, it’s not too high a fea­ture on my list. Once The­sis itself allows export­ing of set­tings, an export of Open­Hook set­tings may get a sec­ond look as well. Good sug­ges­tion, though.

  102. Hi Rick,

    I’m new to all this cod­ing and hoped that Open­Hook would help resolve some of the issues I’ve been strug­gling with for days. Maybe you could help.
    1. I’d like to put a small logo image to the left of, — not above, and not below — my Title and tagline in the Header.
    2. I want to put the out­put of the Glob­al Trans­la­tor Plu­g­in into, (maybe a box?), on the Right Side of my Head­er (it wants to go into a side­bar wid­get)., and.
    3. I’d like to get rid of the WP Admin link in the footer. 

    I will be most grate­ful for any direc­tions, advice or links to res­o­lu­tions to these issues.
    Thanks…John

    1. Hey John,

      You can be rid of the WP Admin link by going to “The­sis Options” under the “Appear­ance” menu. On the bot­tom left there are check­box­es for the Admin link’s lev­el of visibility.

      The eas­i­est way to do the logo on the left is to cre­ate a ban­ner, 960 px wide or so, with the logo and title and tagline as part of the ban­ner. Then you can just replace the title and tagline with your cus­tom banner.

      Not sure about putting a con­tent box over on the right above your side­bar, but my inter­est is piqued … I’ll look into it a bit.

      Cheers,

      Alec

  103. Rick, hi,

    I’ve added this line in the Fea­ture Box area:

    ‘menu.html’ is sit­ting in the ‘cus­tom’ fold­er, right next to the ‘custom_functions.php’ file and the ‘Exe­cute php’ check box is checked.

    But absolute­ly noth­ing appears in the func­tion box.

    I’ve tried dif­fer­ent variations:

    and..

    When I cre­at­ed a new com­plete­ly unre­lat­ed php page in a sep­a­rate domain and call that file using every­thing works perfectly.

    Any help much appreciated!

    Cheers,

    Mar­tin.

    1. Hmmm — the php lines I entered don’t show up. Here’s anoth­er go:

      I’ve added this line in the Fea­ture Box area:

      //

      ‘menu.html’ is sit­ting in the ‘cus­tom’ fold­er, right next to the ‘custom_functions.php’ file and the ‘Exe­cute php’ check box is checked.

      But absolute­ly noth­ing appears in the func­tion box.

      I’ve tried dif­fer­ent variations:

      //

      and..

      //

      When I cre­at­ed a new com­plete­ly unre­lat­ed php page in a sep­a­rate domain and call that file using every­thing works perfectly.

      Any help much appreciated!

      Cheers,

      Mar­tin.

    2. Do you have the Fea­ture Box enabled on the Design Options page?

      Also, note that when­ev­er post­ing raw code in Word­Press — whether in posts or com­ments — you need to escape it. ;)

      1. Rick, hi,

        Yes — Fea­ture Box is enabled.

        I’ve had the fea­ture box work­ing using the custom_functions.php file but I’m try­ing to cre­ate an easy way to revert to a default mes­sage in the Fea­ture box when there’s noth­ing impor­tant to say, and to do it through the plugin!

        The escaped call vari­a­tions I’ve used in the plu­g­in are here:

        <? include(“menu.html”); ?>
        <php? include(“menu.html”); ?>
        <?php include(“menu.html”); ?>

        I’ve got the Exe­cute PHP check box checked.

        Cheers,

        Mar­tin.

        1. The third option is the cor­rect for­mat, but it will only work if menu.php is in the wp-content/plugins/thesis-openhook/ folder.

          If you want to store the file else­where, you need to include the absolute or rel­a­tive path to the file.

  104. Rick,

    I was using the scrolling ball on my mouse to scroll around in Open­Hook and sud­den­ly ALL the text got much small­er. Also, when I checked my site, every­thing is com­pressed on it, too. What hap­pened and how can I undo this? PLEASE HELP!!!

    Thank you.

    Cyn­thia

    1. Rick,

      By “all the text got small­er” I mean ALL of it — the descrip­tions of the Open­Hook box­es, the text on oth­er pages of the Admin area, the site itself. In addi­tion, the site’s col­umn widths changed and got small­er. I was just scrolling in the Open­Hook plu­g­in when these changes seemed to make them­selves!! What could I pos­si­bly have done to change those set­tings? How can I restore the default col­umn widths and font sizes?

      Thank you!

      Cyn­thia

      1. Rick,

        My prob­lem is a “fea­ture” of Fire­fox 3 — I must have had the “con­trol” key down while I was scrolling down with the scroll wheel of my mouse and the com­bi­na­tion reduced the size of every­thing on the page. I have fixed it now.

        Thanks.

        Cyn­thia

  105. new to word­press, the­sis & the­sis openhook.

    am try­ing to load head­er: http://www.randomspecific.com have uploaded .gif image via cyber­duck and then entered:

    but the image is bro­ken. have tried a .png as well but no dif­fer­ence. clue­less & in need of help. cheers.

      1. thanks for the tip on adding code here.
        this is the code that i’ve entered in the the­sis open­hook head­er pan­elescape

          1. Your image source is a bro­ken link. Try remov­ing the “public_html” bit; that’s almost nev­er sup­posed to be part of the Web-fac­ing address.

            Also, remov­ing the slash­es from before the quotes is a good idea too, though that isn’t what’s keep­ing your image from appearing.

    1. hey there rick — you clear­ly are a genius — and i still need you help if you have any clues about my bro­ken link ;-) thanks in advance.

  106. On the 404 Title entry, if I enter the word “don’t” this gets changed to “don\‘t” and even­tu­al­ly more slash­es appear. Just want­ed to let you know.

  107. Hi Rick
    I am try­ing to get the text of a cus­tom field to show up in Openhook. 

    This string works fine when past­ed in a nor­mal Word­Press tem­plate, but not when I put it into Open­Hook. (Yes, I have select­ed the Exe­cute PHP checkbox ;-) ) 

    This is the PHP string I’m using — ‘author’ is the name of the cus­tom field
    <?php echo get_post_meta($post->ID, ‘author’, true); ?>

    Not sure if it mat­ters, but I am call­ing the author name into an Ama­zon javascript wid­get, and the line looks like:
    amzn_wdgt.defaultSearchTerm=’<?php echo get_post_meta($post->ID, ‘author’, true); ?>’;

    When I look at the source code of my blog page, the search term remains blank as if it is not print­ing. i.e like this
    amzn_wdgt.defaultSearchTerm=”;

    As I say, when I put this code into a nor­mal Word­Press theme, the cus­tom field prints fine. 

    Here’s an exam­ple of a page with the Ama­zon Wid­get on it so you can see the source code for your­self if you like.
    http://www.spikemagazine.com/on-chesil-beach-%e2%80%93-ian-mcewan.php

    What am I doing wrong? 

    Many thanks for all your hard work on OpenHook
    best
    Chris

  108. HI! Thanks for the plu­g­in it seems nice, I havent tried it but I want­ed to ask some­things first before I do. You see I am a web design­er and have been cre­at­ing word­press pow­ered web­sites for a while now. But the thing is I use stark­ers theme as a par­ent theme. I know css-xhtml and some php spe­cial­ly word­press loops and func­tions. My ques­tion is: Is it pos­si­ble to cre­ate vir­tu­al­ly any design on css-xhtml and con­vert it to a the­sis theme? Do you think with the lim­it­ed posi­tions or “hooks” we are bound to be lim­it­ed on our design ideas/positioning?

  109. Thanks, I’ve been using it with my new the­sis setup…But I’ve had a few issues with php code…Not sure if you can help…but I’ve pulled the code right from DIY like for social but­tons and tried adding them using this, and it gave me some error mes­sages when I checked the site…Am I sup­posed to pull a part of the code out?

    1. Chances are, the code block looked some­thing like this (this is a gener­ic example):

      function custom_social() {
      ... social stuffs here ...
      }
      add_action( 'thesis_hook', 'custom_social' );

      That’s the basic pat­tern for most of The­sis’ custom_functions.php addi­tions. To use that in Open­Hook, you would strip out just the actu­al, func­tion­al mate­r­i­al to paste into Open­Hook. In the exam­ple above, that means using only “… social stuffs here …”.

      I can give you detailed instruc­tions if need­ed if you post the code you’re using.

  110. Hi Rick,

    Does Open­Hook 2.3.2 work with WP 3.2.1 and The­sis 1.8.2?

    What’s the high­est WP ver­sion and The­sis ver­sion that it’ll work with?

    Thanx,
    Erik

      1. Thanx Rick. I do have it installed and it does seem to be work­ing well. I’ll let you know if any issues arise.

        Erik

  111. It´s a very nice Plu­g­in! Now I have a ques­tion using The­sis Open­Hook on sev­er­al pages. Is it pos­si­ble to exclude any pages ore posts from Open­Hook? Ore is it pos­si­ble to use the plu­g­in only on select­ed con­tent-sites or posts?

    Thanks

  112. Hi, this is a great plu­g­in and I use it often. I have a few wish­list items that may save devel­op­ers lots of time and make this plu­g­in even more awesome.

    1) When click­ing a save but­ton the page should return to the hook that was updat­ed. Per­haps an ajax update? I often edit the same hook many times before get­ting it right, and if I could avoid scrolling back to the hook after updat­ing it, it would save LOTS of time.

    2) Remem­ber­ing the text area size. Some of my hooks have 50+ lines of html. I can resize the textarea, but after hit­ting save it will return back to the default size. If open­hook could remem­ber the size, it would be great.

    Thanks!

    1. Mike, i’m cur­rent­ly rewrit­ing the plu­g­in — a project which is long over­due. I’m not intro­duc­ing ajax updat­ing in the next ver­sion. I’ve nev­er coded/customized ajax before, so i’m going to make sure i have it work­ing right before try­ing to add it in. Look for it in a point release.

      The text area resiz­ing is a fea­ture of your brows­er, not the plu­g­in itself. How­ev­er, the rewrite includes much more well-endowed text areas for editing!

  113. Hi Rick

    Great Plu­g­in.
    I run 3 sites on the The­sis Theme. 2 are still on the The­sis 1.8.0 ver­sion, because there seems an issue with updat­ing them from 1.8.0 to 1.8.4 which is being addressed (more or less) on the forums.
    0ne is on the The­sis 1.8.4 ver­sion. I just tried to update to your ver­sion 3 on the 1.8.4 site (http://www.haagschesuites.com) when Word­Press deac­ti­vat­ed it as it claimed an error.
    Just to let you know.

    1. If i’m not mis­tak­en, the plu­g­in is get­ting deac­ti­vat­ed on upgrade because i changed the name of the pri­ma­ry plu­g­in file from thesis-openhook.php to the much more sense-mak­ing (well, to me any­way) index.php. Word­Press views that as a dif­fer­ent plu­g­in, and so con­sid­ers Open­Hook to have van­ished. Reac­ti­vat­ing the plu­g­in after upgrade is all it takes to get cus­tomiz­ing again.

      Open­Hook should work fine with The­sis 1.8.0. I’ve not fol­lowed The­sis devel­op­ment ter­ri­bly close­ly, but the worst thing that could hap­pen is that Open­Hook will pro­vide you access to hooks that The­sis 1.8.0 does­n’t sup­port, which will sim­ply result in any cus­tomiza­tions added to those hooks being ignored. The major­i­ty of the plu­g­in should work just fine.

  114. Hi Rick,

    Just updat­ed The­sis open­hook in the­sis 1.8.4. It stopped show­ing ad on fea­ture box. So I did some exper­i­ment­ing and got the error below.

    Fatal error: Can­not use string off­set as an array in /home/******/public_html/wp-content/plugins/thesis-openhook/functions-admin.php on line 246

    Tried deactivate,activate,uninstall,reinstall.Nothing worked, just tied up in this error.
    How can I fix this?

    BTW,a great plu­g­in and thanks to you for that.I am sure this issue is tem­po­rary and can be tak­en care of.

  115. Hel­lo Rick,

    I just upgrad­ed your plu­g­in, and I’ve lost all my cus­tomiza­tion. I’m try­ing to input them man­u­al­ly again, but noth­ing shows up in my site. Any sug­ges­tions? I’m wor­ried, because I’ve lost two ads scripts. The prob­lem is there either with The­sis 1.8.2 and 1.8.4

  116. Thanks for this awe­some update, Rick. I have been The­sis for a cou­ple of years now, with The­sis Open­hook sav­ing my life time and time again. Just recent­ly, I’ve decid­ed to grad­u­ate from HTML and CSS and start writ­ing PHP. I don’t use Open­hook near­ly as much as I used to sim­ply because my code is get­ting more com­plex (like dif­fer­ent Fea­ture Box con­tent of dif­fer­ent pages, posts, etc.).

    I def­i­nite­ly would have left The­sis before real­iz­ing its true pow­er had it not been for your plu­g­in, though. I can’t believe that all this time I did­n’t know who you were. The new inter­face for the update was a great idea because it imme­di­ate­ly put a per­son­al­i­ty behind the work… so, now I can give you credit. 

    Any­way, the update is work­ing just fine for me on SuccessOnMyMind.com and SDavisCreations.com. I’ll soon be start­ing a blog on SDavis Cre­ations where I con­cen­trate on The­sis. I’ll be sure to empha­size your out­stand­ing work.

    Sean

  117. Hel­lo,
    I have just installed this hook man­ag­er thin­go, and as a con­se­quence have lost with­out trace 2 you tube videos and a The­sis ad that were placed after my media box (rota­tor) above the side­bars 1& 2 on RH side of page.

    I still have the rel­e­vant code but am unable to place it back where it was before installing the Word Press plug in prompt­ed update.
    Thanks for any assistance.
    Kevin.

    1. Dear Rick,
      It’s been over 30 hours that I have been try­ing to restore my site after installing the Open Hook upgrade.
      I have bar one prob­lem elim­i­nat­ed all the bar­ri­ers that dis­abled and de con­struct­ed my hum­ble FIRST ever web site.
      I start­ed teach­ing myself 3 weeks ago how to use The­sis and the WWWeb building.

      FYI pri­or to my first con­tact with you I had tried every­thing you offered to me and oth­ers here ‚as a solu­tion to my prob­lems, believe me none of them worked.

      One of the many dif­fi­cul­ties I faced was whilst try­ing to fol­low your advice the The­sis Hooks con­trol pan­el was not able to be opened and when it was was errat­ic open­ing and clos­ing by itself and not sav­ing set­tings and not refresh­ing with alter­ations made in the open hooks con­trol pan­el even down to not been able to save col­umn lay­out alter­ation cor­rec­tions that changed for no reason.
      OK enough with what went wrong.

      What did work ?
      I switched from Google Chrome Brows­er to Fire Fox, I have been using Chrome because a year ago FF was caus­ing me so much grief I tried and switched to Chrome with­out any prob­lems since.

      I have switched back to chrome some ten min­utes and every­thing is ok except for some text in the rh side bar under a you tube video “Vegas Pro 11” that I can­not find in the hooks or wid­get set­tings, I do not have this extra text in the FFox browser.

      I would pre­fer to use Chrome as I have had too much grief in the past with FFox so If you have any idea as to how to rid the extra text from the page I would be most grateful.

      A friend­ly sug­ges­tion, you are far smarter than me in the area of web site tech etc etc may I sug­gest though that the high­light­ed mes­sage at the top of this post ie.

      “If you are upgrad­ing to Open­Hook 3 from Open­Hook 2, the first thing you’ll want to do after installing the new ver­sion is to vis­it the Set­tings -> Open­Hook con­trol pan­el. From there, you can import your Open­Hook 2 set­tings into the new ver­sion 3 sys­tem; once import­ed, be sure to enable the The­sis and/or Word­Press actions groups from that same page.”
      In future be made before any oppor­tu­ni­ty is avail­able for users to up load an upgrade of Open Hooks in the future.

      When it works it works well but when it F***S Up it F***S Up twice as well.

      Thank you for your hard work and product.

      Yours faith­ful­ly,
      Kevin.

  118. Just upgrad­ed the orig­i­nal plug-in which added the cus­tomiza­tion pan­el & ran the upgrade script, but can­not get rid of the mes­sage say­ing that the Open Hook plu­g­in needs to be upgrad­ed. Any idea why?

  119. I’ve lost all my ads too. Glad it’s a sat­ur­day which means less traf­fic, but I’m get­ting ner­vous that I won’t get this fixed ASAP. It seems to work if I just put in reg­u­lar old text, but all the code I was using before like javascript or php is just being ignored.
    HELP please.

    Thanks!
    Julie
    http://the-gadgeteer.com

  120. I just sub­mit­ted this as feed­back with­in the plu­g­in, but want­ed to post it here to help folks whose sites are break­ing after upgrad­ing from OH2 to OH3…

    After upgrad­ing, it breaks cus­tom code because it added back­slash­es to quotes and apos­tro­phes in path statements.

    Exam­ple: became 

    If your site is miss­ing con­tent, look at all of your hooks for unwant­ed back­lash­es and remove them from all your file paths and it should help.

    Thanks again, Rick.. great plu­g­in (or will be again soon, I’m sure!)

  121. Thanks Rick for the new update. But this one does­n’t seem to work on my site. I have even run the upgrade script as men­tioned. I have even dou­ble checked if my pre­vi­ous code was prop­er­ly export­ed to the new plu­g­in and it is.

    But I have lost my awe­ber ana­lyt­ics code, the awe­ber pop-up form & the awe­ber opt-in form before the end of post. All 3 awe­ber codes show up in the plu­g­in but don’t work on the site.

    Your help will be high­ly appre­ci­at­ed. Thanx in advance.

    Amit

  122. Just did the auto­mat­ic upgrade of the plu­g­in and lost all my cus­tomiza­tion too. It is going to be very dif­fi­cult to fix this since I don’t have all the code in one place.

      1. I fig­ured out I had to check the The­sis box on the acti­va­tion groups to get my hooks to show. Seems like that should have been auto­mat­ic. Unfor­tu­nate­ly, the upgrade cor­rupt­ed all the code that it import­ed from the upgrade from Open­Hook 2. I had to get the orig­i­nal code from my cache and replace it all.

  123. This was the most dread­ful plu­g­in upgrade ever. All the work I did in open­hooks has most­ly dis­ap­peared. Press­ing “Upgrade from Open­hook 2” did not bring every­thing back. What a waste of time to have to redo every­thing. Sec­ond, I liked the option of see­ing all my hooks on one page by scrolling. Now I can only see them indi­vid­u­al­ly on the screen. There’s no rea­son not to give the user the option of see­ing all the hooks by scrolling the one page or see­ing them piecemeal. 

    I’m so so very dis­ap­point­ed I hit that upgrade but­ton. What a mess.

  124. Is there a way to delete this ver­sion of Open hook and re-install the ear­li­er ver­sion? I see no ben­e­fit at all to this upgrade. I enter code in some of the hooks and it does­n’t appear on my site. Jeez !!!!!!

    1. Nev­er mind. I got the old ver­sion back and fixed every­thing. This new thing has to be on hold for me. Just no time right now to reinvent.

      1. Pat, i’m glad you were able to get the old­er ver­sion installed again (it’s always avail­able for down­load via the Open­Hook page on the Word­Press repos­i­to­ry), though i would like to see you be able to enjoy the new­er ver­sion. Did you acti­vate the Thesis/WordPress action sets on the Set­tings -> Open­Hook page?

  125. Well, this is a DISASTER! I made the mis­take of upgrad­ing your new ver­sion and not only did I lose the abil­i­ty to go back to the pri­or ver­sion of Open Hook, this ver­sion does­n’t work at all. What a mess. I am real­ly screwed now.

    1. JHS, i’m sor­ry that your expe­ri­ence was­n’t a good one. Were you sure to upgrade from Open­Hook 2 & acti­vate your actions on the Set­tings -> Open­Hook page? You can always down­grade to a pre­vi­ous ver­sion by grab­bing it from here.

  126. WARNING: Do NOT upgrade this plu­g­in! It will wreak hav­oc on your site!

    I had to call Blue Host and have them back up my site (for­tu­nate­ly, I had­n’t added any new con­tent today) so that I could get rid of this mis­er­able “improve­ment” and get my data back.

    If you upgrade, the old ver­sion of Open Hook (where all of your cus­tomiza­tions are stored) will be dis­abled so that you can no longer use the handy, one-page view. And you will not be able to see them again. Thus, you will lose all of your work!!!!

    As not­ed above, there is no val­ue to the new user inter­face at all. I pre­fer, as some­one not­ed above, to use the one-page lay­out where I can eas­i­ly scroll up and down the page. Try­ing to get to the Set­tings page is anoth­er use­less mouse click with no return what­so­ev­er. Now if the inter­face could be insert­ed on the Dash­board, that might be progress. If not? Fuhged­about it.

    Dis­gust­ing waste of my time.

    1. JHS, giv­en the feed­back, i’m going to add a way to view all hooks at once; i removed it because the major­i­ty of peo­ple pre­fer not to scroll — hav­ing what they want right in front of them is almost always preferable.

      And again, you don’t lose any­thing as far as data goes by upgrad­ing to Open­Hook 3. If you don’t like it, sim­ply delete it & rein­stall an old­er ver­sion from the Word­Press plu­g­in repos­i­to­ry. Unless you used the option to delete lega­cy options in Open­Hook 3, your ver­sion 2.x.x options will be there wait­ing for you when you downgrade.

      If you want to access your hooks quick­er, there are links in the Admin side­bar for each of them:

      Under the The­sis sec­tion, there is a link to the The­sis hooks.
      Under the Appear­ance sec­tion, there is a link to the Word­Press hooks.
      Under the Tools sec­tion, there is a link to the phpin­fo() panel.
      And under the Set­tings sec­tion, there is a link to the Open­Hook Gen­er­al tab.

      1. Rick, I do know how to read and I did so — very care­ful­ly. (FYI: I am a lawyer & read­ing is essen­tial in all aspects of my life.)

        YES, I acti­vat­ed from the Set­tings pan­el. NO, I did not use the Lega­cy option, but still my site lost all of its cus­tomiza­tions that had been imple­ment­ed via the orig­i­nal plu­g­in so there was a mal­func­tion caused by the upgrade.

        NO, I could not go back to the orig­i­nal Open Hook plu­g­in with­out revert­ing to a pri­or back­up copy of my site.

        Con­trary to your asser­tions, Rick, Open Hook ceased to be list­ed as one of the installed plu­g­ins on my site. I got a mes­sage across the top of my plu­g­in page say­ing that the plu­g­in was removed because it “no longer exists,” even though I could see that it was still installed by look­ing at the plu­g­in direc­to­ry on my serv­er file list­ings. The link to it via Appear­ance > Open Hook also dis­ap­peared, so I would have had no way to update my cus­tomiza­tions even if they had shown up on my site which they didn’t.

        Also con­trary to your asser­tions about the con­tin­u­ing avail­abil­i­ty of the orig­i­nal ver­sion, I searched for it in the Word­Press plu­g­in repos­i­to­ry by using the add new plu­g­in search func­tion at the top of the installed plu­g­ins page in Word­Press. “Open Hook” pro­duced only the upgrad­ed ver­sion, not the original. 

        In oth­er words, I was screwed because your upgrade sim­ply did­n’t work and I could not just reac­ti­vate it and resume using the orig­i­nal ver­sion until you got the bugs worked out. I had to resort to restora­tion from the night before via back­up copy of my site.

        In oth­er words, I wast­ed a lot of time on this yes­ter­day that I could have used more pro­duc­tive­ly. Per­haps more care­ful test­ing of the plu­g­in will pro­duce bet­ter results next time. Frankly, I was shocked because I have been using Open Hook with great results since you first intro­duced it and for that, I do thank you.

        1. YES, I acti­vat­ed from the Set­tings pan­el. NO, I did not use the Lega­cy option, but still my site lost all of its cus­tomiza­tions that had been imple­ment­ed via the orig­i­nal plu­g­in so there was a mal­func­tion caused by the upgrade.

          In order to use cus­tomiza­tions cre­at­ed with Open­Hook 2 (the old ver­sion), you must click the “Upgrade from Open­Hook” but­ton in the new ver­sion’s Gen­er­al set­ting. Oth­er­wise, yes, it will appear as though you lost all of your work.

          NO, I could not go back to the orig­i­nal Open Hook plu­g­in with­out revert­ing to a pri­or back­up copy of my site.

          Unless you pressed the “Remove lega­cy options” but­ton in the new ver­sion, the old ver­sion’s options would have still been in your data­base — no data­base back­up required.

          Con­trary to your asser­tions, Rick, Open Hook ceased to be list­ed as one of the installed plu­g­ins on my site. I got a mes­sage across the top of my plu­g­in page say­ing that the plu­g­in was removed because it “no longer exists,” even though I could see that it was still installed by look­ing at the plu­g­in direc­to­ry on my serv­er file list­ings. The link to it via Appear­ance > Open Hook also dis­ap­peared, so I would have had no way to update my cus­tomiza­tions even if they had shown up on my site which they didn’t.

          Did you check the Plu­g­ins screen? Word­Press deac­ti­vates Open­Hook on upgrade because the name of the file changes; how­ev­er, the upgrade is still installed and sim­ply needs to be acti­vat­ed; it’s list­ed in the plu­g­ins pan­el as “The Open­Hook Cus­tomiza­tions Manager.”

          Also con­trary to your asser­tions about the con­tin­u­ing avail­abil­i­ty of the orig­i­nal ver­sion, I searched for it in the Word­Press plu­g­in repos­i­to­ry by using the add new plu­g­in search func­tion at the top of the installed plu­g­ins page in Word­Press. “Open Hook” pro­duced only the upgrad­ed ver­sion, not the original.

          When you go to the upgrad­ed ver­sion’s repos­i­to­ry page, click “Oth­er Ver­sions” in the right side­bar (under­neath the rat­ings pan­el). Every pre­vi­ous­ly released ver­sion of Open­Hook is avail­able there for download.

          In oth­er words, I wast­ed a lot of time on this yes­ter­day that I could have used more pro­duc­tive­ly. Per­haps more care­ful test­ing of the plu­g­in will pro­duce bet­ter results next time. Frankly, I was shocked because I have been using Open Hook with great results since you first intro­duced it and for that, I do thank you.

          Open­Hook 3 was sol­id; i stand behind it. The vast major­i­ty of users report­ing prob­lems to me are doing so because they did not read the instruc­tions, and while there have been oth­er bugs (some minor, some not [rare], and some users had­n’t even noticed yet…), those were dealt with prompt­ly in sub­se­quent releases.

          I appre­ci­ate that you did­n’t have the smoothest expe­ri­ence pos­si­ble, and i do blame myself for that; i should have found a way to bet­ter com­mu­ni­cate how to upgrade from The­sis Open­Hook to the Open­Hook Cus­tomiza­tions Manager.

          1. OMG, Rick!!!

            >In order to use cus­tomiza­tions cre­at­ed with Open­Hook 2 (the old ver­sion), you must click the “Upgrade from Open­Hook” but­ton in the new version’s Gen­er­al set­ting. Oth­er­wise, yes, it will appear as though you lost all of your work.

            I DID THAT. Just as I explained.

            >Unless you pressed the “Remove lega­cy options” but­ton in the new ver­sion, the old version’s options would have still been in your data­base — no data­base back­up required.

            WRONG. I nev­er touched the Lega­cy option. NEVER. But all cus­tomiza­tions were gone.

            >Did you check the Plu­g­ins screen? Word­Press deac­ti­vates Open­Hook on upgrade because the name of the file changes; how­ev­er, the upgrade is still installed and sim­ply needs to be acti­vat­ed; it’s list­ed in the plu­g­ins pan­el as “The Open­Hook Cus­tomiza­tions Manager.”

            OF COURSE. I already explained that that’s pre­cise­ly what I did. Dude, Open Hook was NO LONGER LISTED as a sep­a­rate plu­g­in, not just deac­ti­vat­ed. It was NOT THERE. Yes, “Open­Hook Cus­tomiza­tions Man­ag­er” was list­ed, but that did me NO GOOD since 1) it was not work­ing prop­er­ly (no mat­ter how much argue with me, the fact remains that I upgrad­ed and did not use the Lega­cy option but there were NO CUSTOMIZATIONS present in the drop-down menus. They were ALL BLANK and my site did not reflect any of the cus­tomiza­tions in any way, shape or form. All Open Hook code was GONE. Since restor­ing my site to the ear­li­er backed-up ver­sion, there are TWO plu­g­ins list­ed, one acti­vat­ed and one not, since I have not delet­ed the new version.

            >When you go to the upgrad­ed version’s repos­i­to­ry page, click “Oth­er Ver­sions” in the right side­bar (under­neath the rat­ings pan­el). Every pre­vi­ous­ly released ver­sion of Open­Hook is avail­able there for download.

            Well, it was­n’t avail­able using the Plu­g­Ins Search option because I was look­ing for the CORRECT name, not the revised one.

            >Open­Hook 3 was sol­id; i stand behind it. The vast major­i­ty of users report­ing prob­lems to me are doing so because they did not read the instructions,

            I’m sor­ry, but insult­ing me by insist­ing that I did­n’t read the instruc­tions prop­er­ly & fol­low the direc­tions is demean­ing, offen­sive, and com­plete­ly inap­pro­pri­ate. Your plu­g­in was NOT sol­id, as my expe­ri­ence demon­strates. I fol­lowed all the instruc­tions to the let­ter and it FAILED.

            I am not some com­put­er new­bie. I am a pow­er user. I have used The­sis since the ini­tial release. Dit­to Open Hook. 

            Bot­tom line: Open­Hook Cus­tomiza­tions Man­ag­er = FAIL.

  127. I wish peo­ple would stop rant­i­ng less and start read­ing more. This plu­g­in is installed on all my (and my clients’) sites and I updat­ed the plu­g­ins on all sites today. I pan­icked at first because I lost all my cus­tomiza­tions after upgrad­ing, but after a lit­tle tin­ker­ing with the new (and I must say vast­ly improved) inter­face, I found that THERE IS AN UPGRADE PATH inside the Open­Hook Cus­tomiza­tions Man­ag­er under the Gen­er­al tab. One click of the Upgrade from Open­Hook 2 but­ton and every­thing was back to normal.

    This is a must-have plu­g­in for any­one using the The­sis theme, and if you’ve been using this for free to make your sites even more awe­some for as long as you have, the least you can do is respect the plu­g­in author and hear what he has to say.

    READ, peo­ple. It’s good for the brains.

    And no, I’m not a friend of Rick­’s. But today I became a big­ger fan.

  128. Thanks for the tip about acti­vat­ing the hooks with Settings->Openhook!

    I was frus­trat­ed that things weren’t work­ing and this is not an obvi­ous thing to find. Even when look­ing at it, it was­n’t clear to me. Maybe call it “Acti­vate Cus­tom Hooks” instead of “Acti­vate Action Groups”, and maybe call the acti­va­tion check box­es “The­sis hooks” and “Word­press hooks” instead of just “The­sis” and “Word­press”.

    Of course it is abvi­ous “as is” after you fig­ure it out LOL

    Maybe a warn­ing that cus­tom hooks are turned off when work­ing in Open­Hook Cus­tomiza­tions Manager.

    Every­thing works great now. I don’t know if this solves the updat­ing from ver 2 as mine was a new install.

    Mahlon

  129. Yikes. Fol­lowed all instruc­tions, half of the stuff does­n’t work and the new inter­face is too hard to use, can’t search through all my exist­ing hook’s code with sim­ple Ctrl+F. For­get it, I’m hap­py with 2.3.2, wish I could just shut off the “new ver­sion avail­able” notice. I won’t be upgrading.

    1. As i said in a recent com­ment, the abil­i­ty to view all hooks at once (which the major­i­ty of peo­ple dis­liked in the Open­Hook 2 era) will be brought back, but it won’t be default.

      You say half of the fea­tures don’t work; could you be more spe­cif­ic? “It does­n’t work” isn’t a use­ful bug report.

  130. Hi Rick,
    I am new to WP and OpenHook.

    The 2.x ver­sion was eas­i­er for me to use because I was able to see every­thing at once, but I do not know enough ‘code’ php stuff to appre­ci­ate the val­ue of 3.x

    I went back to 2.x and will wait for a video on how to ‘do stuff’ with 3.x. THe videos real­ly help me learn by watch­ing you do stuff and lis­ten­ing to the tips. A few short 1–3 min videos will make the new ver­sion seem less over­whelm­ing for new­bie WP / non­PHP folks like me … just a suggestion.

    THanks for your hard work. Pleas­ing users with very broad ranges of exper­tise is no easy task. 

    Cheers,
    Raf
    Ann Arbor, MI

  131. I had the same experience. 

    I logged into my site — it imme­di­ate­ly upgrad­ed my the­sis hook plu­g­in to this new one, and wiped out my code that I had put into a the­sis hook.

    (There was no choice for me not to do this — my old plu­g­in was sim­ply disabled. )

    Now — not only am I not sure what the code was — but assum­ing I can find it — I don’t know where in the hooks it went.

    It was a high­slide code for open­ing pages that con­tain video in a sep­a­rate win­dow while dim­ming the background. 

    You can help me first by telling me what “hook” would that have been in ..(I had no idea I would need to remem­ber it since it has been there for a few years)

    This is kind of a dis­as­ter for me since we have tons of video which no longer opens correctly ..

    1. A fol­low up — in case it helps any­one else. I found my old script in the word­press sec­tion under head­er. I copied and past­ed it into the the­sis head­er .. and all is well. Whew — now I am sure if I learn the rest of the hooks it will be fab­u­lous. Thanks!

    2. @Beca- that sounds almost exact­ly like what hap­pened to me (I don’t remem­ber upgrad­ing the plug-in) and now most of my code that i had in those hooks is gone; it’s not in my WP- head­er or foot­er files, though.

  132. I must have updat­ed this plug-in with­out check­ing to see if it would work with my ver­sion 1.6 of the­sis theme because it’s the only thing I can think of after hav­ing a total­ly messed up dash­board as a result. from what I’m read­ing it seems as though this plug in works with the­sis 1.8.4 but since I’m not there yet, it’s not only look­ing ter­ri­ble on the user inter­face, but also in the back end.

    Should I: 1) upgrade the the­sis them to 1.8.4 to see if that fix­es the problem?

    Can I: 1) down­grade this plug-in first to see if that is the prob­lem with my site’s inter­face problems?

    any help is appre­ci­at­ed. thank you.

  133. I’ve had the same expe­ri­ence sev­er­al oth­ers have men­tioned with the upgrade. Update to the new ver­sion of Open­Hook, attempt to run the upgrade script, and noth­ing happened.

    Attempt­ing to re-install the old ver­sion now.

  134. I’m get­ting this error:

    Warn­ing: Can­not mod­i­fy head­er infor­ma­tion — head­ers already sent by (out­put start­ed at /homepages/32/d291318863/htdocs/wp-content/themes/thesis_184/custom/custom_functions.php:1) in /homepages/32/d291318863/htdocs/wp-includes/pluggable.php on line 866

    There’s noth­ing in my custom_functions.php file.

    Please help.

  135. Open­hook 3.2.1 does not work on my site. It appears as though Open­hook is deac­ti­vat­ed as not one of my cus­tomiza­tions shows at all, even though the code is show­ing on the Open­hook set­tings page in the admin area.

    I tried both an upgrade and a com­plete fresh install. I upgrad­ed from 2 to 3 in the set­tings page as instruct­ed, but noth­ing I have tried has fixed it.

    With Open­hook acti­vat­ed it looks iden­ti­cal to the way it would be if I had Open­hook deac­ti­vat­ed or uninstalled.

    I for­tu­nate­ly had a copy of Open­hook 2.3.2 on my hard dri­ve and re-uploaded that to my serv­er and went back to that. My orig­i­nal cus­tomiza­tions seem to have all been retained, even after unin­stalling OPen­hook before rein­stalling the old version.

    For­tu­nate­ly I have my site back the way it was, but it’s back run­ning on Open­hook 2.3.2 and will stay that way until I am con­fi­dent that this prob­lem is not going to re-occur.

  136. Not work­ing for me — I installed The­sis 1.8.4 for the first time on the site, installed Open­hook for the first time, ticked the The­sis & Word­Press box­es in Set­tings and it prompt­ly crashed with the following:

    Warn­ing: array_merge() [function.array-merge]: Argu­ment #2 is not an array in /websites/123reg/LinuxPackage21/ba/ke/lo/[my domain in here]/public_html/wordpress/wp-content/plugins/thesis-openhook/functions-options.php on line 26

    Warn­ing: array_merge() [function.array-merge]: Argu­ment #1 is not an array in /websites/123reg/LinuxPackage21/ba/ke/lo/[my domain in here]/public_html/wordpress/wp-content/plugins/thesis-openhook/functions-options.php on line 28

    Warn­ing: array_merge() [function.array-merge]: Argu­ment #2 is not an array in /websites/123reg/LinuxPackage21/ba/ke/lo/[my domain in here]/public_html/wordpress/wp-content/plugins/thesis-openhook/functions-options.php on line 28

    I’m going back to the pre­vi­ous ver­sion if I can find it — that worked beautifully…

  137. Jeanette Hughes

    I just upgrad­ed to this ver­sion of Open Hook. I’ve been using the orig­i­nal The­sis Open Hook, which I now can­not find any­where, and all of my set­tings dis­ap­peared. This new ver­sion does­n’t seem to take the cod­ing I had before and it’s total­ly not work­ing the way I thought it would. I’m no php coder, so this is mak­ing it hard­er for me.

    I don’t under­stand the stuff that’s in the Open­Hook set­tings panel.

    Is there any way I can install the back­up of my site and get my old The­sis Open­Hook back? I’m work­ing on a site I need to get cer­ti­fied, and now it’s all messed up. :(

  138. Had to rein­stall the old ver­sion. This ver­sion does not work at all — no cus­tom head­er, no foot­er, no debug, etc.

    Bad update! Could you per­haps make the old ver­sion eas­i­ly avail­able for peo­ple want­i­ng it?

    Best,
    Peter

  139. I installed Open­Hook on a new site today and I am find­ing that the hooks aren’t work­ing. I have tried sev­er­al includ­ing try­ing to remove the The­sis attri­bu­tion — no changes on the site. I am not sure what’s going on or how to get around this.

  140. Open­Hook 3.3 has just been released; it fix­es all known bugs, intro­duces a notice on hook pages if that par­tic­u­lar group of hooks is dis­abled, and intro­duces the abil­i­ty to dis­play visu­al­iza­tions of the hook loca­tions on your blog front-end.

    Every­one is encour­aged to update! :D

    To every­one above:

    • If your old (Open­Hook 2.x.x) cus­tomiza­tions are not show­ing up, you need to Upgrade from Open­Hook 2, the instruc­tions for which are at the very top of the page.
    • If your cus­tomiza­tions are show­ing up in the WordPress/Thesis Hooks pan­els but are not being rec­og­nized on the front end of your site, you need to acti­vate the appro­pri­ate action group (Word­Press and/or The­sis) on the Gen­er­al tab of OpenHook.
    • If you have been receiv­ing errors about this or that not being an array, that error has been fixed in 3.3.

    Thank you all so much for your patience in deal­ing with these bugs. Devel­op­ing Open­Hook is a very, very small part of my time and nec­es­sar­i­ly takes a back seat to my kid­do and full-time job, so i appre­ci­ate every­one point­ing out the bugs so i can learn from them!

  141. Just tried to upgrade again. Same expe­ri­ence as with the pre­vi­ous ver­sion. I installed the upgrade, clicked the “import” but­ton, got a “suc­cess” mes­sage. The acti­vat­ed the The­sis hook group. But noth­ing import­ed — the hooks I have pro­grammed are com­ing up emp­ty, which leaves sev­er­al areas on my site broken.

    If you want to look at my site con­fig­u­ra­tion and see what’s caus­ing the import to fail, you’re more than wel­come to do so — just con­tact me offline and we can set some­thing up.

  142. Hi folks.

    I tried upgrad­ing open­hook for a client site today, and ran into a lot of the prob­lems men­tioned above thread. Now I have my hooks dis­play­ing fine, but the The­sis nav­i­ga­tion menu is gone. (I checked my The­sis options, and every­thing in that sec­tion looks fine.)

    Oth­er than down­grad­ing back to ver­sion 2, is there any­thing I can do to get my nav­i­ga­tion menu back? I’m run­ning ver­sion 1.8 of The­sis, and I know I could upgrade to 1.8.4, but I’m hes­i­tant to do so while there’s some­thing cur­rent­ly broken.

    Thanks! ‑Amelia

    1. Amelia, were you using Open­Hook to cus­tomize or dis­play the nav­i­ga­tion menu at all? Check the hook thesis_hook_before_header. The box near the bot­tom of that hook’s options should be left unchecked (check­ing it dis­ables the nav menu).

      1. Hi, Rick. Thanks for get­ting back to me. I’m not using thesis_hook_before_header, but I do have an html drop­down menu in thesis_hook_header, if that infor­ma­tion helps you out at all. I end­ed up down­grad­ing back to Ver­sion 2 of the plu­g­in for the time being, because I just could­n’t fig­ure out what the prob­lem was.

  143. Mike | The Mobile Fanatics

    Ok I got the newest ver­sion work­ing. How can I make a back­up of the open­hook set­tings from the Word­Press inter­face. If I recall, it was pos­si­ble under the The­sis options in the past.

    1. Back­ing up Open­Hook’s options has not been pos­si­ble in any ver­sion of Open­Hook (and has cer­tain­ly not been present in The­sis that i’m aware of). Full back­up & import is on the roadmap for the next release.

  144. OK I went into my admin area and it said to update Open­Hook. I updaged but I get a mes­sage say­ing it’s been deac­ti­vat­ed. Now what? I paid some­one to do my ini­tial The­sis install in Jan­u­ary when I launched my blog, and I’m try­ing to avoid hav­ing to pay again. So, what do I do? Do I just re-activate?

  145. Love open hook, thank you so much for all you are doing. But… I am anoth­er of those who have had prob­lems with the upgrade.
    ‑WP dis­abled it as doc­u­ment­ed by you and oth­ers above
    ‑I also did­n’t find it in the WP repository
    ‑I used the upgrade but­ton on the inter­face and that did suc­cess­ful­ly give me back my adsense that dis­ap­peared on the upgrade. But…
    ‑Now I’ve lost my site title/byline and nav­i­ga­tion — tried the­sis and wp menus but noth­ing makes a difference.

    I can’t find any ref­er­ence to this prob­lem here so I am won­der­ing if you can help me get them to show again, please.

  146. Update: I deac­ti­vat­ed the new ver­sion and then uploaded the old one via ftp into the plu­g­in fold­er and acti­vat­ed it again and all my title, menu and adsense are back as they were.

  147. Just updat­ed the The­sis Open­Hook Plu­g­in, and the update made me lose all my coding.
    I thought the issue might just be that one site so I installed it on anoth­er site and my cod­ing does­n’t work at all.

    And to be hon­est even if it did work I would prob­a­bly down grade any­way due to the new for­mat, which in my opin­ion is pret­ty bad to work with.

  148. In response to most every­one i haven’t got­ten back to yet, please read the yel­low box at the top of the screen; it tells how to upgrade w/o los­ing actions & how to acti­vate cur­rent actions.

    Thanks.

  149. wow. What an inter­est­ing conun­drum; a great free plu­g­in that every­one loved and was so thank­ful for — now bit­ter­ness and burned bums for all your trou­ble, Rick.

    I am so sor­ry for all this pain on all sides and I feel for you so much. 

    Unfor­tu­nate­ly, there are so many of us not get­ting trou­ble free upgrades. Rick you seem to feel that all the ques­tions are answered in the yel­low box, but I must say (I know I am thick) I don’t fol­low what those instruc­tions are. 

    Can they be spelled out in clear­er steps perhaps?

    On one site, I had suc­cess in rolling back to the ear­li­er ver­sion (as report­ed above) but when I tried to do that on anoth­er site, it did­n’t work at all; WP kept auto­mat­i­cal­ly dis­abling the old ver­sion so I could nev­er “reac­ti­vate”.

    “Set­tings -> Open­Hook con­trol pan­el” [not acces­si­ble; WP deletes it]
    “import your Open­Hook 2 set­tings into the new ver­sion 3 sys­tem” [this is done by click­ing the but­ton? could be more clear­ly explained]
    “enable the The­sis and/or Word­Press –actions groups– [can you say more about what they are? I could­n’t see/can’t recall see­ing that option and I don’t know what it is.

  150. Hey Rick, I have installed your updat­ed ver­sion of 3.3.1 this morn­ing and your prod­uct deletes my head­er and top nav when run­ning. I would also like to ask that you add a tog­gle of some sort, either in adding col­or to the drop down where text has been added into a hook block or allow us to make the choice of hav­ing the list ful­ly expand­ed or not.

    I per­son­al­ly don’t like to hunt and peck through 25 dif­fer­ent drop down cat­e­gories to find the one that I have added some text to in the past, I just don’t have that kind of patience.

  151. Rick,

    I haven’t post­ed here before, but I’m a long-time user of Open­hook, and think it’s prob­a­bly the plu­g­in that makes the most dif­fer­ence to my day-to-day design and mod­i­fi­ca­tion of web­sites. In oth­er words, your plu­g­in is awesome.

    Just won­der­ing — why, in ver­sion 3, did you change it so that all of the hooks are not view­able on the same page? I often move things around or copy and paste from one hook to anoth­er, and hav­ing to use the drop­down menu (espe­cial­ly when I don’t always remem­ber which hook I put some­thing into) makes changes a lot slower.

  152. I’ve been a real fan of Open­Hook but this recent upgrade has, unfor­tu­nate­ly, made me appre­hen­sive about using it. 

    I fol­lowed the upgrade from v2 to v3 set­tings. Although my old cus­tomi­sa­tions were back, I lost my top nav bar in the process. 

    Hope­ful­ly, it’ll set­tle down and make it back to my trust­ed plug-ins list.

    1. I’m not sure what would cause your nav­i­ga­tion bar to dis­ap­pear — i’d need to know more about how you’re cre­at­ing it to diag­nose that — but future ver­sions of The­sis will use the same options frame­work as the cur­rent ver­sion; in oth­er words, there will be no needs for any dras­tic changes that will lead to poten­tial upgrade woes. It’s just sun­ny skies & improve­ment from here on!

  153. Adri­an is not alone; I too lost my nav bar and also my site title and descrip­tion from the head­er area. I tried switch­ing back and forth between the­sis and WP menu but it made no appearance

  154. You don’t have thesis_nav_menu dis­abled in the thesis_hook_before_header set­tings of Open­Hook’s The­sis pan­el do you? The box should be left unchecked if you’re want­i­ng to leave The­sis’ menu there.

  155. I believe this may be a prob­lem with the the­sis hook “Head­er” or a com­bi­na­tion of the head­er relat­ed hooks.

    I have defined a wid­get area which I put into the head­er hook, so it appears at the top right of my web­site next to the site logo at the same height. In addi­tion to that I removed the the­sis nav menu from hook “Before Head­er” and put it in the hook “After Head­er” using 

    I have left “Remove Default Head­er” unchecked.

    You can see the result on my web­site (just click my name). How­ev­er this is using Open­hook ver­sion 2. When I upgrade to v3.3.1 and exe­cute all the required update options and check all the required box­es the fol­low­ing happens:

    All hooks, nav menu, head­er etc. remain and are dis­played BUT… the text that nor­mal­ly appears in the top-right appears on the right, but below (after) the head­er area, cre­at­ing a gap between the nav menu and my content.

    It seems that the con­tents of the head­er are now being parsed dif­fer­ent­ly to the way they were before.

    Is there a small error in the cod­ing of the head­er part of the plu­g­in that is pars­ing the “head­er” hook con­tents below the default header?

    As I say, I have not changed any of the actu­al con­tent or place­ment of any of my hook code.

  156. I’ve checked & dou­ble-checked the head­er def­i­n­i­tions in the The­sis hooks with­in Open­Hook, and they’re fine (except for a minor bug in the upgrade-from‑2.x.x func­tion affect­ing only a “Process PHP on this Hook” flag).

    As for the pro­cess­ing of the hooks them­selves, they are processed using the exact same hook names that appear in the drop-down list of hooks in the admin pan­el, and every hook is processed using the exact same bit of code. If the hook is spelled cor­rect­ly in the drop-down list, then it’ll process fine.

    In oth­er words, i’m not sure of any rea­son why cer­tain head­er cus­tomiza­tions would be malfunctioning.

  157. I seem to have fixed the head­er dis­play prob­lem by chang­ing a CSS def­i­n­i­tion. I off­set the mar­gin-top val­ue by a — val­ue of the height of my head­er and it now dis­plays as it used to before.

    How­ev­er I’m not keen on this fix as it means I will have to go make the same change in every CSS sheet on all my oth­er The­sis built sites (which is quite a lot!) and I’m not sure it’s good prac­tice to mod­i­fy a site’s style sheet in order to acco­mo­date a plu­g­in update.

    I’m pret­ty hap­py with ver­sion 2 for now, so I can live with that.

  158. Hi Rick,

    Had issues in the begin­ning when you released ver 3. But ver 3.3 just fixed all issues. My ads are back and all oth­er hooks are shown.

    Also want to men­tion that some of the error men­tioned above, I did face the same on some of oth­er sites though. But the solu­tion was sim­ply stu­pid. Just clear the cache if you are using any cache plu­g­in. I assume atleast some of the errors can be fixed by clear­ing cache after doing the update.

    Thanks again Rick for the won­der­ful plugin.

  159. You make a great point, Anup. Cache plu­g­ins have to be cleared after doing cus­tomiza­tions, just as they would after mod­i­fy­ing The­sis’ native custom/ files. I’m not sure there is a uni­ver­sal way to flush the cache via a plu­g­in that would acco­mo­date all caching plu­g­ins (Hyper Cache, Total Cache, Super Cache, etc.), but if there is, i would love to know it. As is, future ver­sions of Open­Hook will pro­vide a notice urg­ing users to flush the cache after updat­ing customizations.

  160. Hi, I used Open­Hook for sev­er­al things that trans­lat­ed over into the new ver­sion, but I don’t know how to get my nav bar under the head­er again — it moved when I upgrad­ed. Can you help?

    Thanks!

  161. I’d need to know the method you were using to move it to below the head­er before.

    In the new ver­sion, you can dis­able the default head­er in the above_header hook, and then use <?php thesis_nav_menu(); ?> in the below_header hook.

  162. Hi

    I just upgrade the The­sis Open­Hook and found that it will remove the ‘Tag’ in our post.

    I am using The­sis 1.8, just upgrade to The Open­Hook Cus­tomiza­tions Man­ag­er 3.3.1 from The­sis Open­Hook 2.3.2

    I did click the ‘Upgrade From Open­Hook 2’, and ‘tick’ the The­sis Active action groups.

    Now all the Tag dis­ap­pear from the post. Pls advise, Tks a lot.

  163. Thanks! I also did­n’t have the­sis and word­press checked as active action groups in the gen­er­al set­tings area. All set now.

  164. My tweet is up there! Lol… I love that.

    Again, great work, man. With­out this plu­g­in, I nev­er would have under­stood the pow­er of The­sis. And The­sis has changed the way I do things online. So, kudos to you. I’ll buy you more than a pi(e) soon… most definitely.

  165. I’ve also expe­ri­enced the dis­ap­pear­ance of the The­sis menu upon upgrad­ing to the ver­sion 3.3.1 of this plu­g­in. I had­n’t used any hooks to cre­ate the menu. I used The­sis Site Options for that, instead. 

    Using ver­sion 3.3.1 of this plu­g­in hides the menu (it’s not even the HTML source code), and down­grad­ing to 2.3.2 dis­plays it.

    Using WP 3.3.1 and The­sis 1.8.

  166. Is thesis_nav_menu() under­neath the thesis_hook_before_header hook checked? If so, that means it’s dis­abled. Uncheck it to re-enable the menu.

  167. I down­grad­ed back to the pre­vi­ous Open­Hook because mess­ing around with the code is some­thing I did not want to have to do. My head­er went miss­ing, my nav bar went fun­ny and even my bus was late that day, it done all sorts of things. When I down grad­ed it was all back to nor­mal, not too much cod­ing, less has­sle and bus came on time too.

    I hate that con­stant upgrade mes­sage in my Word­Press Plu­g­ins page now. Man, I’m whin­ing today.

  168. Hi Rick

    Tks for the reply on the dis­ap­pear­ing tag issue.

    I found the issue/bug, need to resave the ‘thesis_hook_after_post’ option, then the tag will appear.

    Rdgs

  169. Hi Rick, thank you for upgrad­ing Open­Hook! I’m just get­ting around to updat­ing client sites to 3.x.x from 2.x.x. In a The­sis 1.8.4 site that uses the WP menu, I had no prob­lems at all when I upgrad­ed Open­Hook. How­ev­er, in anoth­er site which is run­ning The­sis 1.8.2 with the The­sis nav menu, my head­er dis­ap­peared when I upgrad­ed Open­Hook to 3.3 today.

    Both sites have the iden­ti­cal remove/add_action in custom.php for the ‘thesis_nav_menu’ from ‘thesis_hook_before_header’ to ‘thesis_hook_after_header’. And nei­ther site had any­thing list­ed in Open­Hook 2.x.x for those hooks. 

    I had to roll Open­Hook 3.3 back to 2.x.x on the The­sis 1.8.2 site because I don’t have time to look for a work-around right now. Is it pos­si­ble that the prob­lem lies with the The­sis nav menu? Com­ments in the The­sis forum state they are phas­ing it out. I could­n’t find a detailed The­sis ver­sion change log any­where, so it’s not pos­si­ble to know what part of that “phase” we’re in now. :)

    Thanks,
    Andrea

  170. I had the same head­er issue every­one above was having. 

    - I dis­abled caching
    — checked thesis_nav_menu dis­abled in the thesis_hook_before_header set­tings of OpenHook’s The­sis panel
    — saved
    — unchecked, and saved again

    and for some rea­son dis­plays cor­rect­ly accord­ing to my pre­vi­ous v2 settings.

  171. I am using your Open Hook Cus­tomiza­tion Man­ag­er i.e. ver­sion 3.3.1 and i want to know that, is there any pos­si­bil­i­ty to back up the set­tings of openhook.
    I want to export set­tings for my open­hook set­tings for more security.
    Your guid­ance will be useful.
    And i appre­ci­ate your work and pas­sion for deliv­er­ing such add on to all the­sis user.
    Nice work. Keep it up.

  172. I have upgrad­ed Open­Hook on one of my sites that is not used for any­thing yet (thank God I did­n’t do it on my main site!), fol­lowed all the direc­tions and it made the head­er of the web­site dis­ap­pear! Also, I real­ly dis­like the new inter­face; too dif­fer­ent, too many con­fus­ing options, too many things to click on just to get some­thing done, etc. I liked the old look with see­ing all the hooks on one page much bet­ter as many oth­ers have men­tioned above me. I down­grad­ed back to the pre­vi­ous ver­sion. I’m def­i­nite­ly not going to ugrade again. Too risky and too different. 

    It is always best to make changes in small dos­es. The new Open­Hook was a real shock­er that instant­ly got me alarmed and it seems like this was the expe­ri­ence of many oth­ers as well. Next time you make some changes please keep the end-user in mind. Some of us have been using Open­Hook for years and are very used to the for­mat. To do an upgrade and find some­thing total­ly dif­fer­ent and unex­pect­ed was a real jolt. Then it does­n’t work…)c:

  173. The old open hook used to have instruc­tions for the code to add the nav menu below the head­er. Now it does­nt so i can remove the nav from the top but cant seem to add it to the hook below head­er. Can this be added in — also how do I move it now?

    1. It can be moved in the same way. Click the box in the above_header hook to dis­able the nav menu. Then, in the below_header hook, use this code (don’t for­get to enable code pro­cess­ing on the hook!): <?php thesis_nav_menu(); ?>

  174. I’ve been using The­sis Open­hook for ages, but just upgrad­ed on one of my sites. As I’m try­ing to recov­er and get things back to nor­mal, I find that the aster­isk fea­ture isn’t working.

    When I open The­sis Hooks in the man­ag­er, it lists almost all of the hooks as used (*), even though only a hand­ful have any­thing customized.

    ???

  175. This is a good upgrade, how­ev­er, there’s only one thing I liked that was in the old that is not in the new.

    Since the old had all the hooks textbox­es show­ing, I was able to do a Ctrl (or w/e Apple equiv­a­lent) + F and find the code or hook I was work­ing with, but in the new I don’t have that ben­e­fit, so then I end up hav­ing to go into the drop­down, look for the hook and check which one of them is the hook/code I was work­ing with. And to make my life eas­i­er, I just went into the DOM con­sole and exe­cut­ed $(‘.hook’).show(); to make all the hooks show.

  176. Ali­son, the same thing hap­pened to me when I upgrad­ed. All you have to do is hit Save on that screen and then the extra aster­isks will go away.

  177. Asoka Selvarajah

    Hi,

    I am find­ing that when I update/upload any plu­g­in or update Word­Press itself, The­sis Open­Hook gets deac­ti­vat­ed. When I reac­ti­vate it, it does not work even though it is list­ed right there in the plu­g­in list. In fact, the only way to get it to work is to com­plete­ly upload it to the blog all over again, over-write the exist­ing, and then acti­vate it. Obvi­ous­ly, this gets very tire­some after a while.

    Do you know of this bug and have a fix for it?

  178. Hi,

    I am fac­ing an issue that I need to fix as soon as pos­si­ble. My issue is I am not able to edit any of the hooks. When­ev­er I edit the hook and press save but­ton, this will take me back to the home page. I am not under­stand­ing why this is happening.

    I have Word­Press MU instal­la­tion and recent­ly I have upgrad­ed open hook plu­g­in to it’s lat­est ver­sion. But this isn’t help me out.

    Please sug­gest me the pos­si­ble solu­tions of this prob­lem so that I can fix this prob­lem. As it is VITAL to edit hooks as I need to show con­tent for my clients.

    Thanks

    1. I sec­ond the MU non-acti­va­tion. It’d be real­ly help­ful to get some insight on this…

  179. Open­Hook has been updat­ed to ver­sion 4.2.1, fea­tur­ing minor improve­ments in the local­iza­tion sys­tem. I’ll (final­ly) get around to updat­ing the above post soon — a lot has changed since the ver­sion 3 days, and I need to get that info up. Until then, you can find all the good­ies at Word­Press’ plu­g­in direc­to­ry.

  180. I’ve been out of the Word­Press scene for a long time. I think that Open­Hook still works these days, but look­ing at the themes I made sure to include hooks for in the sys­tem, it seems as though most of them are defunct. sad trom­bone noises

    So I went through the above post just to clean it up a bit: con­vert­ed it to Guten­berg blocks, removed bro­ken links through­out, removed the entire “praise for Open­Hook” sec­tion as all of the linked tweets and sources of praise no longer exist, and a few oth­er things. It’s wild how much the Inter­net has changed since I first released Open­Hook all those years ago (over a decade!).

    I don’t know how rel­e­vant a plu­g­in like Open­Hook is any­more, but judg­ing by how many theme authors feel the need to charge pre­mi­um prices for basic cus­tomiza­tions… I’m bet­ting that hav­ing Open­Hook around would still be use­ful to some people.

    So an update is in the pipeline, and I hope it’s worthwhile.

Leave a Comment

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

Use your Gravatar-enabled email address while commenting to automatically enhance your comment with some of Gravatar's open profile data.

Comments must be made in accordance with the comment policy. This site uses Akismet to reduce spam; learn how your comment data is processed.

You may use Markdown to format your comments; additionally, these HTML tags and attributes may be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Rick Beckman