Note: The following code is no longer maintained. Use only if you know what you’re doing, and you should probably only use the code to see how simple plugin compatibility can be attained in Thesis. This add-on was made for Thesis 1.x.x; don’t expect it to do anything for Thesis 2.x.x.
In my quest to help Thesis users out as much as possible, I have put together an add-on to the Thesis framework which I hope to continually update to provide sweet compatibility improvements for plenty of WordPress themes.
I’m doing this to make using plugins and Thesis together as simple as possible, especially for the non-coder.
Current Version: 1.0
Instructions
- Download the Thesis Compatibility Suite.
- Extract the
supported/
folder from the archive. - Upload
supported/
to yourthesis/custom/
folder. When you view thethesis/custom/
folder on your server, you should then have the following folders and files (plus any others 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 important that the line is at the top in order to keep up validity (@
statements must appear before any other code in stylesheets) and to allow you to override any of the styles via the rest of yourcustom.css
file. - Add this line to the top of your
custom_functions.php
file on its own line, just after the opening<?php
:
include('supported/supported.php');
- Enjoy!
Requests
Requests are no longer being taken as the Thesis Compatibility Suite is no longer being maintained.
Current Plugins
The following items are accounted for in the Thesis Compatibility Suite; don’t worry if you don’t have any of these installed, as the Compatibility Suite will work regardless!
- Brian’s Latest Comments 1.5.8: Adds a widget w/ options so that you can easily add your latest comments to your sidebar, without mucking around in code.
- OpenID 3.1.2: Places the OpenID box above the comment form’s submit button where it’ll be more noticeable. Also, tweak the styling to blend better with Thesis.
- Popularity Contest 1.3b3: Adds a widget w/ an option to control how many posts to list so that you can easily add your popular posts to your sidebar, without mucking around in code.
- Possibly Related Classroom Projects 0.4: Tweaks the styling to blend better with Thesis.
Super Stylin’
As a bonus to users of the Thesis Compatibility Suite, the following styles are included just for the fun of it!
- Image captions: Ensures your images & captions look slammin’ in Thesis when using the “Caption” field of WordPress’ media manager.
As always — you deliver. This is awesome.
I’m planning on messing with this (particularly image captions). My question is: What is the least destructive way to change styles to the text displayed in the caption underneath an image?
Thanks for a great add-on to an awesome theme!
Nevermind! All you have to do is go into the supported.css file and mess with all the settings there. Genius? Check. Simple? Check. Idiot-proof? Well, I did it!
Thanks for the help Rick, this works great!
Hi Rick,
I’m using WP 2.6.2.
I recently downloaded Thesis 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 implement your compatability suite.
But I’m sorry I don’t understand step 2 in your instructions because I don’t have a compatability/ folder when I extract files from your .zip.
For example, I have a supported/ folder and a _MACOSX folder.
Within each of these are 3 .php files and a _supported.css file.
Can you please help?
I am not a programmer so please will you excuse dimness on my part?
Thanks.
All the best,
Stephen
My bad, Stephen, I misspoke in the instructions. It’s the
supported/
folder that you need to upload. The.DS_store
thing you can ignore completely or even delete. It’s a remnant from Mac OSX which I didn’t think would make its way into the download file. (I’m still getting used to Mac’s quirks.)Hi Rick,
Thank you SO much for your prompt answer. I’ll test and go ahead now.
All the best,
Stephen
Rick, first thanks for the compatibility suite; it cured my problems with images not aligning properly.
I’m having one problem, though. My site and admin areas now print “include(‘supported/supported.php’);”. I followed your directions and put the line at the very top of custom_functions.php and placed it in thesis/custom.
Did I miss something?
Fixed: I didn’t have the include line inside the first <?php
Argh. Now I get this error whenever I update or publish an article:
Warning: Cannot modify header information — headers already sent by (output started 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
Ed, line 850 is likely very near the bottom of your file; have you made sure that there is no closing ?> tag at the bottom or, if there is, that there is nothing whatsoever (no line breaks, no spaces, no anything) after it?
Thanks for this. I was having alignment issues and couldn’t figure out why things weren’t working. Contributions like your work here makes the world a better place. Really, I mean it.
ack did not wk I got
Warning: include(supported/supported.php) [function.include]: failed to open stream: No such file or directory in /home/laurelwr/public_html/wordpress/wp-content/themes/thesis 1.3.2/custom/custom_functions.php on line 25