WordPress.org

Ready to get started?Download WordPress

Forums

New Theme - Tarski (29 posts)

  1. ceejayoz
    Member
    Posted 8 years ago #

    Demo, about, and download at: http://ionfish.co.uk/tarski/

    Enjoy!

  2. resiny
    Member
    Posted 8 years ago #

    wow. I really like it. looks highly customizeable and it's alm all white, so it feels really open. good job.

    the sidebar seems to be a bit short on stuff though (cats, links, etc.)

  3. sadish
    Member
    Posted 8 years ago #

    looks clean. havent tried it yet. will let you know.

    Good work !

  4. sadish
    Member
    Posted 8 years ago #

    when it is the first install, if the user doesnt go to the options page, just default it to one of the header images.
    dont leave it blank.

    for the navigation, do not hard code it to be /archives/ the user might have different settings. just take it from wp_list_pages. try my hemingway-bright or one-column for example.

    great looking theme. congrats on that.

  5. sadish
    Member
    Posted 8 years ago #

    Check this.

    Category Archive

    You are currently browsing the category archive for the 'Uncategorized' category.

    Fatal error: Call to undefined function is_tag() in \wordpress\wp-content\themes\tarski\loop.php on line 45

  6. ionfish
    Member
    Posted 8 years ago #

    Thanks for the heads-up, sadish; I'll check those problems out. Feedback is much appreciated.

  7. ceejayoz
    Member
    Posted 8 years ago #

    sadish, that one's my fault. We'll release a fix soon, however, if you want to fix it real quick:

    edit loop.php, line 45, to say:

    <?php if(function_exists("is_tag")) { if(is_tag()) { ?>

    and line 50 to say:

    <?php } } ?>

  8. ionfish
    Member
    Posted 8 years ago #

    We've just released version 1.0.1 which fixes the bugs found here, and adds some more plugin support.

  9. marke1
    Member
    Posted 8 years ago #

    on a clean install of WP, Tarski doesn't seem to want to display an archive page. I made an "Archives" page with slug of "archives" -- still no go.

    Why???

  10. marke1
    Member
    Posted 8 years ago #

    Found the archive problem: gotta apply the Archives template to the Archive page when creating it.

    Also, you might want to add a tiny blank header option for those of us who think it looks great without a header graphic... I had to hack that in myself.

  11. ionfish
    Member
    Posted 8 years ago #

    I'll talk to cj about the archives issue, we'll see if there's some way of resolving that without breaking WP.

    We'll add a blank header in the next release. Thanks for your input!

  12. marke1
    Member
    Posted 8 years ago #

    How do I make the tags page work? I have Ultimte Tag Warrior installed and your nav bar link works. But when I click on a tag in the list I get a 404 error. Why?

  13. marke1
    Member
    Posted 8 years ago #

    Should probably mention, I have the plugin set to rewrite the URLs to /tag/ etc. So maybe I need a mod_rewrite rule? If so, any idea what that rule would look like?

  14. marke1
    Member
    Posted 8 years ago #

    OK scratch that last issue about tags. Turns out my .htaccess file wasn't writeable because the plugin actually writes to it.

  15. alsoevso
    Member
    Posted 8 years ago #

    I'm working on this new issue with the most recent release:

    Fatal error: Call to undefined function: show_subscription_checkbox() in . . . allaboute.net/blog/wp-content/themes/tarski/comments.php on line 132

    Hrmm. Comes up at the bottom of the comments area and is not allowing new comments.

  16. alsoevso
    Member
    Posted 8 years ago #

    never mind - I took out this: <?php show_subscription_checkbox(); ?>

    and now they work fine. So whatever that is . . . doesn't work.

  17. ceejayoz
    Member
    Posted 8 years ago #

    Sorry, alsoevso, my mistake. That should be fixed now.

  18. marke1
    Member
    Posted 8 years ago #

    <?php show_subscription_checkbox(); ?>

    I had that error too, I think it was a missing "Subscribe to Comments" plugin. You should put checks in your template to see if a plugin function exists before calling it:

    if function_exists('function_name') {

  19. ionfish
    Member
    Posted 8 years ago #

    We do... just missed one out. :)

  20. marke1
    Member
    Posted 8 years ago #

    You'll need to tweak your template for the upcoming WP 2.0.2 because it changes the way Links are handled. The new Bookmarks interface is used. So what happens with your sidebar template is that post categories are listed along with link categories, and under the post category headings no items are listed. You can call get_links_list instead of using all of your sidebar the template code in that particular area.

    The workaround I made was to hack up a copy of get_links_list function (as seen in template-functions-bookmarks.php) to allow me to pass my own heading tags. I put this function (below) in a my-hacks.php file:

    function get_my_links_list($order = 'name', $heading_before='<h3>',$heading_after='</h3>',$item_before='<li>',$item_after='</li>') {

    $order = strtolower($order);

    // Handle link category sorting
    $direction = 'ASC';
    if (substr($order,0,1) == '_') {
    $direction = 'DESC';
    $order = substr($order,1);
    }

    if (!isset($direction)) $direction = '';

    $cats = get_categories("type=link&orderby=$order&order=$direction");

    // Display each category
    if ($cats) {
    foreach ($cats as $cat) {
    // Handle each category.

    // Display the category name
    echo $heading_before . $cat->cat_name . $heading_after . "\n\t";
    echo '<ul class="navlist" id="linkcat-' . $cat->cat_id . '">'
    get_links($cat->cat_ID, $item_before,$item_after,"\n");

    // Close the last category
    echo "nt</ul>n</li>\n";
    }
    }
    }

    And call it in the sidebar template like this, all vars included for simple example:

    <?php if(get_option('tarski_sidebar_links')) { // links block ?>

    <?php
    // first parm can be ID, name, count, or other wp_categories database field suffix
    get_my_links_list('ID','<h3>','</h3>','<li>','</li>');

    ?>

    Maybe I didn't need to do all that -- not sure. I haven't scoured the latest code to see. But at least your template works now with the latest nightly builds. If there's an easier way then to handle this then I'd apprecite any advice from people using the nightly builds.

  21. ceejayoz
    Member
    Posted 8 years ago #

    So 2.0.2 is going to break backwards compatibility for that bit of code? Interesting... I'll have to play around with a new install of WP and see it in action. Thanks for the info!

  22. marke1
    Member
    Posted 8 years ago #

    So 2.0.2 is going to break backwards compatibility for that bit of code? Interesting... I'll have to play around with a new install of WP and see it in action. Thanks for the info!

    In Tarski, he wrote his own code for processing links lists, so that's why it breaks. He needs to update the template for compatibility.

    As for 2.0.2 compatibility, it looks like many functions were deprecated (replaced with new ones) and all the deprecated functions are still available in deprecated.php, so 2.0.2 shouldn't break templates, in so far as I can tell.

  23. marke1
    Member
    Posted 8 years ago #

    ionfish: You could add to the Tarski header template this item for pingback URL:

    <link rel="pingback" href="<?php echo get_settings('home'); ?>/xmlrpc.php" />

  24. ceejayoz
    Member
    Posted 8 years ago #

    Good idea, marke1, thanks. We'll add that to the next release.

  25. ceejayoz
    Member
    Posted 8 years ago #

    We've released version 1.1 of Tarski, with some major changes including theme hooks, alternate CSS style support, and asides.

  26. sadish
    Member
    Posted 8 years ago #

    Good work. I especially like the way you made it easy to choose the asides category. I have a suggestion and a bug report.

    1)Suggestion :

    ABSPATH . '/wp-content/themes/' . get_template() is same as TEMPLATEPATH

    2)Bug :
    Header.php is hardcoding the links for archives and about pages.
    but in my windows installation, the links is "sitename/index.php/archives/" and not "sitename/archives"

    will let u know if i find any other issues.

  27. ionfish
    Member
    Posted 8 years ago #

    Thanks for pointing those out, will fix them for the next release. :)

  28. ceejayoz
    Member
    Posted 8 years ago #

    Just thought I'd mention that the choosing of the asides category is a nifty feature we picked up from K2. :-)

  29. ionfish
    Member
    Posted 8 years ago #

    Happy to say we've addressed the issues you raised, sadish, as well as a number of others. New features, styles and headers debut in our latest release.

Topic Closed

This topic has been closed to new replies.

About this Topic