Reflection theme extended v1.1.1

WordPress Photo blog theme, fixed and extended to support the lastest WordPress and Mootools release.

When I started to use WordPress for personal blogging – essentially for fun – I found a really nice and plain theme for photo: The Reflection theme. Ouahhh…same as falling in love at the first sight :D

This theme, is not only elegant, but easy to use. Associated with the TPB plugin, it allows any users to add and manage personnal photos at breaze.

I pulled up my socks and made changes within the code to adapt theme to my wishes. Here are all the changes I’ve made through.

Code fixing

  • Open short tag replaced
  • All open short tag have been replaced with full tag (standard form)
    <? xxx ?> –> <?php xxx; ?>
    <?=xxxx?>  –> <?php echo xxx; ?>
  • Reorder SQL statements
    Mostly for readability purposes, and maintenance.
  • Rewrite <a href> dynamic clauses
    To have a proper formatting under (php) text editor, the delimiter “, initially within ‘if blocks’, has moved outside.
  • blog.js, browser.js: bug fixing on panels srolling, code improvements.
  • Code reorganization (new directory structure)
    All Ajax stubs are put together.
    CSS is splitted, and match the page hierarchy.
    global code reorganization.
  • Archives.php
    Add the get_header() standard call.
    Image overflow bug corrected (conflict with browse-load.gif).
  • Header.php
    Javascript object initialization (occured for blog.js and browser.js).
  • page.php “templated” for all usage.
  • Support of WordPress 2.9.2, Mootools-Core 1.2.4 and Mootools-More 1.2.4.4
  • Tested on WampServer 2.0i
  • Code correction to pass the HTML Validator!

Features changed

  • Change Overlay panels usage (on both Home and Single pages)
    The change occurs inside index.php, I like to activate the scrollable panels upon both home and single pages.

New Features

  • Keyboard support
    You can navigate with keys, open or close panels and advance or return to shots. See ‘About’ page for all keys.
  • Dynamic comments content
    Comments are loaded thru AJAX, and displayed as a scollable panel. Like notes and exif panels.
  • Optional Register and Login pages (Activation through the theme admin page)
    You can add to the upper menu, a link for Register and a direct link for login. Usefull if you want to open your blog for registration, and if you often change you blog configuration.
  • Add tags and Taxinomy Categories. With the admin theme panel, you can select the following combination:
    → Year
    → Year + Tag
    → Year + Categories
    → Year + Tag + Categories
  • Keep track of selected page, append a bold underline segment under page title (CSS+index.php).
  • Footer
    The footer now details all sub-components and their release. It includes both post and comments feeds, and include the new copyright URL field.

So, you can download the modified theme here: Reflection Theme Extended (285), and see it in action there.

Popularity: 5% [?]

Related posts:

  1. WordPress theme: Arras 1.3.3c
  2. WordPress theme: Arras 1.3.3d
  3. blog installation
  4. WordPress theme: Notepad Chaos 1.2
  5. WordPress theme: Notepad Chaos 1.1

About Jean-Michel Paris

Posts Author & Blog Administator