Und die Plugins? Hast Du die auch mal deaktiviert?
Das Stylesheet ändert sich nicht "einfach mal so" ;) Ansonsten wenn Du das Stylesheet noch lokal hast, einfach mal schauen, was online anders ist.
Beiträge von selle
-
-
Was habt ihr denn gestern gemacht? Vielleicht liegt es daran, wenn es so lange funktioniert hat, würde ich es mal zu einem früheren Zeitpunkt widerherstellen. WP hat doch die Funktion.
-
Die height Anweisung (height:220px) nimmt der FF sehr streng. Am besten Du machst einen Layer und setzt diesen auf auto.
-
Ich benutze keine Widgets.
Anbei der Code:
PHP
Alles anzeigen<div id="sidebar"><!-- Sidebar Start Here --> <div id="sidebar_in"> <?php $tc_ad_check = get_option('tc_ad_check'); if($tc_ad_check): ?> <div class="advertisment"> <a href="<?php $tc_ad1_link = get_option('tc_ad1_link'); echo stripslashes($tc_ad1_link); ?>" target="_blank"><img src="<?php $tc_ad1 = get_option('tc_ad1'); echo stripslashes($tc_ad1); ?>" alt="advertisment" /></a> <a href="<?php $tc_ad2_link = get_option('tc_ad2_link'); echo stripslashes($tc_ad2_link); ?>" target="_blank"><img src="<?php $tc_ad2 = get_option('tc_ad2'); echo stripslashes($tc_ad2); ?>" alt="advertisment" /></a> <a href="<?php $tc_ad3_link = get_option('tc_ad3_link'); echo stripslashes($tc_ad3_link); ?>" target="_blank"><img src="<?php $tc_ad3 = get_option('tc_ad3'); echo stripslashes($tc_ad3); ?>" alt="advertisment" /></a> <a href="<?php $tc_ad4_link = get_option('tc_ad4_link'); echo stripslashes($tc_ad4_link); ?>" target="_blank"><img src="<?php $tc_ad4 = get_option('tc_ad4'); echo stripslashes($tc_ad4); ?>" alt="advertisment" /></a> </div> <?php endif; ?> <?php global $user_ID, $user_identity, $user_level ?> <?php if ( $user_level >= 1 ) : ?> <div class="widget"> <h2>Navigation</h2> <ul> <?php wp_list_pages('sort_column=menu_order&title_li=&depth=1&exclude=17&depth=0'); ?> </ul> </div> <div class="widget"> <h2>Links</h2> <ul> <?php get_links(-1, '<li>', '</li>', ' - '); ?> </ul> </div> <div class="widget"> <h2>Admin Panel</h2> <ul> <li><a href="<?php bloginfo('url') ?>/wp-admin/themes.php?page=functions.php">Theme Settings</a></li> <li><a href="<?php bloginfo('url') ?>/wp-admin/">Go to dashboard</a></li> <li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">Make new post</a></li> <li><a href="<?php bloginfo('url') ?>/wp-admin/page-new.php">Make new page</a></li> <li><a href="<?php bloginfo('url') ?>/wp-admin/profile.php">View profile</a></li> <li><?php wp_loginout(); ?></li> </ul> </div> <?php endif // $user_level >= 1 ?> <?php $tc_feed_check = get_option('tc_feed_check'); if($tc_feed_check): ?> <div class="widget"> <div class="newsletter"> <h3>Subscribe to NewsLetter</h3> Get the latest updates via Email <br /> Service provided by FeedBurner <form id="subscribe_news" action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"> <p><input type="text" value="Enter your email address..." id="newsbox" onfocus="if (this.value == 'Enter your email address...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter your email address...';}" name="email"/> <input type="hidden" value="http://feeds.feedburner.com/~e?ffid=<?php $tc_feed = get_option('tc_feed'); echo $tc_feed; ?>" name="url"/> <input type="hidden" value="NewsLetter" name="title"/> <input type="submit" value="GO" id="newsbut" /></p></form> </div> </div> <?php endif; ?> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Article Sidebar') ) : else : ?> <div class="widget"> <h2>Recent Posts</h2> <ul> <?php get_archives('postbypost', 10); ?> </ul> </div> <div class="widget"> <h2>Categories</h2> <ul> <?php wp_list_categories('sort_column=name&title_li='); ?> </ul> </div> <div class="widget"> <h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://www.wordpress.org/" target="_blank">WordPress</a></li> <?php wp_meta(); ?> <li><a href="http://validator.w3.org/check?uri=referer" target="_blank">XHTML</a></li> </ul> </div> <?php endif; ?> </div> </div><!-- Sidebar End Here --> -
Also ich habe das Problem, dass ich die erstellten Seiten nur in der Sidebar sehe, wenn ich eingeloggt bin. Was läuft da falsch?
http://www.adrenalin-investors.com
Sobald ich mich abmelde, sehe ich die Seiten in der Sidebar nicht mehr :? -
Hallo zusammen,
benötige einen kleinen Shop und hab mir schon einige angeschaut. Das eShop-Plugin sieht ganz gut aus. Bevor ich aber nun einige teste, wollte ich hier mal nachfragen ob jemand damit Erfahrungen hat bzw. welchesd am ehesten zu empfehlen ist. Bin für jeden Tipp dankbar ;)
-
Hallo, anbei der Code (feature.php)
PHP
Alles anzeigen<?php /*$my_query = new WP_Query('category_id='.$featured_catid.'&showposts=1'); ?> <?php if (is_null($_GET['s'])): while ($my_query->have_posts()) : $my_query->the_post();*/ ?> <?php /* query_posts('category_id='.$featured_catid.'&showposts=1'); ?> <?php while (have_posts()) : the_post();*/ ?> <?php $temp_query = $wp_query; ?> <!-- Do stuff... --> <?php query_posts('category_id='.$featured_catid.'&showposts=1'); ?> <?php while (have_posts()) : the_post(); ?> <div id="featured"> <div class="meta"> <p class="title">News</p> <p class="date"><?php the_time('F j, Y'); ?></p> <div class="clear"></div> </div> <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3> <div> <p class="tags"><?php if (function_exists('the_tags')): if (get_the_tags()): the_tags(); else: echo "No tags"; endif; else: echo "No tags"; endif; ?> </p> <p class="comments"><?php comments_popup_link(__('0 Comments'), __('1 Comment'), __('% Comments')); ?></p> <div class="clear"></div> </div> <div class="text"> <?php the_content(__('<span class="more">Read more...</span>','')); ?> </div> </div> <?php endwhile; //endif;?> <?php $wp_query = $temp_query; ?>Und hier der, der index.php
PHP
Alles anzeigen<?php get_header(); ?> <div id="contentwrap"> <div id="content"> <?php rewind_posts(); ?> <?php include (TEMPLATEPATH . '/featured.php'); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php if (in_category($featured_catid)): ?> <?php else:?> <div class="post" id="post-<?php the_ID(); ?>"> <h3><a href="<?php the_permalink() ?>"> <?php the_title(); ?> </a></h3> <p class="meta"> <?php the_time('F j, Y'); ?> in <?php the_category(',') ?> </p> <div class="text"> <?php the_excerpt(); ?> <p class="more"><a href="<?php the_permalink() ?>">Mehr ...</a></p> </div> </div> <?php comments_template(); // Get wp-comments.php template ?> <?php endif; ?> <?php endwhile; else: ?> <p style="text-align:center;"> <?php _e('Sorry, no posts matched your criteria.'); ?> </p> <?php endif; ?> <p style="text-align:center;"> <?php posts_nav_link(' - ', __('« Zurück '), __(' Vor »')); ?> </p> </div> <div id="sidebar"> <?php get_sidebar(); ?> </div> <div class="clear"></div> </div> <?php get_footer(); ?>Und zuletzt evt. sinnvoll functions.php
PHP
Alles anzeigen<?php $featured_catid = "42"; /*ID of featured category*/ if ( function_exists('register_sidebar') ) register_sidebars(1, array( 'before_widget' => '<div class="widget">', 'after_widget' => '</div>', 'before_title' => '<h4>', 'after_title' => '</h4>', )); if ( function_exists('register_sidebar') ) register_sidebars(2, array( 'before_widget' => '<div class="widget">', 'after_widget' => '</div>', 'before_title' => '<h4>', 'after_title' => '</h4>', )); function get_featured_tags ($id) { global $wpdb, $tablecomments, $tableposts; $request = "SELECT ID, comment_ID, comment_content, comment_author FROM $tableposts, $tablecomments WHERE $tableposts.ID=$tablecomments.comment_post_ID AND (post_status = 'publish' OR post_status = 'static')"; } function u_get_recent_comments($no_comments = 5, $before = '<li>', $after = '</li>', $show_pass_post = false) { global $wpdb, $tablecomments, $tableposts; $request = "SELECT ID, comment_ID, comment_content, comment_author FROM $tableposts, $tablecomments WHERE $tableposts.ID=$tablecomments.comment_post_ID AND (post_status = 'publish' OR post_status = 'static')"; if(!$show_pass_post) { $request .= "AND post_password ='' "; } $request .= "AND comment_approved = '1' ORDER BY $tablecomments.comment_date DESC LIMIT $no_comments"; $comments = $wpdb->get_results($request); $output = ''; foreach ($comments as $comment) { $comment_author = stripslashes($comment->comment_author); $comment_content = strip_tags($comment->comment_content); $comment_content = stripslashes($comment_content); $comment_excerpt =substr($comment_content,0,35); $comment_excerpt = u_utf8_trim($comment_excerpt); $permalink = get_permalink($comment->ID)."#comment-".$comment->comment_ID; $output .= $before . '<a href="' . $permalink . '" title="View the entire comment by ' . $comment_author . '"><strong>' . $comment_author . '</strong>: ' . $comment_excerpt . '...</a> ' . $after; } echo $output; } function u_utf8_trim($str) { $len = strlen($str); for ($i=strlen($str)-1; $i>=0; $i-=1){ $hex .= ' '.ord($str[$i]); $ch = ord($str[$i]); if (($ch & 128)==0) return(substr($str,0,$i)); if (($ch & 192)==192) return(substr($str,0,$i)); } return($str.$hex); } function tag_cloud(){ } ?> -
Hallo zusammen,
auf meiner Seite soll eigentlich immer nur der aktuellste Artikel aus der featured Kategorie (ID=42) angezeigt werden. Dies habe ich auch entsprechend angepasst. Jedoch nimmt er mir den letzten Post auch in die "Featured-Box" hinein und ich weiss nicht warum.
Bin dieser Anleitung gefolgt:ZitatFeatured post - you will need to make new category, for instance "Featured" and put the featured post in it, then take the ID of category (you can see it in Manage->Categories) and open the functions.php - change the number in the first line.
Anbei mein Link
-
Wow,
gleich 2 Ansätze. Danke Euch beiden... ;)
-
Speicher doch das Video als swf ab und lade es hoch. So mache ich es.
-
Das Plugin muss natürlich im richtigen Ordner liegen (meine-seite.com/blog/plugin-ordner) und die Domain muss auch auf den Unterordner (/blog) verweisen. Die Meldung erhalte ich zwar auch, sie ist aber lediglich ein Hinweis.
-
Hallo zusammen,
gibt es eine Möglichkeit mit dem Adsense Deluxe Plugin die Werbung für bestimmte Artikel auszuschließen? Habe schon in den Einstellungen gesucht und nichts gefunden.
Gruss -
Sorry für den Titel, aber ich versuche seit VIER Stunden ein einfaches swf-File einzubinden aber ich erhalte nur eine leere Seite. Habe schon einige Plugins getestet aber keinen Erfolg damit gehabt. Gibt es eine iditotensichere Methode?
-
-
So werde ich das auch tun. Danke für den tipp ;) Ich kann mir das auch nicht erklären, deshalb abwarten und Tee trinken...
-
Also ich habe mal eben bei meiner wp 2.6 ein theme hochgeladen und es funktioniert alles normal. Du kannst mal davon ausgehen, dass irgendetwas an der installation falsch ist oder du das falsche verzeichnis hast. Wenn du mir deine zugangsdaten per pm schickst kann ich gerne mal schauen...
-
Versuch doch mal ein anderes Theme und schau was passiert...So kann man das vielleicht eingrenzen.
-
Hallo,
seit heute erhalte ich Fehler im Webmastertool angezeigt, obwohl ich die Einstellungen nicht geändert habe. Folgende Fehlermeldung:
PHP
Alles anzeigen11 Ungültige URL Dies ist keine gültige URL. Korrigieren Sie die URL und reichen Sie die Daten erneut ein. Hilfe [IMG]https://www.google.com/webmasters/tools/js/2757448062-question_mark.gif[/IMG] URL: Übergeordnetes Tag: Tag: Gefunden: channel link 24.07.2008 [IMG]https://www.google.com/webmasters/tools/images/warning_soft.gif[/IMG] 14 Ungültiges Datum Es wurde ein ungültiges Datum gefunden. Berichtigen Sie bitte das Datum bzw. dessen Formatierung, bevor Sie Ihre Daten erneut einreichen. Hilfe [IMG]https://www.google.com/webmasters/tools/js/2757448062-question_mark.gif[/IMG] Übergeordnetes Tag: Tag: Wert: Gefunden: channel pubDate Mon, 21 Jul 2008 15:30:10 +0000 24.07.2008 [IMG]https://www.google.com/webmasters/tools/images/warning_soft.gif[/IMG] 12 Ungültige XML: Zu viele Tags Zu viele Tags beschreiben dieses Tag. Beheben Sie bitte das Problem und reichen Sie die Daten erneut ein. Hilfe [IMG]https://www.google.com/webmasters/tools/js/2757448062-question_mark.gif[/IMG] Übergeordnetes Tag: Tag: Gefunden: channel link 24.07.2008 [IMG]https://www.google.com/webmasters/tools/images/warning_soft.gif[/IMG] 11 Ungültiges XML-Attribut Das XML-Attribut dieses Tags wurde nicht erkannt. Beheben Sie bitte das Problem und reichen Sie die Daten erneut ein. Hilfe [IMG]https://www.google.com/webmasters/tools/js/2757448062-question_mark.gif[/IMG] Tag: Attribute: Gefunden: link type 24.07.2008 [IMG]https://www.google.com/webmasters/tools/images/warning_soft.gif[/IMG] 11 Ungültiges XML-Attribut Das XML-Attribut dieses Tags wurde nicht erkannt. Beheben Sie bitte das Problem und reichen Sie die Daten erneut ein. Hilfe [IMG]https://www.google.com/webmasters/tools/js/2757448062-question_mark.gif[/IMG] Tag: Attribute: Gefunden: link rel 24.07.2008 [IMG]https://www.google.com/webmasters/tools/images/warning_soft.gif[/IMG] 11 Ungültiges XML-Attribut Das XML-Attribut dieses Tags wurde nicht erkannt. Beheben Sie bitte das Problem und reichen Sie die Daten erneut ein. Hilfe [IMG]https://www.google.com/webmasters/tools/js/2757448062-question_mark.gif[/IMG] Tag: Attribute: Gefunden: link href 24.07.2008Kann mir jemand helfen?
-
Hast Du vorher das Theme entpackt, bevor Du es hochgeladen hast?
-