16

Desk Mess Mirrored 1.0.9

Posted by Edward Caissie on July 17, 2009 in News, WordPress |

After some new ideas and several fixes I have uploaded a new update to the Desk Mess Mirrored theme pushing the version number to 1.0.9.

Here is the changelog for version 1.0.9:

-- Version 1.0.9
  - deprecated the header-home.php and home.php files by adding a tilde (~) character to the beginning of the file name. The functionality was merged into the index.php file with additonal PHP code, specifically an IF statement to test for the displayed page being the "home page", or the "front page". This will reduce maintenance and potential errors that cropped up due to the extra files.
  -- copies of header-home.php and home.php from version 1.0.8 are still included (prefixed with the tilde character) but will be removed in 1.1.0
  - re-coded footer to programmatically write the theme name in the credit line, including recognition of child themes.
  - added additional internationalization code
  - CSS: corrected "administrator" background-image issue
  - CSS: adjust 'padding' in ".post-comments" elements to better align number of comments
  - CSS: added ".left" and ".right" alignment elements
  - CSS: "#akismetwrap" added to align Akismet blue graphic in widget block
  - CSS: ".commentlist pre" added
  - CSS: removed 'border: 1px inset;' from "#com p code"
  - IE6 CSS: additional adjustments made to the IE6 CSS to show menu >> unfinished

… and it seems there will still be more work to do.

© 2009, Edward Caissie. All rights reserved.

Tags: , , ,

16 Comments

  • Version 1.1 was uploaded to replace version 1.0.9 in order to remove the extraneous files ~header-home.php and ~home.php as noted in the changelog for version 1.0.9

  • […] environment and to read the changelog for 1.0.9. The differences to version 1.1 is noted in the first comment to the post “Desk Mess Mirrored […]

  • Hi,

    Thanks for this theme — I love it!

    I’d like to add the “comments” function to my pages. I know I’m supposed to add this code

    But I don’t know where it goes in my page.php file. Can you tell me what line # I should insert this?

    Thanks,
    Laurie
    .-= Laurie Pawlik-Kienlen´s last blog … How Freelancers, Nonfiction Writers, and Novelists Succeed =-.

  • Edward Caissie says:

    @Laurie – I’m very grateful and quite pleased you are enjoying the Desk Mess Mirrored theme.

    To add comments to the page.php file is really rather simple. The logic follows from the layout of the single.php file. Around line 17 change the code from this:

    </div>
          <?php endwhile; ?>
          <?php else : ?>

    … to this:

    </div>
          <?php comments_template(); ?>
          <?php endwhile; ?>
          <?php else : ?>

    You are basically only adding the one line: <?php comments_template(); ?>

    PS: I would also suggest considering a child theme of Desk Mess Mirrored to address the modifications you are adding to the core theme files. This will allow you to still benefit from theme updates and keep all your modifications. Please feel free to contact me directly if you need help with creating a child theme of Desk Mess Mirrored. EAC

  • Thanks, Edward, it worked like a charm!

    Enjoy your day,
    Laurie
    .-= Laurie Pawlik-Kienlen´s last blog … How Freelancers, Nonfiction Writers, and Novelists Succeed =-.

  • That’s great to read, Laurie! I’m going to add the code into the core theme files, I just have to decide if it will go live or require the user to modify the page.php file to activate.

    Thanks for the input!

  • In WordPress, there’s the “Allow readers to comment on this page” option that you can click (or not), when new pages are created. Maybe that’s what you meant by the comment going live? If so, I think that’s the best way.

    As a theme user, I suggest not having people modifiy the page.php code, no matter how easy it is! Too much potential for snafu’s. :-)
    .-= Laurie Pawlik-Kienlen´s last blog … How Freelancers, Nonfiction Writers, and Novelists Succeed =-.

  • @Laurie: The “option” you are referring to is a user controlled setting and not something I believe should be controlled via a theme.

    I also agree there is a much higher chance of a “snafu” if a user starts modifying the theme files. I have noticed a few installations of my themes that do not appear to display correctly, and most, as far as I can tell, are from user modifications. (Those that are not I try to get into the very next update I release.)

    My idea is to place the code (as described above) into the page.php file with an explicit code comment explaining to remove the code line, ONLY, if the user chooses not to use the Pages | Edit options when writing a new page or editing an existing page.

  • Paige says:

    Hi. Thank you for a great theme. I just found it today and love how clean it is (despite your title). :)

    I am a complete Newbie when it comes to setting up a website, so I have a couple of questions. If they are too complicated, no worries.

    If you look at my site I changed the ‘cup’ png to add an RSS logo. I changed the name to rsscup. Do you know how I can make that image clickable to my RSS feed? I know there is a line of code I can add, I just don’t know where to add it.

    Also, I have it checked in WordPress to show summaries of posts, yet in this theme it isn’t doing that. Is there something in the code that needs to be changed?

    Thank you so much for any help you can offer!

    Paige

  • Paige says:

    I think I got the summary situation handled. I added a plug-in: excerpt editor. However, I forgot to ask about one other thing. There is a widget that shows in the side bar, but I don’t have it enabled. It is the bottom one that shows the meta data. How do I get rid of that?
    .-= Paige´s last blog … 52 Teachers, 52 Lessons =-.

  • @Paige – thank you very much for your compliments and for choosing the Desk Mess Mirrored theme to use on your blog.

    I like what you did with the cup to personalize the theme, but I will have to look into how best to make the area “clickable” for your RSS feeds. The image itself is actually a “background”.

    One of the easiest ways to “get rid” of the Meta is to take the bottom widget you placed in “Sidebar 1″ and place it in “Sidebar 2″ (You may have to click on the tiny triangle on the right side of the Sidebar 2 widget title to open the placement area.)

  • Edward Caissie says:

    @Paige – I have a solution for you.
    (NB: Desk Mess Mirrored version 1.1.1 has just been uploaded and is awaiting approval.)

    If you wait for version 1.1.1 to go live and update your theme you will only need to edit one file and the style sheet; if you wish to wait you will need to modify two files and the style sheet.

    The files to edit are header.php and header-home.php (header-home.php will be redundant with version 1.1.1). Around line 43 you will find this code:

    <div id="cup"></div>

    Add inside the “cup” <div> your linking details, along the lines of this:

    <div id="cup"><a href="<?php bloginfo('rss2_url'); ? rel="nofollow">" title="<?php _e('Add this blog to any reader', 'desk-mess-mirrored'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rsscup.png" border="0" /></a></div>

    You should also add to the bottom of the style.css the following:
    #cup {background: none; }

  • Paige says:

    LOL. That’s what my husband always says. BTW he is a computer programmer and I keep telling him such and such should be so easy, right? LOL. Sorry to challenge. :)

    But I really appreciate your help. That you offer your theme, and you help, for free is amazing. And that you thought it took so long to respond? I thought it would take you days. I will wait for the new update and then add your solutions.

    Thanks again for the help!
    .-= Paige´s last blog … 52 Teachers, 52 Lessons =-.

  • @Paige – I’m more than happy to help, especially with what I like to refer to as “Five-Minute-Fixes” … it took longer for me to test the “code” properly than it did to locate my references and write it.

    Fortunately the good people that approve themes are very efficient; I would expect the approval to be live in a day … two at the most. You will see the update available in your dashboard’s Themes page (under Appearance) once it has been approved and released at WordPress.org

  • Paige says:

    Hi Edward,

    I updated to the new version tonight. I still see a header-home.php file. Should that be gone? I tried the code in the header.php file and got a “parse” error on line 42. I copied and pasted from what you sent me. Oh well, it’s all good. I love the theme. I even put my iPhone picture in there. :)

    Paige
    .-= Paige´s last blog … Google Rules The World! =-.

  • Edward Caissie says:

    @Paige – The header-home.php file is no longer used but is a valid template name file and can be tied into the home.php file, which is also no longer “used” by the theme. Both can be deleted. (Due to the constraints in the automatic theme update system of WordPress, it will not remove them; I will have to maintain them for a while but users will generally not see any effect whatsoever.)

    The”parse” error I can look into further. My test WordPress install appeared to work correctly but it may not match your site exactly …

    PS: I’ve sent you a modified version of the “header.php” file. I believe it will work “as is” in your installation of the Desk Mess Mirrored theme. EAC

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyright © 2009-2014 BuyNowShop All rights reserved.
This site is using the Custom Child-Theme, v1.0.3, on top of
the Parent-Theme Desk Mess Mirrored, v2.3, from BuyNowShop.com.