Update: Just find out that the HTML header generate by this website have disable browser caching. Cannot believe how this is unnoticed by myself so far. Anyway, got the corrected by installing the W3 Total Cache plugin. This plugin other than optimizing the server side by creating static page cache. It also help control the HTML header generate with browser cache enable.
Just take the punch to change appearance of this website. I am not satisfied by the possibility of the main content of the website will overlap with the sidebar when the browser window is about less than 900 pixels wide. As most of my post is with large side photos, I decided to make the 2 column fixed width so the 2 columns will not overlap anymore.
Update:The gallery display pagination is cancel as I find navigating to different page is difficult.
In order to make my photo gallery look nice on mobile device, I have regenerated all thumbnails to 360×360 and limited the display of photo in gallery to only 1 column. The gallery display also paginated at 25 per page to make the page load time more manageable.
Thanks to the WordPress PDA & iPhone plugin by imthiaz, this blog is now friendly to mobile devices. To my delight, this plugin works well with language switcher plugin. That means, you could switch the language via the below link:
显示中文
The following is additional/change bit of code in the PHP widget that change the navigation icon of my photoblog from single thumbnail each for next and previous photo to 3 thumbnails each for next and previous direction. The change of the code to manipulate the $post variable to different post position relative to the current post (store in $currentpost variable so that the $post get back to the current post position after all the messing. It is the $post variable that is controlling both the previous_post_link and next_post_link functions. I have also changed the thumbnail size from 160×160 pixels to 120×60 pixels so that the 6 thubnails can be fitted in the sidebar with the need of scrolling.
(more…)
The display of nextgen gallery’s album page and simple tag plugin’s post tags and related posts function do not work well. For each album in the album page, simple tag will generated a list of post tags and related post list. To make the album page of nextgen looks cleaner with simple post plugin, I have to disable and manually add the post tags (st_the_tags()) and related post list (st_related_posts()) into the single.php in my theme:
<div class="storycontent">
<?php the_content(__('(more...)')); ?>
<?php st_related_posts(); ?> <?php st_the_tags(); ?> </div>