Es ist dringend, kann nicht mal jemand helfen :confused:
Beiträge von Levsen
-
-
Hallo ich habe PNG Smilies anstatt GIF smilies, kann mir jemand sagen in welcher datei ich das GIF zu PNG ändern muss damit wordpress die PNG smilies verwendet ?
vars.php sieht so aus
PHP
Alles anzeigen<?php /** * Creates common globals for the rest of WordPress * * Sets $pagenow global which is the current page. Checks * for the browser to set which one is currently being used. * * Detects which user environment WordPress is being used on. * Only attempts to check for Apache and IIS. Two web servers * with known permalink capability. * * @package WordPress */ // On which page are we ? if ( is_admin() ) { // wp-admin pages are checked more carefully preg_match('#/wp-admin/?(.*?)$#i', $PHP_SELF, $self_matches); $pagenow = $self_matches[1]; $pagenow = preg_replace('#\?.*?$#', '', $pagenow); if ( '' === $pagenow || 'index' === $pagenow || 'index.php' === $pagenow ) { $pagenow = 'index.php'; } else { preg_match('#(.*?)(/|$)#', $pagenow, $self_matches); $pagenow = strtolower($self_matches[1]); if ( '.php' !== substr($pagenow, -4, 4) ) $pagenow .= '.php'; // for Options +Multiviews: /wp-admin/themes/index.php (themes.php is queried) } } else { if ( preg_match('#([^/]+\.php)([?/].*?)?$#i', $PHP_SELF, $self_matches) ) $pagenow = strtolower($self_matches[1]); else $pagenow = 'index.php'; } // Simple browser detection $is_lynx = $is_gecko = $is_winIE = $is_macIE = $is_opera = $is_NS4 = $is_safari = false; if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lynx') !== false) { $is_lynx = true; } elseif ( strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'webkit') !== false ) { $is_safari = true; } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'Gecko') !== false) { $is_gecko = true; } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Win') !== false) { $is_winIE = true; } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Mac') !== false) { $is_macIE = true; } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'Opera') !== false) { $is_opera = true; } elseif (strpos($_SERVER['HTTP_USER_AGENT'], 'Nav') !== false && strpos($_SERVER['HTTP_USER_AGENT'], 'Mozilla/4.') !== false) { $is_NS4 = true; } $is_IE = ( $is_macIE || $is_winIE ); // Server detection /** * Whether the server software is Apache or something else * @global bool $is_apache */ $is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false; /** * Whether the server software is IIS or something else * @global bool $is_IIS */ $is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false; ?> -
Vielen Dank es funktioniert nun Zero Blog- Ein weiteres tolles WordPress-Blog
Was würde ich bloß ohne euch machen ^^
-
Exclude Lösung
PHP
Alles anzeigen<h3> <?php _e('Nachrichten'); ?> </h3> <ul class="list"> <?php wp_list_categories('exclude=1,5,6,7,8,9,10,11'); ?> </ul> <h3> <?php _e('Downloads'); ?> </h3> <ul class="list"> <?php wp_list_categories('exclude=1,3,4,8,9,10,11'); ?> </ul> <h3> <?php _e('Tutorials'); ?> </h3> <ul class="list"> <?php wp_list_categories('exclude=1,3,4,5,6,7'); ?> </ul>Include Lösung
PHP
Alles anzeigen<h3> <?php _e('Nachrichten'); ?> </h3> <ul class="list"> <?php wp_list_categories('include=3,4'); ?> </ul> <h3> <?php _e('Downloads'); ?> </h3> <ul class="list"> <?php wp_list_categories('include=5,6,7'); ?> </ul> <h3> <?php _e('Tutorials'); ?> </h3> <ul class="list"> <?php wp_list_categories('include=8,9,10,11'); ?> </ul>Leider funktioniert nichts
Zero Blog- Ein weiteres tolles WordPress-Blog hier mal der link damit ihr seht was ich meine
-
Widgets nutze ich nicht, sachen änder ich immer in denn PHP Dateien danke dann muss ich mal schauen
So habs mit exclude gemacht nun ist alles richtig ausser das es jetzt so dasteht
Nachrichten [Ist der Boxname]
- Kategorien [Sollte garnicht in der Box stehen]
- Kategorien [Sollte garnicht in der Box stehen]
-
Hallo ich würde gerne meine Kategorien anderes gestalten als sonst.
Ich möchte 3 Boxen und jede Box hat ne überschrift in meinem Fall... Nachrichten, Downloads und Tutorials
Nun soll das mit denn kategorien so aussehen.
ZitatAlles anzeigenNachrichten
- Scene
- WeltweitDownloads
- Linux
- Mac OS X
- WindowsTutorials
- HTML und CSS
- PHP und SQL
- Web und Grafikdesign
- One-Klick-HosterDie sachen mit dem - sollen die kategorien in denn boxen sein und Nachrichten ,Downloads und Tutorials sind ja die Box überschriften.
Hier der link und dort seht ihr auch die 3 Boxen
http://z3r0-day.bplaced.de/Ich hoffe ihr versteht was ich meine.
Vielne Dank
-
Guten Tag ich habe was in einem Blog gesehen und wüsste gerne wie ich das mache.
Solche Untermenüs
http://www5.picfront.org/picture/KAo2GLN6O2/img/Screen.pngWie mache ich das ???
Vielen Dank
-
Guten Tag
Ich suche ein Plugin womit ich Beitrags Vorlagen erstllen kann.
Kennt jemand so etwas ???
-
es war 1 widget aktiv.
Und mit denn ID das macht mir nie Probleme wenn mehr drin sind als einer
-
Hallo mein Exclude funtz net ich weiß net warum, und ich habe 5 Boxen in die Sidebar eingebaut aber ich sehe nur eine.
sidebar.php
PHP
Alles anzeigen<div class="dbx-group" id="sidebar-left"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?> <!--sidebox start --> <div id="categories" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Kategorien'); ?></h3> <div class="dbx-content"> <ul> <?php wp_list_cats('exclude=3,4,5,6,7,8,9,10,11,12&sort_c olumn=name&optioncount=0&hierarchical=0'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="categories" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Wallpaper'); ?></h3> <div class="dbx-content"> <ul> <?php wp_list_cats('exclude=1&sort_c olumn=name&optioncount=0&hierarchical=0'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="categories" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Icons'); ?></h3> <div class="dbx-content"> <ul> <?php wp_list_cats('exclude=3,4,5,6,7,8,9,10,11,12&sort_c olumn=name&optioncount=0&hierarchical=0'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="categories" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Avatare'); ?></h3> <div class="dbx-content"> <ul> <?php wp_list_cats('exclude=3,4,5,6,7,8,9,10,11,12&sort_c olumn=name&optioncount=0&hierarchical=0'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="categories" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Software'); ?></h3> <div class="dbx-content"> <ul> <?php wp_list_cats('exclude=3,4,5,6,7,8,9,10,11,12&sort_c olumn=name&optioncount=0&hierarchical=0'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="archives" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Archives'); ?></h3> <div class="dbx-content"> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </div> </div> <!--sidebox end --> <?php endif; ?> </div><!--/sidebar-left -->Hoffe ihr könnt helfen
-
nein so ein textbox widget
man kann Textboxen ja als widgets auswählen
-
hallo ich nutze keine widgets mache alles über code hab auch net mehr soviel probleme aber wie mache ich eine textbox ohne widgets zu nutzen in die sidebar-left.php
Vielen Dank
-
aber du kannst doch alle widgets wegmachen und alles in die sidebar.php eintragen das funtz super
-
wenn du mehre boxen willst und auch immer verschieden links in denn beiden boxen musst du ohne widgets arbeiten.
Tue mal alle widgets raus und schaue dann nochmal.
-
ok hier
PHP
Alles anzeigen<div id="links"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('left menu') ) : else : ?> <?php if (function_exists('wp_theme_switcher')) { ?> <li><h2><?php _e('Themes','nature'); ?></h2> <?php wp_theme_switcher(); ?> </li> <?php } ?> <li><h2><?php _e('Pages','nature'); ?></h2> <ul> <?php wp_list_pages('sort_column=menu_order&depth=-1&title_li=');?> </ul> </li> <li> <h2><?php _e('Categories','Kategorie 1'); ?></h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2> <?php _e('Categories','Kategorie 3'); ?> </h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2> <?php _e('Categories','Kategorie 2'); ?> </h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2><?php _e('Archives','nature'); ?></h2> <ul> <?php wp_get_archives('type=monthly&limit=12'); ?> </ul> </li> <?php endif; ?> </ul> </div><!--Ende linke Seite--> <div id="rechts"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('right menu') ) : else : ?> <li> <h2><?php _e('Search','nature'); ?></h2> <ul> <li> <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div> <input type="text" name="s" id="s" size="15" value="<?php echo wp_specialchars($s, 1); ?>" /> <input type="submit" value="<?php _e('Search'); ?>" /> </div> </form> </li> <?php if ( is_404() || is_category() || function_exists('is_tag') && is_tag() || is_day() || is_month() || is_year() || is_search() || is_paged() ) { ?> <li> <?php if (is_404()) { ?><li> <?php } elseif (is_category()) { ?> <?php _e('<p>You are currently browsing the blog archives for the category','nature'); ?> ‘<?php single_cat_title(''); ?>’.</p> <?php } elseif ( function_exists('is_tag') && is_tag()) { ?> <?php _e('<p>You are currently browsing the blog archives for the tag','nature'); ?> ‘<?php single_tag_title(''); ?>’.</p> <?php } elseif (is_day()) { ?> <?php _e('<p>You are currently browsing the blog archives for the day','nature'); ?> <?php the_time('l,'); ?> <?php the_time('j. F Y'); ?>.</p> <?php } elseif (is_month()) { ?> <?php _e('<p>You are currently browsing the blog archives for the month','nature'); ?> <?php the_time('F Y'); ?>.</p> <?php } elseif (is_year()) { ?> <?php _e('<p>You are currently browsing the blog archives for the year','nature'); ?> <?php the_time('Y'); ?>.</p> <?php } elseif (is_search()) { ?> <?php _e('<p>you have searched the','nature'); ?> <?php bloginfo('name'); ?> <?php _e('for','nature'); ?> ‘ <?php if (function_exists ('the_search_query')) { the_search_query(); } else { echo wp_specialchars($s); } ?>’.</p> <?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <?php _e('<p>You are currently browsing for the archive','nature'); ?> <?php echo get_settings('name'); ?>.</p> <?php } ?> </li> <?php }?> </ul> </li> <li> <h2><?php _e('Syndication','nature'); ?></h2> <ul> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS','nature'); ?>"> <?php _e('Posts','nature'); ?> (RSS)</a></li> </ul> </li> <li> <h2><?php _e('Calendar','nature'); ?></h2> <ul> <li><?php get_calendar(); ?></li> </ul> </li> <li> <h2><?php _e('Meta','nature'); ?></h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Strict','nature'); ?>">Valid XHTML</a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">Wordpress.org</abbr></a></li> <?php wp_meta(); ?> </ul> </li> <?php if ( function_exists('wp_tag_cloud') ) : ?> <li> <h2><?php _e('Tag Cloud','nature'); ?></h2> <ul> <li><?php wp_tag_cloud('smallest=8&largest=18'); ?></li> </ul> </li> <?php endif; ?> <?php if (function_exists('wp_list_bookmarks')) { wp_list_bookmarks(); } else { get_links_list(); } ?> <?php endif; ?> </ul> </div><!--Ende rechte Spalte-->musst dann per exlude schauen welche seiten du wo haben willst und welche nicht
-
poste mal deine sidebar.php
-
Mach ma so
[COLOR=#000000] <div class="dbx-group" id="sidebar">
[COLOR=#0000CC]<?php [/COLOR][COLOR=#006600]if ( ![/COLOR][COLOR=#0000CC]function_exists[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'dynamic_sidebar'[/COLOR][COLOR=#006600]) || ![/COLOR][COLOR=#0000CC]dynamic_sidebar[/COLOR][COLOR=#006600]() ) : [/COLOR][COLOR=#0000CC]?>
[/COLOR]
<!--sidebox start -->
<div id="categories" class="dbx-box">
<h3 class="dbx-handle">[COLOR=#0000CC]<?php _e[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'Categories'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]</h3>
<div class="dbx-content">
<ul>
[COLOR=#0000CC]<?php wp_list_cats[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'sort_column=name&optioncount=1&hiera rchical=0'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>
[/COLOR] </ul>
</div>
</div>
<!--sidebox end -->
<!--sidebox start -->
<div id="archives" class="dbx-box">
<h3 class="dbx-handle">[COLOR=#0000CC]<?php _e[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'Archives'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]</h3>
<div class="dbx-content">
<ul>
[COLOR=#0000CC]<?php wp_get_archives[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'type=monthly'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>
[/COLOR] </ul>
</div>
</div>
<!--sidebox end -->
<!--sidebox start -->
<div id="links-1" class="dbx-box">
<h3 class="dbx-handle">[COLOR=#0000CC]<?php _e[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'Links Box 1'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]</h3>
<div class="dbx-content">
<ul>
[COLOR=#0000CC]<?php get_links[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'-1'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'<li>'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'</li>'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'<br />'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'id'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600], -[/COLOR][COLOR=#0000CC]1[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>
[/COLOR] </ul>
</div>
</div>
<!--sidebox end --><!--sidebox start -->
<div id="links-2" class="dbx-box">
<h3 class="dbx-handle">[COLOR=#0000CC]<?php _e[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'Links Box 2'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]</h3>
<div class="dbx-content">
<ul>
[COLOR=#0000CC]<?php get_links[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'-1'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'<li>'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'</li>'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'<br />'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600], [/COLOR][COLOR=#CC0000]'id'[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600], -[/COLOR][COLOR=#0000CC]1[/COLOR][COLOR=#006600], [/COLOR][COLOR=#0000CC]FALSE[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>
[/COLOR] </ul>
</div>
</div>
<!--sidebox end -->
<!--sidebox start -->
<div id="meta" class="dbx-box">
<h3 class="dbx-handle">Meta</h3>
<div class="dbx-content">
<ul>
<li class="rss"><a href="[COLOR=#0000CC]<?php bloginfo[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'rss2_url'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]">Entries (RSS)</a></li>
<li class="rss"><a href="[COLOR=#0000CC]<?php bloginfo[/COLOR][COLOR=#006600]([/COLOR][COLOR=#CC0000]'comments_rss2_url'[/COLOR][COLOR=#006600]); [/COLOR][COLOR=#0000CC]?>[/COLOR]">Comments (RSS)</a></li>
<li class="wordpress"><a href="http://www.wordpress.org" title="Powered by WordPress">WordPress</a></li>
<li class="login">[COLOR=#0000CC]<?php wp_loginout[/COLOR][COLOR=#006600](); [/COLOR][COLOR=#0000CC]?>[/COLOR]</li>
</ul>
</div>
</div>
<!--sidebox end -->
[COLOR=#0000CC]<?php [/COLOR][COLOR=#006600]endif; [/COLOR][COLOR=#0000CC]?>
[/COLOR]
</div><!--/sidebar -->[/COLOR] -
also sidebars musste so machen wenn du du noch ne 2te Box willst mit Links hat zumindest bei mir gefuntz
PHP
Alles anzeigen<div class="dbx-group" id="sidebar"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?> <!--sidebox start --> <div id="categories" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Categories'); ?></h3> <div class="dbx-content"> <ul> <?php wp_list_cats('sort_column=name&optioncount=1&hiera rchical=0'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="archives" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Archives'); ?></h3> <div class="dbx-content"> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="links" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Links'); ?></h3> <div class="dbx-content"> <ul> <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="links" class="dbx-box"> <h3 class="dbx-handle"><?php _e('Links'); ?></h3> <div class="dbx-content"> <ul> <?php get_links('-1', '<li>', '</li>', '<br />', FALSE, 'id', FALSE, FALSE, -1, FALSE); ?> </ul> </div> </div> <!--sidebox end --> <!--sidebox start --> <div id="meta" class="dbx-box"> <h3 class="dbx-handle">Meta</h3> <div class="dbx-content"> <ul> <li class="rss"><a href="<?php bloginfo('rss2_url'); ?>">Entries (RSS)</a></li> <li class="rss"><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments (RSS)</a></li> <li class="wordpress"><a href="http://www.wordpress.org" title="Powered by WordPress">WordPress</a></li> <li class="login"><?php wp_loginout(); ?></li> </ul> </div> </div> <!--sidebox end --> <?php endif; ?> </div><!--/sidebar -->und dann bissle mit exclude rumspielen
-
ich habe mir mal erlaubt das Ajax Plugin ins Deutsche zu übersetzten
Download:
RapidShare: 1-Click Webhosting -
Hallo ich habe mir Sidebar Login geladen und möchte es einbauen es ist aktiv und ich muss nun wissen wie ich es einbaue da ich keine widgets nutze sonder alles über denn code mache in der sidebar.php.
Weiß jemand wie das geht?