ich benutze dafür benutzerdefinierte Felder
Beiträge von freudenhaus
-
-
ich benutze dafür benutzerdefinierte Felder
-
andere Idee:
wenn ich das ganze doch mit PW geschützen Seiten mache.
ich würde ein Formular einbauen, quasi fast das Suchformular.
mal durchgespielt.
jemand registriert sich: Herr Klopp
ich lege eine seite an: kloppmeine navigation lege ich so an, dass der seitenname einfach angehängt wird.
also: http://meineseite/klopp
und dann muss er sein PW eingeben.
wie kann ich denn das Formular umbauen, dass es in der Adressleite: http://meineseite/klopp auswirft wenn er klopp eingibt.
bisher komme ich beim Suchformular nur bis http://meineseite/?=klopp
also ?= müsste irgendwie weg, fände ich auch Super
-
Hallo Freunde,
ich möchte gerne eine Art interner Bereich bauen. Das ganze soll folgendermaßen ablaufen, zumindest stelle ich mir das so vor:
jemand kann sich registrieren, zb. über ein Kontaktformular, und ich habe dann die Möglichkeit für den speziellen User einen internen Bereich, also einfach einen Passwortgeschützen bereich anzulegen.
dann irgendwie ein Loginfeld in der Sidebar, und die User werden mit Ihren Daten direkt auf Ihre persönliche Seite weitergeleitet.
in dem soll er aktuelle Änderungen sehen können, die nur Ihn betreffen.
wie würdet Ihr das machen? einfach eine neue Seite anlegen und die mit Passwort schützen ist mir irgendwie zu billig
-
ja, bitte das währe unglaublich nett. Ich finde dazu nixxe
-
also,
ich nutze zur NAvigation die Sidebar und das Plugin NAVIGO um Unterseiten bei Klick anzuzeigen (collapsing tree)
wenn ich eine normale seite schreibe, also als Template: page.php (der zweite code den ich postete), werden die Unterseiten dazu ganz normal angezeigt etwa so
Hauptseite
Unterseite 1
Unterseite 2
Unterseite 3
andere Hauptseitenutze ich aber meine eigenes Seitentemplate (der erste Code den ich postete) werden die Unterseiten (child of) nicht angezeigt. also so:
Hauptseite
andere Hauptseite -
Hallo,
ich habe mir für einen Bereich meines Themes eine Templateseite angelegt. Wo halt nur Artikel aus einer bestimmten Kategorie angezeigt werden.
PHP
Alles anzeigen<?php /* Template Name: Produkte */ ?> <?php get_header(); ?> <?php // this is where you enter the ID of the category you want to display $display_categories = array(14); foreach ($display_categories as $category) { ?> <?php query_posts("showposts=10&cat=$category"); ?> <h3>unsere Produkte</h3> <?php while (have_posts()) : the_post(); ?> <?php // this grabs the image filename $values = get_post_custom_values("bild"); // this checks to see if an image file exists if (isset($values[0])) { ?> <?php } ?> <a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a><br /><img src="<?php bloginfo('url'); ?>/wp-content/uploads/<?php $values = get_post_custom_values("bild"); echo $values[0]; ?>" alt="" width="100px" align="right"/> <?php the_excerpt() ; ?> <?php wp_link_pages('before=<p><strong>Pages:</strong>&after=</p>&next_or_number=number&pagelink=%'); ?> <?php endwhile; ?> <?php } ?> <?php get_sidebar(); ?> <?php get_footer(); ?>wenn ich zu dieser Seite Unterseiten anlegen möchte dann werden diese nicht angezeigt. Hat jemand eine Idee warum und wie ich das ändern kann. Denn bei normalen Seiten werden die Unterseiten angezeigt.
hier der Code für norm. Seiten
PHP
Alles anzeigen<?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1><?php the_title(); ?></h1> <?php edit_post_link('Bearbeiten', '<p class="small">', '</p>'); ?> <?php the_content('Read the rest of this entry...'); ?> <?php wp_link_pages('before=<p><strong>Pages:</strong>&after=</p>&next_or_number=number&pagelink=%'); ?> <?php endwhile; endif; ?> <?php get_sidebar(); ?> <?php get_footer(); ?> -
Danke marX
wenn es dich nicht gäbe...
-
Hallo Blogger,
ich möchte folgendes Einrichten:
Auf der Startseite soll immer nur der letzte Beitrag angezeigt werden, aber wenn ich die Suchfunktion benutze sollen mehrere Ergebnise untereinander angezeigt werden.Wie geht das
-
Hallo,
ich benutze das Plugin Navigo und möchte Seiten von der Navigation ausschliessen. Mit exclude=23,24,25 funzt das aber nicht.
-
Hallo,
Klingt jetzt nach Kinderkram, vermute ich mal.
Ich möchte auf jeder Seite und Unterseite ein spezielles Bild einblenden, im Seitenbereich.
Wie muss ich den PHP Code formulieren, habe da nicht so die Ahnung von.
Irgendwie so halt
PHPif <?php bloginfo('home'); ?>/?page_id=12 { <img src"bild1"> } if <?php bloginfo('home'); ?>/?page_id=13 { <img src"bild2"> } if <?php bloginfo('home'); ?>/?page_id=14 { <img src"bild1"> }Wie müsste das aussehen?
-
Erledigt
hat sich erledigt
-
Hallo,
hat jemand von euch auch die Navi von Suckerfisch, ich würde gerne Seiten von der Navigation ausschliessen, wie geht das da?
Die Navi sieht da ja so aus: <?php suckerfish(); ?>
-
ich habe den Blog noch Localhost, aber ich kann dir Code senden
-
Hallo Freunde der guten Unterhaltung,
ich möchte mir eine Hovernavi mit CSS in den Header bauen, eigentlich weiss ich auch wie das geht, aber in CSS bin ich ein Vollspackn.
Also, Bis jetzt funzt alles soweit, aber die wenn ich mit der Maus über die Navi gehe, verschwinden die Unterseiten unter dem Content.
hier mal die CSS
PHP
Alles anzeigenbody { position: relative; background: url(images/bg.jpg) repeat-x; height: 100%; font-family: 'lucida grande', verdana, arial, sans-serif; text-align:left; color:#000; font-size: 10pt; margin: 0px; padding: 0; text-align: center; } #wrapper { position: relative; height: 450px; width: 850px; margin: 0px auto; background-color: #000; } #insideWrapper { position: relative; top: 0px; height: 100%; width: 850px; margin: 0px; background-color: #fff; text-align: left; } #insideWrapper:after{ content: "."; display: block; line-height: 1px; font-size: 1px; clear: both;} .post { position: relative; top: 0px; width: 590px; height: 400px; overflow:auto; left: 0px; margin: 0px; background-color: #fff; text-align: left; } #content { width: 590px; margin-left: 200px; background-color: #fff; text-align: left; } #sidebar { position: relative; float: left; width: 150px; height: 250px; left: 20px; padding: 0px; background-color: #fff; text-align: left; color: #000; line-height: 11pt; margin-top: -3px; } .left { float: left; margin: 0px 10px 0px 10px; } .right { float: right; margin: 0px 10px 0px 10px; } #masthead { position: relative; top: 0px; background: url('images/header.jpg'); width: 850px; height: 100px; margin: 0px; margin-top: 10px; } .centeredImage { text-align:center; margin-top:10px; margin-bottom:0px; padding:0px; } #footer { font-size: 8pt; position: relative; color: #fff; height:50px; width: 850px; margin: 0px; margin-bottom: 0px; text-align: right; background:url(images/footer.jpg) no-repeat; } #footer a { color: #fff; } #footer a:visited { color: #fff; } #footer a:hover { color: #ff3333; border: 0px; } .sep { background: url('images/sep.jpg'); background-repeat: no-repeat; background-position: center 50%; position: relative; width: 162px; height: 50px; margin: 0px; padding: 0px; left: 160px; text-align: center; } .commentBox { position: relative; margin: 0 auto; width: 100%; overflow:hidden; background-color: #f5f5f5; text-align: left; border: 1px solid #999; padding: 5px; } .cite { font-size: 7pt; color:#666; } code { font-family: Courier New, Verdana; text-align:left; color:#666; font-size: 8pt; } input { border: 1px solid #666; background-color: #FFFFFF; color: #000000; padding: 2px; } h2 { color: #666; font-size: 14px; text-align: left; } ul { margin-top: 0px; margin-left: 0px; margin-bottom: 0px; padding-left: 0px; } li { list-style-type: none; margin-left: 0px; } #sidebar li { padding:2px !important; padding-left:0px !important; padding:0px; border-bottom: 1px solid #ccc !important; border-bottom: 0px; } blockquote, blockquote p { text-indent: 0px; margin-bottom: 7px; color: #666; } .footerLink { color: #666; text-decoration: underline; } a.footerLink { color: #666; text-decoration: underline; } a.footerLink:visited { color: #666; text-decoration: underline; } a.footerLink:hover { color: #999; text-decoration: underline; } .title { color: #fff; font-size: 12pt; background-color: #ca4205; border-top: 1px solid #fff; border-right: 1px solid #fff; font-weight: bold; font-size: 12px; padding: 5px 5px; } #sidebar .title { margin-bottom:15px; } a.title { color: #fff; background-color: #ca4205; border-top: 1px solid #fff; border-right: 1px solid #fff; font-weight: bold; font-size: 12px; } a.title:visited { color: #333; } a.title:hover { color: #999; border: 0px; } #blogTitle { position: relative; top: 10px; left: 20px; color: #333; font-size: 12pt; text-align: left; } .commentPos { position: relative; margin: 0px; padding: 0px; text-align: center; font-size:9pt; text-transform:uppercase; } a { color: #0066cc; text-decoration: none; } a:visited { color: #0066cc; text-decoration: none; } a:hover { color: #394651; text-decoration: none; } /* Hover Navigationsmenu */ #navigation { clear: both; height: 20px; margin-top: 24px; margin-right: 4px; float: right; } #navigation ul { margin: 0; padding: 0; } #navigation li { margin: 0px; height: 20px; padding: 0px 5px; float: left; list-style: none; } #navigation li a { font-family:"trebuchet ms",arial,sans-serif; display: block; padding: 5px 8px; color: #fff; font-weight: bold; font-size: 12pt; font-weight:bold; text-decoration: none; background-color: #ca4205; border-top: 1px solid #fff; border-right: 1px solid #fff; } #navigation li a:hover { color: #fff; text-decoration: none; background-color: #8c2f05; border-top: 1px solid #fff; border-right: 1px solid #fff; } #nav li ul { position: absolute; left: -999em; height: auto; width: 14.4em; w\idth: 12.9em; font-weight: normal; border: 1px solid #fff; margin: 0; } #nav li li { padding-right: 1em; width: 13.4em; border: 0px; } #nav li ul a { width: 12em; w\idth: 9em; background: url(images/bg_head_bottom_nav.jpg) no-repeat top left; height: 40px; } #nav li ul ul { margin: -1.75em 0 0 14em; } #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { left: -999em; } #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { left: auto; background: url(images/bg_head_bottom_nav.jpg) no-repeat top left; height: 40px; } .sufu { float: right; margin-right: 9px;ich bin dankbar für jede Antwort
-
ja, du hast recht.
Meine Empfehlung nimm dir ein anderes Theme. DEfault ist doch sowieso etwas lahm.
-
muchas gracias
.
...läuft -
welche plugins hast du denn installiert. Irgend so nen PDA Mist evtl such dabei
?Das das Theme automatisch wechselt wenn deine Seite von einen PDA angewählt wird?
-
öffnen Sie im Adminmenü unter Themes den Themeeditor
suchen Sie in der header.php folgendes:
und schreiben folgendes direkt drüber
wobei Sie Startseite selbstverständlich auch durch home ersetzen können
-
html umlaute benutzen nicht einfach: äöü in php benutzen.
Vermute ich zumindest