• 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:&nbsp;<a href='https://localhost/wordpress/2009/07/test-1-2-3.html' title='Test 1 2 3'>Test 1 2 3</a>&nbsp;(1 comment)</li>
    	<li>07/18:&nbsp;<a href='https://localhost/wordpress/2009/07/latex-test.html' title='LaTeX Test'>LaTeX Test</a>&nbsp;(0 comments)</li>
    	<li>07/18:&nbsp;<a href='https://localhost/wordpress/2009/07/feel-good-aquarium.html' title='“Feel good” aquarium'>“Feel good” aquarium</a>&nbsp;(0 comments)</li>
    	<li>07/11:&nbsp;<a href='https://localhost/wordpress/2009/07/hello-world.html' title='Hello world!'>Hello world!</a>&nbsp;(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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • get_option pulls all kinds of data from the wp_options table. In this case, I’m guessing that it’s pulling a setting for one of your theme options.

    When faced with a new function or tag that you’re not familiar with, just try plugging the tag/function name into the search box at the top right of this page. Nine times out of ten, you’ll find what you need on the first page of results.

    There is a jQuery problem there, you can temporarily remove display:none from ul style.

    Thread Starter Wouser

    (@wouser)

    Ok, I already did remove display:none from the ul style. And will just wait till you release the next update ??

    Ofcourse thanks for this great WP theme ^^

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blog template archive’ is closed to new replies.