I felt that compact view, [ album=#,compact ], of the photo album is too cram, since the title of the album is long. In compact view, I can't see the description of the album. So I decided to switch the view of album to extended, [ album=#,extend ]. It is much better for long title album.
Since I already created a horizontal menu listing all my main pages, I want to remove the pages list from sidebar. The theme template file that need to edit is sidebar.php. I just need to remove this line, <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?> as shown below:
After removing the line, the sidebar.php will become:
On previous post, I edited the header.php for including horizontal menu on listing main pages on this site. The code is as below:
<div id="navmenu"> <ul> <li><a href="<?php echo get_settings('home'); ?>">Home</a></li> <li><a href="blog">Blog</a></li> <li><a href="Gallery">Gallery</a></li> <li><a href="about">About</a></li> </ul> </div>
Now, I want it to be dynamically list all the main pages on this site in horizontal menu. The way to do is using wp_list_pages(); template tag. With this, I don't have to manual edit the code if new page is added. Below are the new replacement code in header.php.
<div id="navmenu"> <ul> <?php wp_list_pages('depth=1&sort_column=menu_order&title_li='); ?> </ul> </div>
Today I decide to have a new page for each gallery in the album. It will be more user friendly. In order to do this, I have to make sure Deactivate gallery Page link is disable (unchecked) in Gallery > Options > Gallery > Gallery Settings section. Then I need to add title, title description and preview image on each gallery. It will create a new page for this gallery by clicking Add page button. Page Link to will show the page that just newly create.
I still could not find the solution on solving having 400 big images in NextGEN gallery. What I can do now is to split it to two different galleries. I will only put maximum 300 big images in a NextGEN gallery for now. Arranging 300 images is also not an easy job. I decided to have around 100 big images on each gallery.
I install another WordPress plugin. This time it is related to syntax highlighting. My blog will show code that I changed in the WordPress theme. With this plugin, the code will be easily see and understand.
That's the cause of inexperience blogger. I have to change all the <tt> tag to <code> tag, as <tt> tag is rarely used now. I'm facing some issue with "NextGEN Gallery". I couldn't edit gallery that have 400 pictures. I spend the whole day today to find the solution. No solution till now. I will not give up.
The easiest way is through site administration panel. Here are the steps below:
- Log in to WordPress using admin account.
- Go to Design > Theme Editor section.
- Choose the theme template file (on your right) that you want to edit and then click it.
- After finish editing, click Update File button.
- Log out from WordPress.