Turbocharge Your Thesis Installation with the Thesis Compatibility Suite

Note: The fol­low­ing code is no longer main­tained. Use only if you know what you’re doing, and you should prob­a­bly only use the code to see how sim­ple plu­g­in com­pat­i­bil­i­ty can be attained in The­sis. This add-on was made for The­sis 1.x.x; don’t expect it to do any­thing for The­sis 2.x.x.

In my quest to help The­sis users out as much as pos­si­ble, I have put togeth­er an add-on to the The­sis frame­work which I hope to con­tin­u­al­ly update to pro­vide sweet com­pat­i­bil­i­ty improve­ments for plen­ty of Word­Press themes.

I’m doing this to make using plu­g­ins and The­sis togeth­er as sim­ple as pos­si­ble, espe­cial­ly for the non-coder. 

Cur­rent Ver­sion: 1.0

Instructions

  • Down­load the The­sis Com­pat­i­bil­i­ty Suite.
  • Extract the supported/ fold­er from the archive.
  • Upload supported/ to your thesis/custom/ fold­er. When you view the thesis/custom/ fold­er on your serv­er, you should then have the fol­low­ing fold­ers and files (plus any oth­ers you may have added): 
    • images/
    • supported/
    • custom.css
    • custom_functions.php
  • Add this line to the very top of your custom.css file:
    @import url('supported/supported.css');
    It is impor­tant that the line is at the top in order to keep up valid­i­ty (@ state­ments must appear before any oth­er code in stylesheets) and to allow you to over­ride any of the styles via the rest of your custom.css file.
  • Add this line to the top of your custom_functions.php file on its own line, just after the open­ing <?php:
    include('supported/supported.php');
  • Enjoy!

Requests

Requests are no longer being tak­en as the The­sis Com­pat­i­bil­i­ty Suite is no longer being maintained.

Current Plugins

The fol­low­ing items are account­ed for in the The­sis Com­pat­i­bil­i­ty Suite; don’t wor­ry if you don’t have any of these installed, as the Com­pat­i­bil­i­ty Suite will work regardless!

  • Bri­an’s Lat­est Com­ments 1.5.8: Adds a wid­get w/​ options so that you can eas­i­ly add your lat­est com­ments to your side­bar, with­out muck­ing around in code.
  • OpenID 3.1.2: Places the OpenID box above the com­ment for­m’s sub­mit but­ton where it’ll be more notice­able. Also, tweak the styling to blend bet­ter with Thesis.
  • Pop­u­lar­i­ty Con­test 1.3b3: Adds a wid­get w/​ an option to con­trol how many posts to list so that you can eas­i­ly add your pop­u­lar posts to your side­bar, with­out muck­ing around in code.
  • Pos­si­bly Relat­ed Class­room Projects 0.4: Tweaks the styling to blend bet­ter with Thesis.

Super Stylin’

As a bonus to users of the The­sis Com­pat­i­bil­i­ty Suite, the fol­low­ing styles are includ­ed just for the fun of it!

  • Image cap­tions: Ensures your images & cap­tions look slam­min’ in The­sis when using the “Cap­tion” field of Word­Press’ media manager.

12 thoughts on “Turbocharge Your Thesis Installation with the Thesis Compatibility Suite”

  1. As always — you deliv­er. This is awesome.

    I’m plan­ning on mess­ing with this (par­tic­u­lar­ly image cap­tions). My ques­tion is: What is the least destruc­tive way to change styles to the text dis­played in the cap­tion under­neath an image?

    Thanks for a great add-on to an awe­some theme!

    1. Nev­er­mind! All you have to do is go into the supported.css file and mess with all the set­tings there. Genius? Check. Sim­ple? Check. Idiot-proof? Well, I did it!

  2. Hi Rick,
    I’m using WP 2.6.2.
    I recent­ly down­loaded The­sis 1.3.2.
    And I can’t get text to wrap round images (even when I tick the left-align box etc.).
    So … I’d like to imple­ment your com­pata­bil­i­ty suite.
    But I’m sor­ry I don’t under­stand step 2 in your instruc­tions because I don’t have a compatability/​ fold­er when I extract files from your .zip.
    For exam­ple, I have a supported/​ fold­er and a _​MACOSX folder.
    With­in each of these are 3 .php files and a _supported.css file.
    Can you please help?
    I am not a pro­gram­mer so please will you excuse dim­ness on my part?
    Thanks.
    All the best,
    Stephen

    1. My bad, Stephen, I mis­spoke in the instruc­tions. It’s the supported/ fold­er that you need to upload. The .DS_store thing you can ignore com­plete­ly or even delete. It’s a rem­nant from Mac OSX which I did­n’t think would make its way into the down­load file. (I’m still get­ting used to Mac’s quirks.)

  3. Rick, first thanks for the com­pat­i­bil­i­ty suite; it cured my prob­lems with images not align­ing properly.

    I’m hav­ing one prob­lem, though. My site and admin areas now print “include(‘supported/supported.php’);”. I fol­lowed your direc­tions and put the line at the very top of custom_functions.php and placed it in thesis/​custom.

    Did I miss something?

    1. Argh. Now I get this error when­ev­er I update or pub­lish an article:

      Warn­ing: Can­not mod­i­fy head­er infor­ma­tion — head­ers already sent by (out­put start­ed at /xxx/xxx/xxx/xxx/wp-content/themes/thesis/custom/custom_functions.php:2) in /xxx/xxx/xxx/xxx/wp-includes/pluggable.php on line 850

      1. Ed, line 850 is like­ly very near the bot­tom of your file; have you made sure that there is no clos­ing ?> tag at the bot­tom or, if there is, that there is noth­ing what­so­ev­er (no line breaks, no spaces, no any­thing) after it?

  4. Thanks for this. I was hav­ing align­ment issues and could­n’t fig­ure out why things weren’t work­ing. Con­tri­bu­tions like your work here makes the world a bet­ter place. Real­ly, I mean it.

  5. ack did not wk I got

    Warn­ing: include(supported/supported.php) [function.include]: failed to open stream: No such file or direc­to­ry in /home­/lau­rel­wr/pub­lic_htm­l/­word­press/wp-con­tent/themes/the­sis 1.3.2/custom/custom_functions.php on line 25

Leave a Reply to Dave Cancel Reply

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>

A Salted Faith
%d bloggers like this: