Simply put I have been lazy lately. I know this isn’t the best way to sell my self but a little bit of honesty hasn’t hurt anyone (or has it? ). So without further ado I here by present you Commune Child Theme based on Thematic!
As far as I know it’s the first magazine like Thematic child theme released for free!
Is it a bird, is it a plane?
Hardly! Just a Thematic Child Theme with a twist!
There are many reasons why you should consider using the “Commune child theme” :
- It’s green
- It’s a Thematic Child Theme – this being said it has all the features Thematic has including fully widget-ized with widget areas above and below the content—and even in-between.
- Lets you upload your own logo / banner image through an admin panel
- Easy to add images to posts without having to use custom fields or without the need to crop your images!
- Easy to add default images to posts in certain categories - So if you don’t add an image to a certain post it will display the image assigned to the category it’s in!
- It was designed to work with the Tabbed Widget Plugin and WP-PageNavi plugin (update – Tabbed widgets doesn’t currently work with Wordpress 2.8)
- The main menu displays all your categories and subcategories
- Tested and works on all modern browsers: Firefox 3, IE7, Safari, Google Chrome
A small guide
There are basically three things to explain: adding your own logo, the Tabbed Widget and adding images to posts!
Adding your own logo
Commune features an Options page that allows you to upload your own logo or banner image. You need to go to the Wordpress admin panel and under “Apperance -> Child Theme Options”.
This is how the interface looks like:

Child Theme Options Page - You now have the posibility to upload your header image from Wordpress
The Tabbed Widget – update: it currently doesn’t work with Wordpress 2.8
To use the functionality of the Tabbed Widget Plugin you first need to download and install it!
Once that’s out of the way select Appearance –> Tabbed Widgets. The interface gives you the possibility to create 8 Tabbed Widget areas, but in out case we’ll use just one. In Tabbed Widget No. 1 select the widgets you want displayed. For the demo of the child theme Commune I used:
- Recent Posts
- Recent Comments
- Tag Clouds
- Search
Make sure you give a title to each individual widget or your users will only see 4 tabs.
Other settings you need to take into consideration are:
- deselect show title (it’s deselected by default)
- select Style as: tabs
I’ve also uploaded an image with the settings for the Tabbed Widget Nr.1.
The next and last step is to head over to Appearance -> Widgets. Select the Primary Aside Widget, click Show and add Tabbed Widget 1 to it and save changes. After this you should have your Tabbed Widget displayed on the front-end of your blog in all it’s glory!
Category and post images
Another key element of this theme is the way pictures are used and displayed. For this the Easy Peasy Images code by Andrew Rickmann was integrated into the theme code.
What this does is to get a list of all the images attached to a post. It then finds the first image with a sort order of 0 and displays it. By default all images have a sort order of zero unless you choose to reorder them. If you don’t make any changes then it will find the first image. If you reorder them using drag and drop the first image in the list will have an order of 1 and you would need to change it to 0.
Default images by category
The theme will add a list of categories to the Media -> Library so that you can assign images to one or more categories. If the function doesn’t find a post attachment with a sort order of 0 then it will default to the image attached to the category the post is in. Note: it will use the first category image it finds.
For more information on the usage you can see a video-tutorial over at Andrew Rickmann’s web-site, www.wp-fun.co.uk
As always if you have any questions or if you find bugs please let me know! I appreciate every input!










220 Comments
I haven’t modified PHP, and i’ve been getting this error
Warning: Invalid argument supplied for foreach() in /home2/clicheov/public_html/wp-content/themes/commune/index.php on line 3
??
and
Fatal error: Call to undefined function thematic_post_class() in /home2/clicheov/public_html/wp-content/themes/commune/index.php on line 27
HELP??
@Junius – 1. For the forum I would go with bbpress.
2. That image should have appeared. Really not sure why it didn’t. I suppose it’s not part of the gallery of that post.
3. Right now the description is not displayed. The theme code has to be modified for this to happen.
@Patric – have you uploaded Thematic as well? This is a child theme and without it’s master framework (Thematic in this case) it won’t work. If you have uploaded Thematic please try and reupload it. Something could have gone wrong during the transfer.
Cristi,
thanks for the advice. About the picture, I fixed it when I pulled the image out from the post and loaded it in the library. Am I supposed to do it this way?
I have also tried to fix two other things mentioned underneath but still in vain. Can you explain step to step how to overcome it. (Sorry for the trouble as I am pretty much a starter in these things.)
Firstly, it is about the tabbed widget. I followed you tutorial but still couldn’t get it up on the sidebar.
Secondly, not sure how the bottom section is created. (I mean the section showing “Pages/About Green Community/RSS link” in the Commune sample website)
Hi Cristi,
Great Theme!
Question: Is it possible to place an ad div container (160×600) on the right side of the layout, outside the #main div, and if so where do i put it in php/html and how to css it?
Thanks again!
Maui.
You can use some of theme hooks to add an absolute positioned div to the theme. For more info you can have a look on the Thematic Guide
Hmm, already uploaded it to the themes folder (public_html/wp-content/themes/) then I uploaded Commune to the same folder (public_html/wp-content/themes/). ?
Oh wow, now it’s working. I didn’t do anything.
Thanks a bunch:DD
Absolutely love this theme. Green is the new black
I am experiencing an issue with the tabbed widgets though. On my front page, archives, search etc. everything is fine, but on single posts the tabs come out on top of each other. See: http://www.runegamborg.dk/2009/02/24/oevelokale-memorial/
I have glared at single.php for long now, but cannot see what the problem is. Any thoughts?
I don’t really have any idea why this is so. Probably has something to do with the fact that your blog is installed inside the CMS folder and your links are routed to look like the root of the server. I really don’t have any immediate ideas on how to fix it.
Hmm. Thanks for the reply! I’ll look into that.
I’m thinking that it could be the permalink structure. Come to think of it, this could just be a plugin issue and really has nothing to do with your theme at all :p
hi one more question, how can i split the comments from the trackbacks, i want trackbacks only as linklist. (problem is they are counted but dont show up)
got an idea? on how to show the trackbacks?
Can you send me a link to a post that has both comments and trackbacks! I don’t yet know what the problem might be.
Your theme is really great! I am developing a site with it and it is one of the best child themes for thematic that I have found. I am trying to hide the entry meta info on the homepage. I want to keep the date and comment number though. Is there a way to hide the categories and author? Could that be done with CSS or is it in the functions file?
Through CSS it would be fast and easy to do. I think you should try it! Thematic has a complehensive body class so you can target particular HTML elements only on the homepage.
The comments are separated in the HTML for the category and the author so you can target them separately.
my problem is: i use ur Commune theme and i want to display my trackbacks below the comments(i have trackbacks, they are counted but not shown). the is a bit confusing. thats why i don’g get whats wrong why they are not showing up.
Hi Simon. Try and delete and reupload the Thematic Theme and also Commune. There are some issues with your current installation of the themes that shouldn’t have happened (like the blue in the menu and the number of comments in the bottom of each post on the home-page). Problems like this could appear if the files weren’t uploaded correctly to the server through FTP.
Also Commune doesn’t make any HTML changes to the comments, only CSS ones. As such this would be an issue with the Thematic Theme you have on your server.
For weeks I’ve been looking for the perfect theme for my blog and at last I found this!
This theme is brilliant, smart, and charming!
Thank you so much for this theme!
I have one question though. How to change the theme for a logo?
I’m working on updating the Commune theme so you can upload a logo from the themes options (which right now don’t exist). I’ll post a blog article soon with the updated theme and a tutorial that will help Thematic users to modify their own child themes to support logo uploading.
Hey thanks for that info! I’m looking forward to that update. How is it possible to put a Google search bar on the header? Just below the PAGE LINKS.
Just updated Commune with the possibility to add your own logo or banner image. Just clear your cache and re-download the child theme.
As for the google search bar I would use the functions.php file to add the code to the thematic_belowheader hook and style it with css. If you’re new to this I would recommend you read the tutorial series over at ThemeShaper.
Also another good place to look for general Thematic questions is the Thematic Forum and the Thematic Guide.
Superb! Thank you for the update! You are very helpful! Thank you so much!
Hello. Getting a Stylesheet is missing and Template is missing error after uploading Commune and Thematic. Any ideas?
Commune stylesheet must reside in the wp-content/themes/commune/style.css and the thematic inside wp-content/themes/thematic/style.css
These kind of error appears when the themes aren’t uploaded correctly. Please check the upload directorys and if you still experience this issues let me know and we’ll see how we can fix it!
Thanks for the speedy reply.
Uploaded both themes intact to the mentioned locations.
I did alter the thematic folder to delete its version notation. Thematic is there and there’s no problem with that, but would that alteration impact Commune.
Also the Commune zip contains Commune within Commune1. I’ve uploaded Commune. Is that right?
Anyway…..long story short. Still getting that error, even after logging out, clearing Firefox private data, etc.
Thanks again for the speedy response. Commune, by the way, looked to be an attractive way to familiarize myself with Thematic.
Do you have a test server? Try and activate Thematic and give me a link to that. Also if you can give me access to you WP install I can try and see what’s that all about. You can use the contact form for sending me the login data if you like: http://www.cozmoslabs.com/about/ . This is the only way I can help you I guess!
I did encounter this problem before but it was an issues with the folder names most of the times.
Oops! Made an error with 7-Zip. Apologies for bothering you with this non-error.
Hehe! No problem! I’m glad you sorted it out!
Hi Cristi
Getting the same ‘Template is Missing’ error. My stylesheet is present at the exact same location as you’ve mentioned. Could there be any other problem?
Aahw..hold on..I did not upload thematic at all
Sorry,,will upload and let you know…
I’d like to change the size of the excerpt thumbnails. Can I do that in the Wordpress settings or does it need to be done in one of the php files?
Yes you can! The Easy Peasy Images is based on the Wordpress Medial Library. In the back end go to Settings -> Media and change the default 150×150 px default to 100×100 for example. Please not that you’ll have to change the CSS as well, particularly the width of blog_listing div.
Another thing to note is that the older thumbnails will not be updated. You’ll have to find some way to automatically change all the other thumbnail. If you find an easy way please do let me know!
If you view the Commune preview now you’ll see that the first image is 100×100 instead of the 150×150.
Let me know if this worked for you!
Cheers!
Why not batch process the images with a program like irfanview. it takes seconds to change an entire folder. the only thing is that you have to download all the images and then upload them again.
hey,
I have the same issue as simon: the comment count gives the number of comments and pingbacks, but the bingbacks are not shown. also i have the blue in the menu. so I tried to delete all theme files and uploaded thematic and commune again, but nothing changed. the url is http://internetsperren.at
The blue starts to appear after I commented the add_action(’wp_page_menu’, ‘categ_menu’) and used the code from the link http://themeshaper.com/forums/topic/including-specific-pages-in-menu as you suggest simon to do. So this is no upload error.
Now that you mentioned that you’re using the page-menu instead of the categories menu I finally figured it out! It would seam I forgot to code into the css the styling for the selected page.
To fix-it add inside the style.css this code at the end of it:
.sf-menu .current_page_item{
color:#d3d3d3;
}
This is a gray color, but you can change it to any color you like!
As for the trackbacks… I really don’t know at this point. I’ll have to check it further.
Thank you all for the bugs!
This kind of feedback really helps me build a better theme. It’s already at version 0.4!
hi Cristi, somehow I still couldn’t see the posts from clicking on the categories. Any thoughts?
Hi. You made changes to the Permalinks in Wordpress settings. Reset those settings and I believe the category links will work just fine!
Thank you! I added the code at the end of the style.css but there’s no change. However, it’s not a big deal.
I have been trying to put the comment number in the entry-meta next to the date. Is this done in the functions file or the index? Also how would I add the word “Comments” net to the number. Thanks.
@cristi:
could you please explain why you’ve included a default.css of your own? I think it beats the purpose making the child them based on the framework and using only style.css to the theme changes.
it also breaks your time if I use the default.css from Thematic 0.9.5
The default.css is actually the old default style form thematic 0.6. I’ve started work on commune quite some time before Thematic got it’s new white clean look so when 0.9 appeared Commune broke. So for it to be future prof I had to make sure it uses as few default styles from the Thematic Theme.
Thanks for the quick reply, I think that for the theme to be completly future proof you should move all your custom code to the style.css. in that way we can benefit from any updates to the default.css in newer versions of thematic. It may be a bit of work now, but it will save a lot of work later.
Hi Cristi
Thanks for this great theme.
If I upload an image i doesn’t get scaled. It is shown in full size in the articel list. Any idea what is wrong. Do I have to install another plugin to enable image scaling?
Normally it should be automatically scaled. Can you send me a link to see what’s going one?
>If I upload an image i doesn’t get scaled. It is shown in full size in the articel list. Any
>idea what is wrong. Do I have to install another plugin to enable image scaling?
Forget it, my mistake. There was no GD Library on the server. After “apt-get install php5-gd” everything is fine.
Thanks for your theme.
Hello. I have one question. I want to disable automatic photo inserts to the posts. I’d like to manually add graphics to the posts without this “only upload” option. What i must to do?
Can anyone help me? Please
Just delete the single.php file in Commune and see if that did the trick. In the single posts pages the uploaded image won’t appear any longer, but you’ll still have the thumb nails on the home page.
Percefct! Thank You very much!
I have one more question to complete my blog’s startup. I don’t know if this is about Commune style, but I thing it is…
So, How can I change test in the search form? Default text is: “To search, type and hit enter”. I’d like to change tis text to my localised text. I can’t find this phrase in any of .php file :/
Please help, and sory if this is not about Commune.
That text comes with the Thematic search widget. It’s localized so you can translate Thematic using the .po and .mo files and thus further help the community by offering a Polish version of this great theme framework
.
Heck… you even gave me a great idea for a new tutorial!
Another option would be to filter the “thematic_search_form” with your own code… Unfortunately that’s a bit difficult to explain, but here goes:
- inside the functions.php of Commune create a new function called custom_search_widget
- in this function copy the code that is inside widgets-extensions.php (except the declaration of the function and the echo apply_filters part) – as you can see inside that code is the text you want to change
- at the end of the function add the code ‘return $search_form;’
- finally after you close the function just add in your file: add_filter(‘thematic_search_form’, ‘custom_search_widget’);
If you have no experience with php chances are you won’t have much luck getting this right so let me know if you have any issues and I’ll send you the code!
Cheers!
Thank You for “showing me the right path”
I have changed the text in the widgets-extensions.php code. I know that this is shortcut, but I’m not a programmer at all 
If translation tutorial will show, I will lern myself to include this text in PL files
Thank You for help! Best regards.
I’ve translated Thematic .pot file, and this string is not there, or it’s not reading it correctly. It’s a thematic bug.
You should post this to the thematic forum. This way it can be fixed in the future. http://themeshaper.com/forums/
Hi,
I noticed this comment is over a month old and I’m not sure if the last thematic update added this filter but you can now easily change the search box text by putting this in functions.php
//Change search box text
function ngguide_search_value() {
return “Type then whack enter..”;
}
add_filter(’search_field_value’, ‘ngguide_search_value’);
Cheers.
I didn’t know about this filter! Thanks.
The tabbed widgets plugin doesn’t work on wp 2.8?
Yes… It would seam Tabbed widget plugin doesn’t work with WP 2.8 It’s a javascript problem.
Have you considered people who use Opera? No, you have not, and that’s why the theme preview doesn’t work.
in Opera.
Hello again
I’m fighting with old version of my website on Google. I have been studying wordpress how-to for 404.php file, and I’m not sure that now Google bot will now remove old, invalid pages:
Original thematic 404.php conains code at the beginig:
I have changed this (following the wordpress how-to) to:
I have add two lines to .htaccess:
ErrorDocument 404 index.php?error=404
Redirect 404 index.php?error=404
I’m asking for advice if this is no problem. I want to remove all old and invalid pages from google. Google bot neds invalid pages to have error 404 header included for preventing of removing “good sites”.
Best regards, Michael.
The commenting system doesn’t allow to post code inside it. Try and send me an email using the contact form. http://www.cozmoslabs.com/contact/
I am having issues with the RSS feed displaying double images. It looks like it is pulling the images from the homepage and from the post. I deleted single.php because the same thing was happening with posts and that is fine now. Any ideas why this might be happening?
I have had the same problem and I will use only text in RSS. But I’m curius that there is posibilyty to bypass the double image effect
I know about that bug and it’s somehow triggered by the image script. I have no idea why this is happening. Will try and see how it can be fixed.
@Michal and Cristi,
Do you know a way to display the full post in the feed without images(text only as you said you do Michal)? When I set the Reading setting to Summary it doesn’t display the images in any readers, but I would like to have the full post without images.
Hmmm, I have only summary.
When I have a picture on a post it slides the text to the right and is not visible when the sidebars active. How do I fix this? Check out my posts to see what I’m talking about.
I’m new to Thematic and trying to understand how it all works.
How did you get the top navigation to display in the footer as an unordered list in your Commune demo site? I looked at the functions.php, but didn’t find the code.
You can use the “1st Subsidiary Aside” widget area to add the Pages widget!
Thanks Cristi – I found the “1st Subsidiary Aside” after I posted here.
Question for you: is there an explanation somewhere of Thematic’s functionality, that describes the various widgets and where they display?
I found a great diagram (http://bluemandala.com/thematic/thematic-structure.html) showing where the various widgets display on a page, but no basic explanation of Thematic.
Haven’t downloaded this yet, I apologize if it would be obvious once it’s downloaded an installed
The top post in the grey box. Is that a “featured post,” dictated by category, or simply the newest post? If it’s the latter, is there an easy way to make it dictated by the category or to put a “featured post” at the top?
The “Featured Post” is dictated by either the latest post or a Sticky post. Right now there isn’t an easy way to put a post in a category but the Sticky functionality is similar even if there are needed more clicks
Hi. First I would like to commend you for this awesome child theme. I have a few questions though.
First, how do I turn off the automatic posting of images in my posts while retaining the auto thumbnail feature?
Second, how does can I have the ‘featured content’ stay there while I put in newer posts but not intended to be a feature?
Sorry but I’m new at this so your help would be much appreciated.
- turn off the automatic posting of images : just delete the single.php file that comes with Commune
- ‘featured content’: use sticky posts. See this article for more info: http://www.nathanrice.net/blog/definitive-sticky-posts-guide-for-wordpress-27/ . Also please note that if you have 2 sticky posts, both will appear on your blog homepage, and the brown one will be the latest one. So if you want to change the featured post make sure you ‘un-sticky’ the previous post!
Hope this helps!
Is there some way to remove the “Pages” heading that displays above the page listing in the footer? I’d like to list the page links, but without the “Pages” text above the page listing.
When you add the Pages widget just don’t add the title in it and leave it empty.
Is there a way to remove the blog title from the theme? I want to place an image instead.
You made some modifications to the theme because the Blog Title isn’t there in the original theme.
For a quick fix try adding in style.css that resides in the Commune folder, at the end of the file this code:
#blog-description{ display:none; }
I played around with it last night and fixed it. Can you tell me how to create a sidebar on each side instead of just the one on the right?
I would like to hide the #page_menu, which I’m guessing is easy enough with CSS, but I would like to change #access so that the menu displays “Home” & my pages instead of the Categories.
What changes do I need to make to the php in order to accomplish this?
Hi Risti,
is it hard work to remove the menu below the logo on this themes ??
I only wish the small menu abowe to right and widgets to right
Do you know which file who has to be modified ??
Or is it impossible to change
Best Regards
Nick67
Hi Nick,
Try and add this code to the end of your functions.php file that is found inside the Commune theme:
function remove_thematic_access() {
remove_action(‘thematic_header’,'thematic_access’,9);
}
add_action(‘init’,'remove_thematic_access’);
This should remove your menu.
Hi Cristi,
Thanks a lot for this super them. The best I’ve seen so far. I’s like to know if there is anyway to change the main menu to display pages instead of posts? And perhaps the brown bar at the top to display customized links to forum, login etc?
Looking forward to your reply. Keep up the good work!
Cheers!
To change the Commune main menu to pages open the functions.php file inside Commune and search after:
add_action(‘wp_page_menu’, ‘categ_menu’);
Then replace it with:
//add_action(‘wp_page_menu’, ‘categ_menu’);
As for the top menu in functions.php search for the php function called comune_topmenu . Were it says echo $menu, replace that with a unordered list of your custom menu.
Hi Cristi,
Thanks a lot for your reply and help! I’ll try it out. About the top menu thing, can you please explain to me what unordered list of my custom menu is? How exactly do I do that? Sorry about the question but I don’t know programming.
Cheers!
Thanks, Cristi. This was very helpful.
How do I get the “Home” link to appear along with my pages in the main menu?
Also, if I want to remove the top menu altogether, is it best to set it to “display:none” in the CSS or should the php be edited?
This is an unordered list:
<ul>
<li><a href="http://www.cozmoslabs.com/projects/commune/?page_id=14" title="Our Staff">Our Staff</a></li>
<li><a href="http://www.cozmoslabs.com/projects/commune/?page_id=17" title="About us">About us</a></li>
</ul>
Also make sure you close the php and html tags correctly!
Thanks a lot Cristi!
I’ll just have to replace the url and the title right?
Cheers!
Hi so… I made the rough site. I applied Commune. I edited pages that show in the brown top right menu nav. Each page that has since been saved subsequently disappears… what the heck is happening? I’m stumped. Thanks..
PS the pages that have disappeared can be accessed from the 1st Subsidiary Aside. Cheers
Lisa, the reason your pages disappeared was that I didn’t account for sub-pages in the top menu.It’s fixed now, so you can clear your browser cache and redownload the commune theme, then copy the new style.css over the old one and reload your browser. It should work.
Hi Cristi. Thanks so much for your help. It’s improved in one way and gotten worse in another… Now it’s showing only one of the child pages and none of the parent pages… Also, the subsidiary aside sections are gone at the bottom… Haha strange!
And to be clear, I only overwrote the style.css file… Cheers
I think you have just to many pages in the menu. Try and unpublish one of them and see if that helps.
Hi Christi – Sorry to bother you but actually that did not solve the problem. The pages listed at the bottom of the site are not showing up at the top. Only the pages I have not resaved since activating this theme display… Wondering what causes that… Thanks
PS I really like this theme otherwise. For real ~ excellent, thanks. Not critical, I am still confused about several of the widget display areas… have yet to realize where they display…
Hi Cristi,
I just want to write just to say Thanks! I really like this Theme!
L.
Hi Cristi ~ Any chance you could still help with the brown menu problem? I’d love to clear it up. Sorry for spelling your name wrong and I really do love this theme you’ve made, even more why I’m anxious to show it off properly. I wonder why the pages don’t show at all since I saved them… I tried uninstalling and reinstalling too. Cheers ~ L
Hello, Cristi thank you for this beautiful theme!
I have one question. Why the superfish is disabled with IE6? Is it possile to turn it on?
Thanks!!!
Hello, i just installed this awesome theme to make a healthblog.
I’m a WP noob. so please excuse.
The problem Im having is that all of my categories are not showing up in the main menu.
I only need 4-5 items, but onlu home and uncategorized are showing up.
How do I add more to the standard menu?
Thanks!
i had installed green commune on my blog, but i wanted to show an ad banner on the top right hand side just beside where the blog name is displayed. can you please tell me how to do tht?
Since the Tabbed Widget Plugin doesn’t with Wordpress 2.8, what’s the solution / workaround? Any Idea?
There isn’t much choice right now. However commune doesn’t really needs the tabbed widgets plugin!
I am having trouble having images appear in the blogroll on the left. I would like for the image that is linked in my post to appear on the blogroll to some degree. Perhaps you could point me in the right direction. I have two posts up, one linking an image from another site and one that was uploaded. http://www.endsmiss.org
I’ve described in the post how the image functionality works. Pretty much you have to upload your image inside your post and the image will appear. It won’t work with linked images, neither with images that are uploaded in other pages or posts. The images must be inside the Gallery of that post or it won’t work.
On my install of Commune there is Child Theme Options under appearance. Is it because I am running WPMU?
No. That’s by default with this Child Theme. It let’s you upload your own logo the easy way.
Sorry, I meant NO. I wanted to add a logo and the child theme options isn’t there.
This is going to sound like a really stupid question, but here goes:
How do I add a button to the ‘category’ navigation on the top of the page?
I have a static page offsite that I want to link to.
In ‘normal’ themes, I just go to the header.php file and do the thing to add a button.
I have checked everywhere but can’t find the code that is generating the navigation. I did figure out that your child theme is not creating it’s own navigation but using thematics.. searched their forum with same question but no luck.
thnx
Another question if you don’t mind:
I’m finding that when the site is ready I am going to have about 30-40 pages and about 200 sub-pages….
As to categories, I will end up with about 15, maybe as many as 20, though I hope not.
What I can’t figure out is how to choose which links to not show on the navigation. All my prior themes had an option in the admin to ‘hide’ navigation items, but this one doesn’t as far as I can tell.
Is there an easy solution?
To modify the menu look inside the functions.php for categ_menu. To remove items from the menu try and search wordpress.org for plugins that do that. There are quite a few!
Hi Cristi -
None of the pages show in the top brown header area. I had to add a widget and place them in the footer to even become visible. Would you please help me fix this problem?
Thank you,
Lisa
Cristi i made a pages widget and added it to the bottom of the right column to show how the page names come up blank — they acknowledge as entities but show nothing to read or click upon…
Hi Lisa. I noticed that the text doesn’t show up. To be honest I have no idea why this is happening. If you want I could have a look provided you give me your ftp and admin account for interactivebodywork.com. If you’re ok with this please contact me via my contact form: http://www.cozmoslabs.com/about/ and send me the credentials.
I apologize up front for such a newb question, but I’m a little stuck.
background: I was trying to find the easiest way to have custom templates on a per category basis so that I could have the colors/backgrounds/etc change when you switch categories.
I found this and it works great:
http://wordpress.org/extend/plugins/category-templates/
So my question:
Basically I can take the category.php template and duplicate it, changing the filename to something like video.php so long as I add this to the top of the template:
Of course then I can easily modify the layout for the video category. I can also do this for single.php
Where I get stuck:
category.php, single.php do not call the css file itself, but relies upon the header.php file from thematic to call the css file. At least I think that is how commun’s style.css is called.
Basically most of the changes I am going to want to make are to the css, like colors etc.
What would I need to add to category.php to have it load it’s own css that will override the default style.css from commune?
I’m guessing that I could just put in the into each of my custom templates, but how do I override the style.css especially if I am already using !important.
I hope this makes sense, trying to figure out how to describe what I am after is a bit hard.
Since this is a thematic theme you have the possibility to target each category page individually through css.
For example if you look at this category page: http://www.cozmoslabs.com/projects/commune/?cat=22 and then view the source generated (View -> Source), you can see the body class is something like:
<body class="wordpress y2009 m09 d17 h07 archive not-singular category category-hardware windows firefox ff3">
By targeting your page contents using:
.category-hardware h2.entry-title {
color:#ff0000;
}
you can style any category page separately!
Otherwise you’ll have to make use of the wordpress conditional tags and put a lot of if’s in your functions.php file so it loads the appropriate css each time you enter a different category, but that’s somewhat harder to do.
How do I go about setting a ‘fixed’ article to display in the brown box on the top of the page?
That brown area stands out so much that I thought it would be really nice to allow the site admin to choose the article that displays in that box. Or if I could set it to display the latest post in a given category that would be even better….
You can always use Sticky Posts
I have read through the comments, but am not so knowledgeable about all of these things. I think my problem hasn’t been addressed.
I love your theme, it’s awesome! Really…but I am trying to run Amazon products on it, and the picture of the product doesn’t appear in either the home page, or if I click on categories. It does appear, however, when I go to the single post. Also, all links are stripped from the home page and category posts.
Obviously, that’s not such a great thing for me. I was thinking about switching themes, but I genuinely think you have a great theme so I’m just trying to see if there’s any way it could work.
The image functionality works only with uploaded images inside wordpress. As for your links… this theme uses the excerpt in wordpress to display short descriptions of your posts. This means text only. As of such all links are removed from the homepage and category pages.
As for a workaround… unfortunately there isn’t anything straight forward for you to change. It will have to be custom modified to fit your needs!
Thanks for responding, Cristi. I might just replace one of my other non-affiliate blogs with this theme, as it does suit for some other sites I’m working on. Cheers.
10 Trackbacks