Blog template archive
-
Well the blog archive template is not really working… because when I use it you see the archive and you get for example….
JULY 2009 (4 posts)
You then see that the link is clickable but when you click it nothing happens where you expected to come some content be visible. When I checked the code I saw that the following code line is responsible for the created html…
$output = get_option(‘hfy_archives_’.$lastpost);
I only however do not now what get_option function does etc… I’ve no experience with the wordpresscodex (yet).
Anyway the function generates the following html
<h2><a title="Archive" href="https://localhost/wordpress/archive" rel="bookmark">Archive</a></h2> <h2 style="text-transform:uppercase;cursor:pointer;font-size:16px;"><a onclick="$('.hide').slideUp();$('#july2009').slideDown();">July 2009<span style='font-size:12px;'> (4 posts )</span></a></h2><ul id='july2009' class='hide' style='list-style-type:none;display:none;'> <li>07/19: <a href='https://localhost/wordpress/2009/07/test-1-2-3.html' title='Test 1 2 3'>Test 1 2 3</a> (1 comment)</li> <li>07/18: <a href='https://localhost/wordpress/2009/07/latex-test.html' title='LaTeX Test'>LaTeX Test</a> (0 comments)</li> <li>07/18: <a href='https://localhost/wordpress/2009/07/feel-good-aquarium.html' title='“Feel good” aquarium'>“Feel good” aquarium</a> (0 comments)</li> <li>07/11: <a href='https://localhost/wordpress/2009/07/hello-world.html' title='Hello world!'>Hello world!</a> (2 comments)</li> </ul>
As visible there is some ajax behind it but I’m guessing it’s not working correctly…
I’m using the latest version of chrome, I also tested with firefox 3.5 also not working.
- The topic ‘Blog template archive’ is closed to new replies.