Ondersteuning » Thema en CSS/opmaak » Probleem met Theme

  • Ik heb een klein probleempje met een WordPress theme.
    Far From Fearless, ik heb em hier vandaan gedownload:
    http://www.farfromfearless.com/archives/39
    Bij mij ziet het er zo uit:
    http://jortje538.maserver.nl/nieuw
    Er staat bij dat je wat hacks moet overschrijven in de map wp-includes maar die bestanden bestonden geeneens, dus heb ik de hacks er maar gewoon ingeplaatst.
    Sidebar.php ziet er zo uit:

    <?php 
    
    function getRecentPosts( $count, $offset ){
        $wp_output = '';
        $wp_sideposts = get_posts('numberposts=5&offset=0');  
    
        foreach ($wp_sideposts as $post){ 
    
            $wp_output .= '        <li>\r\n';
            $wp_output .= '            <a href="' . comments_link() . '" title="Read ' . the_title() . '">r\n';
            $wp_output .= '                <h3>' . the_title() . '</h3>r\n';
            $wp_output .= '                <p>' .  the_time('F j, Y') . '</p>r\n';
            $wp_output .= '                ' . the_excerpt_reloaded(18, '', 'excerpt', FALSE, '', FALSE, FALSE, TRUE) . 'r\n';
            $wp_output .= '            </a>r\n';
            $wp_output .= '        </li>r\n'; 
    
        } 
    
        return $wp_output;
    } 
    
    ?> 
    
                    <!-- Left Nav -->
                    <div id="leftnav"> 
    
                        <div id="recentposts">
                            <h2><img src="<?php bloginfo('template_url'); ?>/images/t_recentposts.gif" alt="Recent Posts" width="204" height="36" /></h2>
                            <ul>
                                <?php
                                    //getRecentPosts( 5, 0 );
                                    $wp_sideposts = get_posts('numberposts=10&offset=0');
                                    foreach ($wp_sideposts as $post) :
                                ?>
                                <?php if (in_category('4')) continue; // exclude the portfolio category ?>
                                <li>
                                    <a href="<?php comments_link(); ?>" title="Read <?php the_title() ?>">
                                        <h3><?php the_title(); ?></h3>
                                        <p><?php the_time('F j, Y'); ?></p>
                                        <?php the_excerpt_reloaded(18, '', 'excerpt', FALSE, '', FALSE, FALSE, TRUE); ?>
                                    </a>
                                </li>
                                <?php endforeach; ?>
                            </ul>
                        </div> 
    
                        <div id="currentprojects">
                            <h2><img src="<?php bloginfo('template_url'); ?>/images/t_recentcomments.gif" alt="Recent Comments" width="204" height="41" /></h2>
                            <ul>
                                <?php get_recent_comments(); ?>
                            </ul>
                            <h2><img src="<?php bloginfo('template_url'); ?>/images/t_misc.gif" alt="Miscellaneous" width="204" height="41" /></h2>
                            <ul>
                                <!-- ?php wp_register(); ? -->
                                <!-- li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li -->
                                <li><a href="http://gmpg.org/xfn/"><h3><abbr title="XHTML Friends Network">XFN</abbr></h3></a></li>
                                <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform."><h3>WordPress</h3></a></li>
                                <?php wp_meta(); ?>
                            </ul>
                        </div> 
    
                        <div id="feeds">
                            <img src="<?php bloginfo('template_url'); ?>/images/t_feeds.gif" alt="Feeds" width="204" height="41" />
                        </div> 
    
                    </div>

    Wat doe ik verkeerd?

3 reacties aan het bekijken - 1 tot 3 (van in totaal 3)
3 reacties aan het bekijken - 1 tot 3 (van in totaal 3)
  • Het onderwerp ‘Probleem met Theme’ is gesloten voor nieuwe reacties.