Desk Mess Mirrored
The current version of Desk Mess Mirrored submitted to WordPress.org is 2.0.2
The latest working version can be found on GitHub.
*WARNING: The GitHub version may be a “work-in-progress”, please make back-ups of your current theme before using. Please be aware you are using a GitHub version at your own risk!*
Marble desktop covered with a mix of old and new items, such as some vintage papers, a stainless steel pen, and, a hot cup of coffee! Now with drop-down menu support! Please read the included changelog.txt, readme.txt, and support.txt files for details of the latest changes and important notices.

Big Screenshot of Desk Mess Mirrored
Changelog: March 1, 2012
= Code =
* Un-wrapped the `register_nav_menu` call
= Miscellaneous =
* Added additional screenshots
* Updated ‘readme.txt’ with a Screenshot section and relevant descriptions
/** ————————————————————————- */
== Version 2.0.1 ==
Changelog: February 15, 2012
= Code =
* Fixed display issue when widget title was empty – see `dmm_widget_title`
= CSS =
* Added z-index to “cup” to keep it on top of “sticky notes”
* Adjusted `#logo h2` element text position higher for better cross-browser compatibility
= Miscellaneous =
* Updated ‘readme.txt’ with a “Licensing” section
* Updated ‘readme.txt’ explaining the relevance and possible usage of the ‘Page Link’ shortlink found on pages.
= Internet Browsers Reviewed =
* Apple Safari v5.1.2
* Firefox v10.0.1
* Google Chrome v17.0
* Internet Explorer v9.0
* Opera v11.61
/** ————————————————————————- */
* Desk Mess Mirrored
*
* Theme Description: Marble desktop covered with a mix of old and new items,
* such as some vintage papers, a stainless steel pen, and, a hot cup of coffee!
* Now with more documentation and post-format support for the following types:
* asides, quotes and status!
*
* @package Desk_Mess_Mirrored
* @since 1.0
*
* @link http://buynowshop.com/themes/desk-mess-mirrored/
* @link https://github.com/Cais/desk-mess-mirrored/
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @internal REQUIRES WordPress version 3.1.0
* @internal Tested up to WordPress version 3.4-alpha
*
* @version 2.0.3
* @author Edward Caissie
* @copyright Copyright (c) 2009-2012, Edward Caissie
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2, as published by the
* Free Software Foundation.
*
* You may NOT assume that you can use any other version of the GPL.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to:
*
* Free Software Foundation, Inc.
* 51 Franklin St, Fifth Floor
* Boston, MA 02110-1301 USA
*
* The license for this software can also likely be found here:
* http://www.gnu.org/licenses/gpl-2.0.html
*
* @internal Project To-do List – see readme.txt for pre-2.0 PTL
* @todo Review / Update 404.php page
* @todo Review adding ‘category.php’ template back into theme files (also consider ‘tag.php’, ‘date.php’, etc.)
* @todo Review post meta comment text – sort out how to show amount of comments if they exist when comments are closed
* @todo Review verbiage used for the ‘Page Link’ on pages (see `the_shortlink`)
* @todo Add Post-Format: Link – use infinity symbol (2.1-early)
* @todo Add ‘search.php’ template? (see http://wordpress.org/support/topic/theme-desk-mess-mirrored-searchphp-for-theme-version-191)
* @todo Add specific CSS to the placeholders used by the new (comment) author classes
* @todo Add more i18n support, for example: create and include a current ‘.pot’ file
* @todo Review menu issues with bbPress?! see BNS comment: http://buynowshop.com/themes/desk-mess-mirrored/comment-page-3/#comment-12440
* @todo Review About box in the ‘author.php’ template
* @todo Review wp-title implementation for improvements
*
* Last revised April 5, 2012
* Minor updates for WordPress 3.4-beta1 deprecated functions
*/
* Last revised March 1, 2012
* This file was introduced with version 1.7 of Desk Mess Mirrored and will be maintained with future releases.
* This file was renamed to the more standard readme.txt August 27, 2010.
== Contents ==
* Licensing
* Screenshots
* Basic FAQ
* Notes
* TODO items
* Changelog
* Review Tickets
== Licensing ==
All theme items are licensed under the GNU General Public License v2; or, as the case may be, individually noted.
This may not be construed as overriding any item with a previously applied license, stated or not, which will take precedence.
== Screenshots ==
2. screenshot-2.png – Description: No Menu
3. screenshot-3.png – Description: Live at BuyNowShop.com
4. screenshot-4.png – Description: Showcasing the drop-down menu with mutliple levels
== Basic FAQ ==
= Q: Why is there a >>Page Link<< at the bottom of my pages? Can I hide it?
A: The idea is to provide an easy to copy permalink for the article so readers can more easily share the page with others. You can hide this text by adding `div.page-shortlink{ display:none; }` to your stylesheet.
= Q: Where did my conversation balloons go? =
A: The conversation balloons now only show based on the following criteria:
1. The post is not password protected; and,
2. Comments are open *or* at least one (1) comment has been made on the post.
Also to note, post meta text has been added to indicate the post comment status.
= Q: Does the theme support multi-level, or drop-down menus? =
A: Yes, as of version 1.8; with significant improvements in version 1.8.7!
= Q: Why does the tack above the widget not appear sometimes? =
RESOLVED: As of version 2.0.1 this issue has been corrected. If the widget title is empty the `dmm_widget_title` function will automagically use a space for the title and the tack will be displayed.
A: The easiest solution to this issue is to either insure there is always a title used for every widget; if you wish to not have any text in that particular widget using a `space` (` `) will work very well.
Also to note, if you use the escape sequence ` ` you may notice the widget title is empty afterward. ` ` is a `non-breaking space` and appears as such.
= Q: How do I use the new DMM Dynamic Copyright function? =
A: The function now accepts four (4) parameters. Leaving the function as is will produce the copyright statement as it was produced in version prior to 1.8.5
Using the following parameters you can change the copyright statement accordingly:
- start: This is generally the primary statement of copyright including whatever license you may choose to use
- copy_years: This is the years dynamically calculated from published posts
- url: The default will point back to the ‘home’ page of the website using the website title as the anchor text
- end: A closing statement, such as the default, All Rights Reserved.
It is also recommended to use this functionality in a Child-Theme versus modifying the original Theme template file(s).
== Notes ==
* Resolved in v2.0.1 – Always use a title in every widget or the push-pin top of the widget box will not resolve correctly, even a single space will work.
* add_custom_image_header() is not implemented as it will not handle multiple header images; in the case of this theme, there are three (3) being used in the header.
* It is recommended to not have an excessive quantity of menu items, for example a quantity causing the top menu to exceed two lines, may obscure the post title in some views
== TODO ==
= Short Term Goals =
* [x] Ticket 418: meta information generator is handled by wordpress this should be removed in the header.php
* [x] Address spacing issue for comment from fields (user not logged in)
* [x] Ticket 418: sticky tab menu bar not handling children or grandchildren
* [x] Ticket 418: Review and re-work graphics use for menu items to display drop-down or multi-level menus (long-term)
* [x] Review `editor-style.css` file, address image alignments
* [x] Clean up new functionality of `dmm_dynamic_copyright`
* [x] Move supported browsers minimum to LTE IE7 … NB: Theme is only tested and supported in current browsers as noted in the changelog file.
= Long Term Goals =
* [x] Corrected widget title empty issue – see `DMM Widget Title` in functions.php
* [x] Review second “Home” page scenarios for possible solutions
* [-] Theme Options? Not likely.
== Changelog ==
* see changelog.txt for additional details
== Review Tickets ==
* http://themes.trac.wordpress.org/ticket/418
* http://themes.trac.wordpress.org/ticket/1016
* http://themes.trac.wordpress.org/ticket/1027
* http://themes.trac.wordpress.org/ticket/1935
* http://themes.trac.wordpress.org/ticket/1946
* http://themes.trac.wordpress.org/ticket/3196
* http://themes.trac.wordpress.org/ticket/4108
* http://themes.trac.wordpress.org/ticket/4206
* http://themes.trac.wordpress.org/ticket/4322
* http://themes.trac.wordpress.org/ticket/4549
* http://themes.trac.wordpress.org/ticket/4556 – version 1.9
* http://themes.trac.wordpress.org/ticket/5877 – version 1.9.1
* http://themes.trac.wordpress.org/ticket/6174 – version 2.0
* http://themes.trac.wordpress.org/ticket/6552 – version 2.0.1
* http://themes.trac.wordpress.org/ticket/6735 – version 2.0.2






317 Comments
Here is the link. http://www.ac-group.dk – the first page works fine – but on the others ones I cannot hide the comment field
Thanks
I fixed it by renaming the pages on the tabs. So comment field gone now
@Lars – Comments can be turned off by a checkbox option on the edit page window. This options section is generally found beneath the content box. If you do not see it, you may need to turn it on via the “Screen Options” tab at the top right of the window.
PS: Thanks for choosing Desk Mess Mirrored, I’m glad you are enjoying it.
Actually to change the comments option on each page you have to choose the “quick edit” option — and this is found when you go to your list of pages and highlight the page you want to edit.
If I went into my page to edit, this option is not there. This is what I had to do. Hope it helps.
@Mary – As I noted to @Lars, the “Discussion” box may not be visible (which is by default in new installations); although your method would likely be quicker if there are many pages to change this setting on.
Edward,
thanks – I am newbie at this
@Lars – You’re welcome! We have all been newbies at one time or another.
Edward,
I need some help again. And I hope your help is as fast as the last time around.
When I use my blog http://www.dygtigeelever.dk I would like the “home” tab to stay away when I click the other tabs on the page. How do I prevent the “home” tab from appearing?
/Lars
@Lars – There are two options here: 1) You can edit the menu section of the ‘functions.php’ template file and remove the code that creates the “Home” item; or 2) the next version, which is due to be submitted to the WordPress repository later this evening, has been updated to not include that code and this issue will simply go away once you update to 2.0
Edward,
. Will wait for the update to be published since I is a relic that only knows html and who does have a clue on how to code in php
thanks for this
Beautiful theme. Love it.
I’m having a problem with the menu showing up twice. This happens whenever i enter another page than the homepage. My static home page is not named home.
Happy for any solution.
Correction: The home menu is showing up twice. I named the static home page welcome, and if I enter any page, The theme shows home, then all my pages, and then the page named welcome again, whic is the same as home.
@Andre – As I suggested in my previous reply, a Custom Menu should be able to fix this issue. Also to note, when you use a Custom Menu you can “sort” the menu items into whichever order suits your site best, by default the `wp_list_pages` function (which anchors many navigation menus and is used here) sorts the page names alphabetically thus creating the order you are seeing.
@Andre – The Theme, by default, displays a “Home” page whenever you are not on the “Home” page. The simplest solution is to use a “Custom Menu” which allows for more control over how your menu will display.
Hello there, I like so many others love this template but am having a little difficulty with just one thing – I want to change the text name of my site to a logo, (the title to the right of the iphone in the header) but don’t know how to do it. Any help would be greatly appreciated, thanks INTJ.
@INTJ – Two things in regards to what you are asking … 1) When making changes to a theme it is much better to create a Child-Theme and then apply your changes as when the next update to the theme is applied all of your changes will likely be over-written; 2) The CC license can be better applied within the Child-Theme in it’s functions.php template (which you will need to create as well).
Now to your question: look in ‘header.php’ and replace the code in the ‘logo’ block with your image code … again this is best done using a Child-Theme. Also, always make back-ups before modifying anything.
Hi Edward
I love this theme as it reflects the core of my business. One problem I’m facing is I’d like to upload an author image and have used a number of plugins but with no success. My photo has been uploaded to the admin area but I can’t seem to get it onto the site.
Could you agive me some help here.
Many thanks
Pat
Sorry Edward, to achieve upload of an image I’m trying to add an author sidebar widget but with no success.
If you could advise I’d be greatful.
Thanks
Pat
@Pat – Something you might consider is my BNS Corner Logo plugin … it’s ideal for adding images to the sidebar (or web page corner).
Hello Edward,
First of all my compliments on the them, it is awesome.
I do have a question. What is the use of the link >>Page Link<<? It shows the wp link and brings you back to where you were in the first place. There is probably something nifty one can do with it but I couldn't find any use for it nor any documentation (I might have searched in the wrong place).
Could you shine some light on this matter for me?
Thanks!
@Kees – Thank you for the compliments and the feedback, both are greatly appreciated.
The “Page Link” is basically that, although I probably could have used better verbiage to make its usefulness more obvious. The essential use, or at least the reason why I chose to implement it, is to allow readers to use it for referencing back to the page.
The link uses the_shortlink which creates a short URL to use rather than the standard permalink version found in the browser address bar.
I’ll make a note to review the anchor text as well as include additional information in the theme’s ‘readme.txt’ file.
Hello Edward,
Thank you for your swift reply. I am not sure if I understand what you wrote. My ‘about’ page shows http://www.carrerac.ca/blog/about/ as browser address. I see the short url in the status bar when I hover over the link, but when I click on it, it doesn’t change the browser address.
It is not really important, I’m just a bit confused. Is there a way to remove the >>Page Link<< all together?
@Kees – It seems you are understanding what I wrote correctly. If you right-click (on a PC) then copy the link you can share the shortlink versus the longer site permalink you are seeing in the address bar. If you wish to remove this altogether you can edit the code found at the bottom of the ‘desk-mess-mirrored.php’ loop template; or change the CSS element on line 491 in ‘style.css’ from `float:right;` to `display:none;`.
Keep track of the edit, if you make it, or look into creating a Child-Theme so your edits will be preserved when the next update is released.
@Edward,
Thanks for your help. The ‘problem’ is solved. I put
.page-shortlink { display: none; }in style.css of Multi and it works like a charm now.
Regards,
Kees
@Kees – Well Done! It looks great … I may revert that bit of code, or create an option for it in the next major release.
Hi I love the theme, I’m looking to implement it as a website without comments. I was interested to know if it is possible to remove the comment functionality and comments quote image.
I will be highly grateful for any feedback
@Charles – You may be best to simply adjust the Settings | Discussion > Default article settings et al. to turn off comments on your installation. You may need to go back and turn off individual posts and pages that have already been posted. If you wish to make the change by modifying the code (not recommended) then simply look for and remove (or comment out) the calls to `comments_template` in “the_Loop” template files (they start with ‘desk-mess-mirrored-’).
Hello Edward,
I came across something else. When I create a new page and I use bullets, they don’t show up. I do see the … tags in the HTML view but no bullets on the page. The ordered list does work. I have been searching in style.css for some display:none but I only found that in the nav section.
Any idea what I can do, or where I went wrong?
Thanks.
@Kees – I missed that … add this to your stylesheet:
.page div#main-blog ul li { list-style: disc inside none; }It will be in the next update to Desk Mess Mirrored. Thanks!
Thanks again for your faster than lightning reply. And needless to say that it works now!
Much appreciated.
@Kees – No worries; I appreciate your patience in letting me provide you with a working solution until the next release is available.
I am sorry that I have to bother you again. I do have the following issue:
There are 3 asterisks under the “Leave a reply’ and I would like them to be red. (OK, I am a nitpicker, I admit it). I managed to turn the ones behind ‘Name’ and ‘Email’ red by putting this code in style.css of Multi:
p.comment-form-author span.required {
padding: 0 10px 0 12px;
color: #d21600;
}
p.comment-form-email span.required {
padding: 0 10px 0 15px;
color: #d21600;
}
But I couldn’t find a way to let the 1st one show up red (the one behind ‘marked’) I saw in the source code that it is surrounded by the
*, so I putspan.required{
color: #d21600;
}
in the style.css but that didn’t do the trick. My knowledge of css is limited so I am lost here. Is there a simple way to do what I want? If not, no problem. It’s not the most important thing.
Thanks
@Kees – A quick test showed
span.required { color: red; }changed the asterisks to red in my online and offline test environments; I cannot see a reason why it would matter if the hex code is used for your particular shade of red.
It works now. I must have made a syntax error somewhere. Thanks again for the help. I’ll try not to bother you anymore, but I can’t make a promise
@Kees – No worries! I truly appreciate the feedback and interest.
PS: It may be a bit out of the way, but if your happen to be in the area you might want to have a look at: http://www.meetup.com/WordPress-GTA
I LOVE this theme – However, I would really like to have the main area wider and the sidebar more narrow – Is there anyway to do this?
@Vicki – Thank you for the compliment. Although it is possible to change the widths of the content area and the sidebar area, it would also require a complete re-vamp of most of the visual elements of the theme. Essentially it would would require making a “new” theme due to how the graphic elements have been implemented.
That is sad
Thank you for your reply.
Hi, Edward!
You theme works fine in my web-site.
There is one thing where I need Your’s help.
I want to put read more -tag to static page http://www.leppavirta-liike.fi/blogit/katrina-rajakannas/, because there will be lot of articles in near future, and I want to cut atticles to short teaser with read more-link.
I hope You understand what I mean.
So I find solution, but I cant handle php.language, so I don’t know where to put this code:
How to use Read More in Pages
Please remember that the “Read More” tag is used only on the Home page which shows the latest posts. It does not work in “Pages”. If you want to turn it on in Pages too for showing a set of partial posts, use the following code inside the loop for the dynamic content:
<?php global $more; $more = 0; ?> //The code must be inserted ahead of the call to the content <?php the_content('Continue Reading'); ?>I hope You have time
Sorry,just most important part is missing, the code:
//The code must be inserted ahead of the call to the content
It seems that it is not possible to put code to reply , so there is adress where to find the code
http://codex.wordpress.org/Customizing_the_Read_More#How_to_use_Read_More_in_Pages
@Hannu – To insert “code” into a comment you must use the `code` tag as noted beneath the comment text box.
@Hannu – The code sample (as noted now above) will have to be adapted to be used in “the_Loop” template `dmm-mess-mirrored.php`. You will need to look at the code around line 49 of that file.
I would strongly recommend creating a Child-Theme to make these modifications in as the next Desk Mess Mirrored update will over-write any modifications to the files you make.
I have version 1.9.1 and my sidebar doesn’t show up on the right but on the bottom left (under the page). How can I change this?
@Boris – First, please update to the current version (2.0 as of this reply). Otherwise, I am not seeing an issue with the sidebar.
I don’t see anyplace in the source code to edit the footer.
@Steve – By “the footer” are you referring to the Copyright or the Credits … both are controlled via functions found in ‘functions.php’.
Nothing on this page stands out to be able to edit the copyright and remove the credits.
@Steve – You will be looking for the functions: `dmm_dynamic_copyright` and `dmm_theme_version`
These two functions control the information displayed in the footer of Desk Mess Mirrored.
I would like to add a second line to the footer. Not sure how to add to dmm_dynamic_copyright function.
@Steve – The `dmm_dynamic_copyright` function was written so it could be easily modified via a call from a Child-Theme’s ‘functions.php’ file; or by adding a filter in the Child-Theme. These would be the best methods in most cases that I would recommend. Depending on what you are trying to accomplish, you may also consider the `dmm_theme_version` function, too; it behaves in a very similar manner when it comes to making modifications to it.
I’m very new to WordPress as well. I was wondering if there is a way to get rid of this section on my website. The ‘Leave a Reply’ icon and all of this at the bottom of the page.
I really love this theme, and think it fits my business wonderfully, however, I do not need/want the “Leave a Reply” on there.
Also, I do not want there to be an option to Leave a comment (the little sticky note with pushpin that has the number of comments on it) Is there a way to get rid of that as well?
@lavon = If you turn off comments in the Settings > Discussion panel then most if not all of the items you are asking about should be addressed although you may need to individually edit each existing post/page to turn off their existing comments.
Hi,
the theme is used on listproducer.com however can not seem to get the metadata showing which shows up the follow as a meta description whilst sharing:
//<
Unfortunately I did not work on the site and speaking on behalf of the site owner and she just realised that it is an older version and the first thing I advised was the upgrade and not feasible due to the customisation on the site
I thought you may have a quick fix to the problem on first glance.
I have suggested Yoast SEO plugin that should be able to inject the metadata.
I will ask her if she wants to pay for a fix via your services.
@Azzam – The theme would still need to be brought up to the current version; the customizations should be able to be picked out and placed into a Child-Theme … that is the most correct method to go forward with.
I would still be concerned with the code you quoted, it appears more an issue with a plugin that is causing this problem.
OK great.
I believe Paula should have sent you an email directly to find a resolve.
Hi there,
I too love the theme. I’ve been using it on a bbPress powered forum site.
Version 1.9 worked, Version 2.0.2 doesn’t display the forums list or author details pages correctly.
Here’s it working on v1.9 of Desk Mess Mirrored:
http://www.webay.me.uk/forums/
Here’s it not working on almost identical site but with v2.02 of your theme:
http://webay.hostingbydavid.co.uk/forums/
Any clues would be vastly apprecited!
Cheers
David
@David – I’m very happy you like the Desk Mess Mirrored theme, but I was not aware of this issue with bbPress as I do not use it (ever), nor does the theme officially support its use. I will however make note of it and see if there is anything obvious that may be causing this to occur as the menu system had an almost complete over-haul at version 2.0.
Thank you for the feedback; I would suggest going forward with the method being used on the second example site for the time being.
Hi Edward
Thanks for the reply. I think I’m going to move forward using a version of the theme that works (currently I know that to be 1.9) and then keep checking when you release new versions to see if you’ve worked hard on (or fluked upon) a solution!
If you want to email me zips of all the versions between 1.9 and current, then I’ll test each until it breaks – might help you if you’re gonna trouble shoot it.
As an aside, I’ve actually child themed your theme (primarily to loose a bit of the space at the top and add something to functions.php) hope you’re happy with my change to the footer.
@David – Thank you for the offer of helping with troubleshooting this issue. If you look in the Theme’s ‘readme.txt’ file at the very end is a list of the Theme’s “Trac” tickets … it just so happens the most current version lists the links to these Trac tickets.
Each ticket links to a “zip” file for it’s related version.
I love the theme! It is perfect for my audience.
One thing that I can’t seem to get to work is the “view more from [the author]” link at the bottom of a post. When I click the author I arrive at a 404 error page (within the theme). I did some research in the WP forums, and the theme’s hierarchy looks fine (even has the author.php file). The author.php file looks a lot like the author.php code in the WP forums…yet it doesn’t work. Any help would be greatly appreciated!
@Daniel – Thank you for the compliment. I can see what the issue is, although I do not see right off why it occurred. The issue has to do with your author name having a space between the first and last names. WordPress itself is trying to reach the author page for “Daniel” not “Daniel Carlson” and since it is not finding a “Daniel” author page a 404, or page not found, is being returned. I do not see this as directly theme related. Do you see this issue if you use the default Twenty Ten or Twenty Eleven themes?
PS: I just tested creating a new user name that has a first and last name (without a space) and was not able to re-create your issue; by default the most recent version of WordPress added a hyphen between the two names allowing it to better handle user names with two (or more) names/words.
I was actually able to modify the author-template.php file, line 238, so that it takes the space out of the Author, but it’s still not pulling up the author’s bio (which there is one; a widget I’m using displays the bio).
@Daniel – In your reference to line 238 you must be referring to editing another theme as the ‘author.php’ template used in Desk Mess Mirrored is not that many lines.
This edit also appears to have affected your author name in all instances as there is no longer a space in the author URL.
In the 2011 Theme the space between first and last name is removed in the link. so somewhere in the code str_replace is being used in Theme 2011.
@Daniel – Although I have not reviewed the code for Twenty Eleven, I can see that it is quite possible that particular PHP function may be used to remove a space, but I have also noticed modifications to the Desk Mess Mirrored theme have been made.
As edits have been made, I may not be able to offer any suggestions as to what options are available for you to now correct this issue.
I edited the file in wp-includes/ folder called author-template.php, line 238. I have just returned it to how it was before my edit, if that will help you.
@Daniel – You should never edit any core WordPress files (it is an extremely rare occasion where I would even consider editing a theme’s core files). Unfortunately I still do not see an immediate solution to this issue, can you provide me with a direct link to your author page? It may or may not help, but I am unable to discern one from what I expect given the information I can currently see on your website.
ALL Fixed!! I added a plugin which enabled me to edit the author slug (I added the “-” between first and last name) and it fixed the problem completely. I could have done that in the database as well, but it’s easier this way, especially if I get more authors to use the site.
By the way, the plugin I added is called “Edit Author Slug” and adds the author slug editable field to the User’s profile edit screen.
@Daniel – I’m really glad to see this working for you; and thanks for the plugin name … I’m definitely going to have a look at it, too.