super, danke :-P
Beiträge von el_timbo
-
-
Hallo,
es geht um diese Internetseite: Das Projekt : Kinderhaus-Mvimwa
Version 2.5.1., Theme: Pmode 1.0 von Rash
In der Sidebar habe ich über ein "Text"-Widget einen Text angezeigt.Ich möchte jetzt die Textfarbe ändern da sie schlecht lesbar ist.
HTML-Code funktioniert scheinbar in dem Widget nicht (oder gibt es da einen Trick?), und in der Style.css finde ich nicht die Stelle für die Textfarbe.
Kann mir jemand einen Hinweis geben?
Hier die Style.css
CSS
Alles anzeigen/* Theme Name: Pmode Theme URI: http://www.paggu.com/ Description: 2 column fixed width wordpress theme Version: 1.0 Author: Rash Author URI: http://www.paggu.com/ */ /* standard elements */ * { margin: 0; padding: 0; } a { color: #cc3333; } a:hover { color: #C60; } body { color: #543; font: normal 63.5% "Lucida Sans Unicode",sans-serif; background:#987F56; } input { color: #555; font: normal 1.1em "Lucida Sans Unicode",sans-serif; } p,cite,code,ul { font-size: 1.2em; padding-bottom: 1.2em; } h1 { font: normal 19px 'Trebuchet MS', Tahoma, Sans-serif; margin-bottom: 4px; } code { background: #FFE; border: 1px solid #EED; border-left: 6px solid #938262; color: #554; display: block; font: normal 1.1em "Lucida Sans Unicode",serif; margin-bottom: 12px; padding: 8px 10px; white-space: pre; } blockquote { background: url(images/quote.gif) no-repeat; color: #eee; display: block; font: normal .9em "Lucida Sans Unicode",serif; padding-left: 28px; } h1,h2,h3 { color: #654; padding-top: 6px; } /* form elements */ form { margin:10px; padding: 0; border: 1px solid #f2f2f2; background-color: #FAFAFA; } label { display:block; font-weight:bold; margin:5px 0; } input { padding: 2px; border:1px solid #eee; font: normal 1em "Trebuchet MS", Tahoma, sans-serif; color:#777; } textarea { width:400px; padding:2px; font: normal 1em "Trebuchet MS", Tahoma, sans-serif; border:1px solid #eee; height:100px; display:block; color:#777; } input.button { margin: 0; font: bold 1em Arial, Sans-serif; border: 1px solid #CCC; background: #FFF; padding: 2px 3px; color: #333; } /* search form */ .searchform { background-color: transparent; border: none; margin: 0; padding: 0; } .searchform p { margin: 10px; padding: 0; } .searchform input.textbox { width: 130px; color: #333; height: 20px; padding: 2px; vertical-align: top; } .searchform input.button { font: bold 12px Arial, Sans-serif; color: #333; width: 60px; height: 26px; border: none; padding: 3px 5px; vertical-align: top; } /* misc */ .clearer { clear: both; } /* structure */ .container { background: #fff url(images/body-bbg1.jpg) repeat-y; margin: 0 auto; width: 950px; } /* header */ .header { height: 250px; margin: 0 auto; width: 930px; background:url(images/head1.jpg) repeat-x top; } .header ul { float:right; font: bolder 1.3em 'Trebuchet MS', sans-serif; color: #FFF; list-style: none; margin: 10px; padding: 0; } .header li { display: inline; } .header li a { float: left; display: block; padding: 3px 12px; color: #FFF; text-decoration: none; border-right: 1px solid #272727; } .header li a:hover { background: #7e2e1c; color: #FFF; } .header li a#current { background: #7e2e1c; color: #FFF; } /* title */ .header .title { padding: 12px 32px 32px 20px; } .header .title h1 { color: #E4DBCF; font: normal 2.4em verdana, "Lucida Sans Unicode","Trebuchet MS",sans-serif; margin:0px 0px 5px 0px; height:4px; } .title h1 a{ color: #fff; text-decoration:none; } /* navigation */ .navigation { font: 1.1em Verdana,sans-serif; height: 166px; margin: 0px 0 0 7px; padding: 7px 7px; width: 900px; background:#fff url(images/image_bar.jpg) no-repeat center; } .navigation a { color: #ffcc00; text-decoration: none; padding: 3px 4px; margin-right: 12px; line-height: 44px; } .navigation a:hover { color: #ccffff; } .navigation_top { display: block; text-align: center; margin-top: 5px; margin-bottom: 5px; font: 11px Verdana,sans-serif; } .align-left { text-align: left; } .align-right { text-align: right; } /* main */ .main { clear: both; padding: 0 10px 12px 28px; } /* sub navigation */ .sidenav { float: left; width: 215px; margin-left:24px; } * html .sidenav { float: left; width: 215px; margin-left:3px; padding-left:10px; } .sidenav h1 { border-bottom: 1px dashed #B79E9F; color: #cc7777; font:normal 16px "Trebuchet MS", Arial, Helvetica, sans-serif; letter-spacing:.5px; height: 22px; margin: 0px 0 0 0; padding-left: 2px; } .sidenav ul { margin: 0; padding: 0 0px 20px 0px; } .sidenav li { border-bottom: 1px solid #988080; border-top: 1px solid #444; list-style: none; display: block; padding:2px 0 2px 0; font: normal .9em "Lucida Sans Unicode",serif; color:#eee; } .sidenav li a { color: #bbb; padding: 4px; text-decoration: none; } .sidenav li a:hover { color: #eee; } .sidenav ul ul{ margin: 5px 0 0 10px; } .sidenav ul ul li{ margin: 3px 0 0; padding: 0; font: normal .9em "Lucida Sans Unicode",serif; } .divider{ height:8px; background:#fff; width:113%; margin-left:-15px; } * html .divider{ height:8px; background:#fff; width:111%; } /* content */ .content { padding-top: 12px; float: left; width: 69%; margin:0 10px 0 10px; } .content h1{ color:#cc0000; border-bottom: 1px solid #eee; padding-bottom:5px; } .content h1 a{ text-decoration:none; } .content .descr { color: #555; font-size: 1.1em; margin:9px 0 12px 0; } .content .foot { color: #555; font-size: 1.1em; margin:9px 0 22px 0; background:#eee; padding:5px; } .content .foot a{ text-decoration:none; } .content .foot .dat{ display:inline; background:url(images/cal.gif) no-repeat 0px 0px; padding:0px 0px 0px 20px; margin:0px; } .content .foot .com{ display:inline; background:url(images/com.gif) no-repeat 0px 0px; padding:0px 0px 0px 20px; margin:0px 0px 0px 20px; } .content li { list-style: url(images/arrow2.gif); margin-left: 25px; color:#444; padding:5px 0px 5px 0px; font:normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif; } .content p { color:#555; } /* footer */ .footer { background: url(images/footer_bg.gif) repeat-x; color: #FED; font-size: 1.1em; line-height: 40px; margin: 0 auto; text-align: center; width: 930px; padding:10px 0 0 0; } .footer a { color: #FFD; text-decoration: none; } .footer a:hover { color: #FFF; text-decoration: underline; } /* comments */ .alt { background-color:#fff !important; border: 1px dashed #ccc !important; padding: 10px 10px 0 10px !important; } .commentlist { padding: 0; margin: 0; } .commentlist li { background-color:#eee; list-style: none; padding: 10px 10px 0 10px; border: 1px dashed #ccc; margin: 10px; color: #3C452D; overflow:hidden; } .commentmetadata { font-weight: normal; } .comment_author a:visited { font-weight: bold; text-decoration: none; } .befirst { padding: 0 !important; text-align:center; color:#CDCDCD; font-weight:bold; } .post { background: url('images/comment.gif') left center no-repeat; padding-left: 20px; margin: 0 10px 0 5px; font: normal 11px "Trebuchet MS", Tahoma, sans-serif; } /* Calendar */ #wp-calendar { text-align:center; background-color:#fff; margin:0; } #wp-calendar td { height:24px; width:24px; line-height:20px; background-image:url(images/day.png); background-repeat:no-repeat; background-position:center; font-size:11px; color:#4f4f35; } #wp-calendar td a { display:block; width:24px; height:24px; color:#fff; text-decoration:none; background-image:url(images/linkday.png); background-position:center; line-height:24px; background-repeat:no-repeat; } #wp-calendar #prev a { width:49px; background-image:url(images/linkday2.png); background-position:center; } #wp-calendar #next a { width:49px; background-image:url(images/linkday2.png); background-position:center; margin:0 0 0 30px; } #wp-calendar #today { background-image:url(images/today.png); background-position:center; color:#fff; background-repeat:no-repeat; } #wp-calendar #today a { background-image:url(images/today.png); background-position:center; color:#fff; font-weight:700; background-repeat:no-repeat; } #wp-calendar caption,#wp-calendar th { font-size:11px; } #wp-calendar .pad,#wp-calendar #prev,#wp-calendar #next { background-image:url(images/do.png); } #wp-calendar td a{color:white; font-weight: bold;} -
Irgendwie klappts nicht...
Ich habs mir zwei Varianten Anführungsstrichen versucht. So:
PHP
Alles anzeigen<h1><?php _e('Tags'); ?></h1> <ul> <?php if (function_exists('wp_list_categories')) wp_list_categories('title_li=&show_count=1'); else wp_list_cats('optioncount=1'); ?> <li><a href="http://www.tischfussball-events.de/?page_id=30">Links</a></li> </ul> <div class="divider"></div>
und so: -
-
super, dankeschön. :-D
Mit den Anführungsstrichen probier ich etwas rum.
-
Noch eine anderen Frage zur Sidebar dieses Themes:
Ich möchte gerne noch einen Permalink in der Sidebar unter "Inside" (das sind die Post-Kategorien) einfügen. Geht das?
PHP<h1><?php _e('Tags'); ?></h1> <ul> <?php if (function_exists('wp_list_categories')) wp_list_categories('title_li=&show_count=1'); else wp_list_cats('optioncount=1'); ?> </ul>Irgendwor dort rein müsste denke ich das hier:
Ich hab schon etwas probiert, leider ohne Erfolg.
Kann mir jemand einen Tip geben wie das geht? -
Das hier ist die Style.css
PHP
Alles anzeigen/* Theme Name: Pmode Theme URI: http://www.paggu.com/ Description: 2 column fixed width wordpress theme Version: 1.0 Author: Rash Author URI: http://www.paggu.com/ */ /* standard elements */ * { margin: 0; padding: 0; } a { color: #cc3333; } a:hover { color: #C60; } body { color: #543; font: normal 63.5% "Lucida Sans Unicode",sans-serif; background:#987F56; } input { color: #555; font: normal 1.1em "Lucida Sans Unicode",sans-serif; } p,cite,code,ul { font-size: 1.2em; padding-bottom: 1.2em; } h1 { font: normal 19px 'Trebuchet MS', Tahoma, Sans-serif; margin-bottom: 4px; } code { background: #FFE; border: 1px solid #EED; border-left: 6px solid #938262; color: #554; display: block; font: normal 1.1em "Lucida Sans Unicode",serif; margin-bottom: 12px; padding: 8px 10px; white-space: pre; } blockquote { background: url(images/quote.gif) no-repeat; color: #eee; display: block; font: normal .9em "Lucida Sans Unicode",serif; padding-left: 28px; } h1,h2,h3 { color: #654; padding-top: 6px; } /* form elements */ form { margin:10px; padding: 0; border: 1px solid #f2f2f2; background-color: #FAFAFA; } label { display:block; font-weight:bold; margin:5px 0; } input { padding: 2px; border:1px solid #eee; font: normal 1em "Trebuchet MS", Tahoma, sans-serif; color:#777; } textarea { width:400px; padding:2px; font: normal 1em "Trebuchet MS", Tahoma, sans-serif; border:1px solid #eee; height:100px; display:block; color:#777; } input.button { margin: 0; font: bold 1em Arial, Sans-serif; border: 1px solid #CCC; background: #FFF; padding: 2px 3px; color: #333; } /* search form */ .searchform { background-color: transparent; border: none; margin: 0; padding: 0; } .searchform p { margin: 10px; padding: 0; } .searchform input.textbox { width: 130px; color: #333; height: 20px; padding: 2px; vertical-align: top; } .searchform input.button { font: bold 12px Arial, Sans-serif; color: #333; width: 60px; height: 26px; border: none; padding: 3px 5px; vertical-align: top; } /* misc */ .clearer { clear: both; } /* structure */ .container { background: #fff url(images/body-bbg1.jpg) repeat-y; margin: 0 auto; width: 950px; } /* header */ .header { height: 250px; margin: 0 auto; width: 930px; background:url(images/head1.jpg) repeat-x top; } .header ul { float:right; font: bolder 1.3em 'Trebuchet MS', sans-serif; color: #FFF; list-style: none; margin: 10px; padding: 0; } .header li { display: inline; } .header li a { float: left; display: block; padding: 3px 12px; color: #FFF; text-decoration: none; border-right: 1px solid #272727; } .header li a:hover { background: #7e2e1c; color: #FFF; } .header li a#current { background: #7e2e1c; color: #FFF; } /* title */ .header .title { padding: 12px 32px 32px 20px; } .header .title h1 { color: #E4DBCF; font: normal 2.4em verdana, "Lucida Sans Unicode","Trebuchet MS",sans-serif; margin:0px 0px 5px 0px; height:4px; } .title h1 a{ color: #fff; text-decoration:none; } /* navigation */ .navigation { font: 1.1em Verdana,sans-serif; height: 166px; margin: 0px 0 0 7px; padding: 7px 7px; width: 900px; background:#fff url(images/image_bar.jpg) no-repeat center; } .navigation a { color: #ffcc00; text-decoration: none; padding: 3px 4px; margin-right: 12px; line-height: 44px; } .navigation a:hover { color: #ccffff; } .navigation_top { display: block; text-align: center; margin-top: 5px; margin-bottom: 5px; font: 11px Verdana,sans-serif; } .align-left { text-align: left; } .align-right { text-align: right; } /* main */ .main { clear: both; padding: 0 10px 12px 28px; } /* sub navigation */ .sidenav { float: left; width: 215px; margin-left:24px; } * html .sidenav { float: left; width: 215px; margin-left:3px; padding-left:10px; } .sidenav h1 { border-bottom: 1px dashed #B79E9F; color: #cc7777; font:normal 16px "Trebuchet MS", Arial, Helvetica, sans-serif; letter-spacing:.5px; height: 22px; margin: 0px 0 0 0; padding-left: 2px; } .sidenav ul { margin: 0; padding: 0 0px 20px 0px; } .sidenav li { border-bottom: 1px solid #988080; border-top: 1px solid #444; list-style: none; display: block; padding:2px 0 2px 0; font: normal .9em "Lucida Sans Unicode",serif; color:#eee; } .sidenav li a { color: #bbb; padding: 4px; text-decoration: none; } .sidenav li a:hover { color: #eee; } .sidenav ul ul{ margin: 5px 0 0 10px; } .sidenav ul ul li{ margin: 3px 0 0; padding: 0; font: normal .9em "Lucida Sans Unicode",serif; } .divider{ height:8px; background:#fff; width:113%; margin-left:-15px; } * html .divider{ height:8px; background:#fff; width:111%; } /* content */ .content { padding-top: 12px; float: left; width: 69%; margin:0 10px 0 10px; } .content h1{ color:#cc0000; border-bottom: 1px solid #eee; padding-bottom:5px; } .content h1 a{ text-decoration:none; } .content .descr { color: #555; font-size: 1.1em; margin:9px 0 12px 0; } .content .foot { color: #555; font-size: 1.1em; margin:9px 0 22px 0; background:#eee; padding:5px; } .content .foot a{ text-decoration:none; } .content .foot .dat{ display:inline; background:url(images/cal.gif) no-repeat 0px 0px; padding:0px 0px 0px 20px; margin:0px; } .content .foot .com{ display:inline; background:url(images/com.gif) no-repeat 0px 0px; padding:0px 0px 0px 20px; margin:0px 0px 0px 20px; } .content li { list-style: url(images/arrow2.gif); margin-left: 25px; color:#444; padding:5px 0px 5px 0px; font:normal 12px "Trebuchet MS", Arial, Helvetica, sans-serif; } .content p { color:#555; } /* footer */ .footer { background: url(images/footer_bg.gif) repeat-x; color: #FED; font-size: 1.1em; line-height: 40px; margin: 0 auto; text-align: center; width: 930px; padding:10px 0 0 0; } .footer a { color: #FFD; text-decoration: none; } .footer a:hover { color: #FFF; text-decoration: underline; } /* comments */ .alt { background-color:#fff !important; border: 1px dashed #ccc !important; padding: 10px 10px 0 10px !important; } .commentlist { padding: 0; margin: 0; } .commentlist li { background-color:#eee; list-style: none; padding: 10px 10px 0 10px; border: 1px dashed #ccc; margin: 10px; color: #3C452D; overflow:hidden; } .commentmetadata { font-weight: normal; } .comment_author a:visited { font-weight: bold; text-decoration: none; } .befirst { padding: 0 !important; text-align:center; color:#CDCDCD; font-weight:bold; } .post { background: url('images/comment.gif') left center no-repeat; padding-left: 20px; margin: 0 10px 0 5px; font: normal 11px "Trebuchet MS", Tahoma, sans-serif; } /* Calendar */ #wp-calendar { text-align:center; background-color:#fff; margin:0; } #wp-calendar td { height:24px; width:24px; line-height:20px; background-image:url(images/day.png); background-repeat:no-repeat; background-position:center; font-size:11px; color:#4f4f35; } #wp-calendar td a { display:block; width:24px; height:24px; color:#fff; text-decoration:none; background-image:url(images/linkday.png); background-position:center; line-height:24px; background-repeat:no-repeat; } #wp-calendar #prev a { width:49px; background-image:url(images/linkday2.png); background-position:center; } #wp-calendar #next a { width:49px; background-image:url(images/linkday2.png); background-position:center; margin:0 0 0 30px; } #wp-calendar #today { background-image:url(images/today.png); background-position:center; color:#fff; background-repeat:no-repeat; } #wp-calendar #today a { background-image:url(images/today.png); background-position:center; color:#fff; font-weight:700; background-repeat:no-repeat; } #wp-calendar caption,#wp-calendar th { font-size:11px; } #wp-calendar .pad,#wp-calendar #prev,#wp-calendar #next { background-image:url(images/do.png); } #wp-calendar td a{color:white; font-weight: bold;}
Gruß
Timm -
Hallo,
ich habe eine Frage zum "pmode"-Layout:
Es geht um diese Seite: Home : Tischfussball Events
In der Sidebar sind die letzten Posts ("letzte Events") aufgeführt.
Bei den Überschriften der Posts wird jeweils die erste Zeile etwas eingerutscht. Ich finde leider nicht die Stelle in den diversen php-Dateien wo ich das ändern kann.
Kann mir jemand weiter helfen?Das hier ist die Sidebar.php
PHP
Alles anzeigen<div class="sidenav"> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?> <h1>Recent Enteries</h1> <ul> <?php query_posts('showposts=5'); ?> <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent link to'); ?> <?php the_title(); ?>"><?php the_title(); ?></a> - <?php the_time('m-d-Y') ?></small></li> <?php endwhile;?> </ul> <div class="divider"></div> <h1><?php _e('Archives'); ?></h1> <ul><?php wp_get_archives('type=monthly&show_post_count=true'); ?></ul> <div class="divider"></div> <h1><?php _e('Tags'); ?></h1> <ul> <?php if (function_exists('wp_list_categories')) wp_list_categories('title_li=&show_count=1'); else wp_list_cats('optioncount=1'); ?> </ul> <div class="divider"></div> <h1><?php _e('Pages'); ?></h1> <ul><?php wp_list_pages('title_li=' ); ?></ul> <div class="divider"></div> <h1><?php _e('Feed on RSS'); ?></h1> <ul class="feeds"> <li> <a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Posts Feed'); ?>"><?php _e('Posts Feed'); ?></a> </li> <li> <a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('Posts Feed'); ?>"><?php _e('Comments Feed'); ?></a> </li> </ul> <div class="divider"></div> <h1><?php _e('Meta'); ?></h1> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <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/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?php wp_meta(); ?> </ul> <div class="divider"></div> <?php endif; ?> </div><!-- end id:sidebar --> <div class="clearer"><span></span></div> </div> -
gibts zu dem Thema noch eine Idee? Bei mir ist der Wysiwyg-Editor nämlich auch nicht zugänglich und die beschriebenen Lösungsvorschläge bringen keine Veränderung :confused:
-
bei mir hatte das auch erst nicht funktioniert.
Es lag wohl daran, dass ich eine Sortierungsnummer doppelt hatte. Als ich alle Seiten nochmal neu durchnumeriert hatte und alle Seitennummern nur einmal vorkamen gings -
kann man Seiten denn überhaupt kommentieren?
Ich hatte das Problem auch weil ich eine Art Gästebuch mit der Kommentarfunktion machen wollte. Ich hab dann halt einen Beitrag auf der entsprechenden Seite geschrieben und der kann dann kommentiert werden. -
so hats geklappt, herzlichen Dank :-D
-
Hallo,
danke der vielen Tips hier aus dem Forum komme ich inzwischen einigermaßen mit WP zurecht.
Eine Frage habe ich noch zur Navigation.
Es geht um diese Seite: über uns at Sicherheitstechnik und MetallbauIn der Sidebar habe ich einen Link zu einer externen Seite eingebaut. Das geht ja sehr einfach mit dem entsprechenden HTML-Tag "ahref..."
Kann ich diesen Link auch in die vertikale Navigation im Header einbauen?
Die entsprechende Zeile müsste die hier sein:Ich hab schon versucht einfach mit & den Link wie in der Sidebar einzugeben, geht aber nicht.
Hat jemand einen Tip?
Gruß
Timm -
Hallo,
ich habe das Problem auch. Bei mir kommt die Fehlermeldung, wenn ich beim Seiten schreiben / editieren auf den Button "myGaleryBrowser" drücke:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16896 bytes) in /mnt/am1/06/020/00000006/htdocs/wordpress/wp-includes/registration.php on line 56
Ich habe den Speicher schon (wegen der Fehlermeldung bei der deutschen Sprachdatei) auf 16MB erhöht. Ich habe jetzt (wegen dem mygalery-Fehler) versucht auf 24 MB zu erhöhen, bringt aber keine Verbesserung.
Kann das noch was anderes sein?Gruß
Timm -
Kann man das denn nicht einfach in den Einstellungen so auswählen?
Soweit ich mich erinnere gibt es doch eine Checkbox für "User müssen sich registrieren" o.ä. Wenn Du das nicht aktivierst kann doch jeder ohne registrierung schreiben.
Zumindest für Komentare funktioniert es auf diese Art.
Gruß
Timm -
-
was anderes:
ZitatThe Network from Tomorrow
wenn mich meine Englischkenntnisse nicht täuschen, heisst es doch "of tomorrow" und nicht "from", oder? -
Hallo zusammen,
2. Die Konfigurtaions-Datei "wp-config.php" ist eine simple Textdatei, die unverschlüsselt den Usernamen und das Kennwort zur mySQL-Datenbank beinhaltet. Woe kann ich diese Daten vor Dritten schützen ?
An die Datei kommt man aber doch von aussen nicht drann, es sei denn man hat den entsprechenden FTP-Zugang, oder?
Über den Browser sollte man sie zumindest nicht aufrufen können -
aber ich habe auch keine Ideen mehr, weil es bei vielen so funktioniert :neutral:
lgich weiss zwar nicht was ich jetzt anders gemacht habe, aber jetzt gehts :-)
Vielen Dank nochmal
Timm
-
Hallo, erstmal VIELEN DANKE für die Mühe die Du Dir machst, sehr nett :-D
Die Seite ist übrigens von meinem Vater, nicht von mir. Wenn Du mir rauchen aufhören willst macht er Dir bestimmt ein Sonderangebot ;-)
Leider funktioniert es noch nicht.
Du hast recht, ich habe nur "Seiten" in dem Blog, als Seite für Posts habe ich die "Gästebuch"-Seite fest gelegt und da einen einzelnen Post gemacht der dann von den Besuchern der Seite quasie als Gästebuch kommentiert werden kann.
Das Theme hat die beiden Dateien index.php und page.php.
Inhalt der index.php:PHP
Alles anzeigen<?php get_header(); ?> <div id="content" class="narrowcolumn"> <?php if (function_exists('dynamic_sidebar')): ?> <ul class="inline-widgets"> <?php dynamic_sidebar('Mandigo Top'); ?> </ul> <?php endif; ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="postinfo"> <div class="calborder"> <div class="cal"> <span class="cald<?php echo (get_option('mandigo_dates') ? ' cald2' : '') ?>"><?php the_time((get_option('mandigo_dates') ? 'M' : 'd')) ?></span> <span class="calm"><?php the_time((get_option('mandigo_dates') ? 'd' : 'm')) ?></span> <span class="caly"><?php the_time('Y') ?></span> </div> </div> <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s','mandigo'),the_title('','',false)); ?>"><?php the_title(); ?></a></h2> <small><?php printf(__('Posted by: %s in %s','mandigo'),get_the_author(),get_the_category_list(', ')) ?><?php edit_post_link('<img src="' . get_bloginfo('stylesheet_directory') . '/images/'. get_option('mandigo_scheme') .'/edit.gif" alt="'. __('Edit this post','mandigo') .'" /> '. __('Edit','mandigo'), ' - ', ''); ?> </small> </div> <div class="entry"> <?php the_content(__('Read the rest of this entry','mandigo') .' »'); ?> </div> <p class="postmetadata"><img src="<?=get_bloginfo('stylesheet_directory')?>/images/<?=get_option('mandigo_scheme')?>/comments.gif" alt="Comments" /> <?php comments_popup_link(__('No Comments','mandigo'). ' »', __('1 Comment','mandigo'). ' »', __('% Comments','mandigo'). ' »'); ?></p> </div> <?php endwhile; ?> <?php $prev = next_posts_link('« '. __('Previous Entries','mandigo')); $next = previous_posts_link(__('Next Entries','mandigo') .' »'); if ($prev || $next): ?> <div class="navigation"> <div class="alignleft"><?php next_posts_link('« '. __('Previous Entries','mandigo')) ?></div> <div class="alignright"><?php previous_posts_link(__('Next Entries','mandigo') .' »') ?></div> </div> <?php endif; ?> <?php else : ?> <h2 class="center"><?=__('Not Found','mandigo')?></h2> <p class="center"><?=__('Sorry, but you are looking for something that isn\'t here.','mandigo')?></p> <?php endif; ?> <?php if (function_exists('dynamic_sidebar')): ?> <ul class="inline-widgets"> <?php dynamic_sidebar('Mandigo Bottom'); ?> </ul> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Inhalt der page.php
PHP
Alles anzeigen<?php get_header(); ?> <div id="content" class="narrowcolumn"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">'. __('Read the rest of this page','mandigo') .' »</p>'); ?> <?php link_pages('<p><strong>'. __('Pages','mandigo') .':</strong> ', '</p>', 'number'); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link(__('Edit this page','mandigo'), '<p>', '</p>'); ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Ich hab das vor Dir beschriebene Vorgehen mit beiden Dateien versucht, leider ohne Erfolg.
Hast Du noch irgendeinen Tip?Danke nochmal,
Timm