go41

Re: delete default bottom middle widget contents :: Reply by shelbypets

von Joern am 18. Mai. 2010 | Keine Kommentare

Still showing Most Commented. website
Here’s new code: (I think I’ve double checked this)(also 4:15 am here, going to bed, won’t be able to try new suggestion for several hours)
</div>
<div id="front-popular" class="clearfloat">
<div id="recentpost" class="clearfloat">

<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists(‚dynamic_sidebar‘) || !dynamic_sidebar(5) ) : ?>

<?php endif; ?></div>
<div id="mostcommented" class="clearfloat">
<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists(‚dynamic_sidebar‘) || !dynamic_sidebar(6) ) : ?>

<?php endif; ?>

</div>
<div id="recent_comments" class="clearfloat">

<?php if (function_exists(‚get_most_viewed‘)): ?>

<h3>Most Viewed</h3>

<?php get_most_viewed(‚post‘,5); ?>

<?php endif; ?>
<?php /* Widgetized sidebar, if you have the plugin installed. */ if ( !function_exists(‚dynamic_sidebar‘) || !dynamic_sidebar(7) ) : ?>

<?php endif; ?>

</div>

</div>
<div id="footer"> <?php wp_footer(); ?> Powered by WordPress | <?php if ( is_user_logged_in() ) { ?> <?php wp_register(“, “); ?> | <?php } ?> <?php wp_loginout(); ?> | ">Entries (RSS) | ">Comments (RSS) | Arthemia theme by Michael Hutagalung
<!– <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds. –>
</div>
</body>

</html>

(von: shelbypets)

Hier noch 4 weitere Ergebnisse dieses Threads:

delete default bottom middle widget contents

18. Mai. 2010 (von: shelbypets)

I don't want the bottom middle widget to be Most Comments, or whatever. I have an RSS feed in there now and that's what I want to show up. How can I delete the default widget? It's not showing up…

Re: delete default bottom middle widget contents :: Reply by Joern

18. Mai. 2010 (von: Joern)

in footer.php you are exactly at the right place to delete something.I show you here with explanation what does what:<div id="mostcommented" class="clearfloat"> HERE MIDDLE SECTION STARTSSTUFF BELOW SHOWS MOST COMMENTED POSTS<h3>Most Commented</h3><ul><?php $result = $wpdb->get_results("SELECT comment_count,ID,post_title FROM $wpdb->posts ORDER BY…

Re: delete default bottom middle widget contents :: Reply by Joern

18. Mai. 2010 (von: Joern)

I cant believe your sidebar.php looks like you show aboveThere is still<h3>Most Commented</h3><ul></ul>left I guessActually with the code left as you gave this should't come out..____________________you find me on Google+, Twitt... Weiterlesen →

Re: delete default bottom middle widget contents :: Reply by shelbypets

18. Mai. 2010 (von: shelbypets)

for whatever reason, it wouldn't save the delete of those fields. It finally did. Weird.Thank you for your help Joern! Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: