Beiträge von noamoe
-
-
Hallo,
ich habe für meine Seite in den Einstellungen festgelegt, dass bloß vier Posts auf der Startseite gezeigt werden sollen. Lief auch alles immer problemlos.
Als ich heute in der CSS ein paar Einstellungen für Bilder vorgenommen hatte, bemerkte ich später den Fehler auf meiner Startseite:
http://www.piratensenderskateboards.de
Wie man sieht, hat sich über dem aktuellen Post "Mats Hanno Clip" ein älterer Post vorgedrängt.
Hier meine CSS-Datei
PHP
Alles anzeigen/* Begin Typography & Colors */ body { font-size: 70%; /* Resets 1em to 10px */ font-family: Century Gothic, sans-serif; background-color: #000; background-image: url(http://s1.directupload.net/images/110802/6nczgz69.jpg); color: #333; text-align: center; } #page { text-align: center; width: 1000px; } #header { background-color: ; } #content { background-image: url(http://piratensenderskateboards.de/images/content_bg_2.png); background-position: -15px 0; font-size: 1.2em; z-index: 2; width: 580px; height: 1970px; margin-left: -75px; margin-top:-55px; } #content_s { font-size: 1.2em; z-index: 1; background-image: url(http://piratensenderskateboards.de/images/blog_bg_rausch.png); width: 950px; height: 1600px; margin-left: -92px; margin-top:-43px; } #content_p { font-size: 1.2em; z-index: 1; background-image: url(http://piratensenderskateboards.de/images/blog_bg_rausch_2.png); background-repeat: repeat-y; width: 1000px; height: 1600px; margin-left: -92px; margin-top:-43px; } .widecolumn .entry p { font-size: 1.05em; } .narrowcolumn .entry, .widecolumn .entry { line-height: 1.4em; } .widecolumn { line-height: 1.4em; } .narrowcolumn .postmetadata { text-align: left; } .alt { margin: 50px; text-align: justify; background-color: #fff; width: 500px; border-top: 0px solid #000; border-bottom: 0px solid #000; } small { font-family: Century Gothic, sans-serif; font-size: 0.9em; line-height: 1.5em; } strong { color: #000; } h1 { font-family: Century Gothic, sans-serif; font-weight: bold; } h2, h3 { font-family: Century Gothic, sans-serif; } h1 { font-size: 3.4em; text-align: center; text-transform: uppercase; letter-spacing: 12px; } .description { font-size: 1.2em; text-align: center; letter-spacing: .6em; } h2 { font-size: 2.0em; } h2.pagetitle { font-size: 2em; } #sidebar { border-top: 1px solid #000; border-bottom: 1px solid #000; } #sidebar h2 { font-family: Century Gothic, sans-serif; font-size: 1.2em; } h3 { font-size: 1.7em; } h1, h1 a, h1 a:hover, h1 a:visited, .description { text-decoration: none; color: #000; } h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited { color: #1b1b1b; } h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite { text-decoration: none; } .entry p a:visited, a { color: #000; text-decoration: underline; font-weight: bold; } #sidebar { font-family: Century Gothic, sans-serif; background-image: url(); background-repeat:no-repeat; } small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike { color: #666; } code { font: 1.1em 'Century Gothic', Century Gothic, Fixed; } acronym, abbr, span.caps { font-size: 0.9em; letter-spacing: .07em; } a, h2 a:hover, h3 a:hover { color: #000; text-decoration: none; } a:hover { color: #707070; text-decoration: underline; } #wp-calendar #prev a { font-size: 9pt; } #wp-calendar a { text-decoration: none; } #wp-calendar caption { font: bold 1.3em Century Gothic; text-align: center; } #wp-calendar th { font-style: normal; text-transform: capitalize; } /* End Typography & Colors */ /* Begin Structure */ #page { margin: 30px 0px 0px 0px; width: 500px; height: 800px; left: 50%; position: relative; margin-left: -400px; } #header { left:80px; } .narrowcolumn { float: left; padding: 0 0 20px 45px; margin: 0px 0 0; width: 450px; } .widecolumn { padding: 10px 0 20px 0; margin: 5px 0 0 150px; width: 450px; } .pagepost { margin: 60px 0px 40px; width: 500px; border-top: 0px solid #000; margin-top: 90px; border-bottom: 1px solid #000; margin-bottom:0; } .post { margin: 80px 160px -40px; text-align: left; width: 350px; border-top: 0px solid #000; border-bottom: 2px solid #000; margin-bottom:0; } .post_s { margin-left: 240px; text-align: justify; border-top: 0px solid #000; border-bottom: 2px solid #000; width: 500px; margin-top:80px; } .page_s { margin-left: 240px; text-align: justify; border-top: 0px solid #000; border-bottom: 0px solid #000; width: 500px; margin-top:80px; } .widecolumn .post { margin: 0; } .narrowcolumn .postmetadata { padding-top: 5px; } .widecolumn .postmetadata { margin: 30px 0; } #footer { padding: 0 0 0 0; margin: 0 auto; width: 760px; clear: both; margin-bottom:0; } #footer p { margin: 0; padding: 20px; text-align: center; margin-bottom:0; } #footy { margin:-55px 650px; margin-bottom:0; } } /* End Structure */ /* Begin Lists Special stylized non-IE bullets Do not work in Internet Explorer, which merely default to normal bullets. */ html>body .entry ul, .entrytext ul, .pagepost ul { margin-left: 0px; padding: 0 0 0 30px; list-style: none; padding-left: 10px; text-indent: -10px; } html>body .entry li, .entrytext li, .pagepost li { margin: 5px 0 5px 10px; } .entry ul li:before, .entrytext ul li:before, #sidebar ul ul li:before, .pagepost ul li:before { content: "\00BB \0020"; } .entry ol { padding: 0 0 0 35px; margin: 0; } .entry ol li { margin: 0; padding: 0; } .postmetadata ul, .postmetadata li { display: inline; list-style-type: none; list-style-image: none; } /* Begin Sidebar */ #sidebar { background-image: url(http://piratensenderskateboards.de/images/sidebar_bg.png); background-position: 265px 0; width:600px; height:2000px; margin-left: 272px; margin-top: -55px; z-index: 1; } #sidebar form { margin-left: 0px; } /* End Sidebar */ /* Begin Calendar */ #wp-calendar { empty-cells: show; margin: 10px auto 0; width: 155px; } #wp-calendar #next a { padding-right: 20px; text-align: right; } #wp-calendar #prev a { padding-left: 10px; text-align: left; } #wp-calendar a { display: block; } #wp-calendar caption { text-align: center; width: 100%; } #wp-calendar td { padding: 3px 0; text-align: center; } #wp-calendar td.pad:hover { /* Doesn't work in IE */ background-color: #000; } /* End Calendar */ /* Begin Various Tags & Classes */ acronym, abbr, span.caps { cursor: help; } acronym, abbr { border-bottom: 1px dashed #999; } blockquote { margin: 15px 30px 0 10px; padding-left: 20px; border-left: 1px solid #333; } blockquote cite { margin: 5px 0 0; display: block; } hr { display: none; } .center { text-align: center; } a img { border: none; } .navigation { display: block; text-align: center; margin-top: 10px; margin-bottom: 60px; } .aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; } .alignleft { text-align: left; float: left; margin-left:120px; } .alignright { text-align: right; float: right; margin-right:60px; } .entry img, .entrytext img { margin: 0 auto; } .gravatar img { float:right; margin-top:-15px; visibility: hidden; } .wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; } .wp-caption img { margin: 0; padding: 0; border: 0 none; } .wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }
Und die Index.phpPHP
Alles anzeigen<?php get_header(); ?> <div id="content" class="narrowcolumn"> <meta property=”og:image” content=”http://www.piratensenderskateboards.de/images/pslogo.jpg”> <?php the_content('weiter'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php require('post.php'); ?> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php posts_nav_link('','','« Vorherige Seite') ?></div> <div class="alignright"><?php posts_nav_link('','','Nächste Seite »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>Ich hoffe man kann mir helfen, denn ich finde nirgends den Fehler. Danke schonmal im Voraus (:
Morten -
Ich verstehe nicht genau, wie du das meinst, Purzelbaum
Also wenn ich das in die Functions.php einfüge, kommt diese Meldung:
Fatal error: Call to undefined function has_post_thumbnail() in wordpress/wp-content/themes/piratensender/functions.php on line 25
Es soll sich der post öffnen, wenn man auf das Bild klickt und man soll das Bild vergrößert anschauen können, wenn man im Post drauf klickt. Geht das denn?
-
mhhhh
Okay und wie kann ich es zumindest so machen, dass sobald man im single post ist, dass das Bild größer ist?! Und irgendwie werden BIlder nicht zentriert. Wo stelle ich das ein? Hat das was mit dem narrowcollumn zu tun? -
Mhh das klingt ja sehr kompliziert :(
Ich wollte eigentlich nur, dass sobald auf das Thumbnail geklickt wird, man zum Post gelangt. Geht das gar nicht? ich versuch schon alles.Im Moment scheint die einzige Lösung, die URL immer manuell zu ändern. Aber müsste es nicht demzufolge irgendwo festgelegt sein, wohin das Thumbnail verlinken soll?
-
Es sind aber Artikelbilder! Ich hab doch extra in der Functions.php es möglich gemacht, ARtikelbilder einzubinden!
http://s1.directupload.net/images/120223/hywa8cxo.png -
Alles klaaar:
PHP
Alles anzeigen<div class="post"> <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent link to <?php the_title();?>"><?php the_title(); ?></a></h2> <small><?php the_time('l j.m.Y'); ?> </small> <div class="entry"> <?php the_content('…weiter'); ?></div> <small><?php the_tags('Tags: ', ', ', '<br />'); ?></small> <p class="postmetadata"><?php edit_post_link('Bearbeiten','',' | '); ?></p> <?php trackback_rdf(); ?> </div> -
Das wäre meine index.php :)
PHP
Alles anzeigen<?php get_header(); ?> <div id="content" class="narrowcolumn"> <meta property=”og:image” content=”http://www.piratensenderskateboards.de/images/pslogo.jpg”> <?php the_content('weiter'); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php require('post.php'); ?> <?php endwhile; ?> <div class="navigation"> <div class="alignleft"><?php posts_nav_link('','','« Vorherige Seite') ?></div> <div class="alignright"><?php posts_nav_link('','','Nächste Seite »') ?></div> </div> <?php else : ?> <h2 class="center">Not Found</h2> <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p> <?php include (TEMPLATEPATH . "/searchform.php"); ?> <?php endif; ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?> -
Hallo,
ich pflege zur Zeit eine Internetseite für einen Kollegen (http://www.piratensenderskateboards.de) und ich habe ein Problem mit den Artikelbildern. Wenn man auf der Startseite ist und auf ein Post-Thumbnail klickt, wird man bloß zu einer Seite weitergeleitet, die bloß das Bild zeigt.
Es soll jedoch auf den einzelnen Post verlinkt werden. Ich habe schon versucht in der functions.php folgendes einzubinden:PHP
Alles anzeigen<?php /* Widgets */ if ( function_exists('register_sidebar') ) register_sidebar(); if ( function_exists('add_theme_support')) { add_theme_support('post-thumbnails'); } // Postverlinkung add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 ); function my_post_image_html( $html, $post_id, $post_image_id ) { $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>'; return $html; } ?>Kann mir wer weiterhelfen?!
Wäre super dankbar!
Lieben Gruß
noamoe -
Hallo,
ich möchte eine Seite erstellen, die da wie folgt aussehen soll:
Es soll ein großes Bild den Hintergrund darstellen. Ein Logo soll oben Links sein, dann drunter ein paar Buttons (Shop, Link-A, Link-B...) Diese Seiten sollen auch nur einen Text zeigen mit Bilder also nix großartiges.
Es osll aber die Möglichkeit bestehen, per Backend den Hintergrund und den Inhalt zu verändern. Geht das denn mit Wordpress?
Würde mich auf Antworten freuen :)
-Moe -
Ah wir sind beide auf die Lösung gestoßen :)
Mir fiel auf, dass die Kategorien nicht einfach 1,2,3,4 sein können, da ich zuvor noch andere hatte, die ich gelöscht hab. Dann hab ich auf den Hyperlink geschaut und da waren dann andere Zahlen zu sehen.Jetzt klappt es :) Vielen vielen dank aber, alchymyth!
-
Jede Kategorie hat Artikel, wenn man auf einen sichtabaren Artikel auf der Seite klickt sieht man rechts "categories" dann sieht man die vier categorien und alle haben Artikel
-
Hallo,
ich verwende für meinen Blog (moe.fut1.com) das Theme "Upstart Blogger Futurosity Magazine". Das tolle an dem Theme ist ja, dass man quasi vier Spalten hat, wo jeweils Posts zu einer Kategorie aufgelistet werden.
Ich habe nun vier Kategorien (Work, Inspiration, Misc und Tutorial), aber angezeigt werden bloß zwei. Wenn ich in der home.php ein wenig dran was ändere- also an category dann kommt nur komisches doppelt gemoppeltes.
Könnte sich das jemand vielleicht mal anschauen und mir sagen, was ich nun falsch gemacht habe? Ich danke im Vorraus!
Gruß
-NoaMoe -
Hi,
ich nutze das Template "carrington text" für den Blog meiner Freundin ( nonrabones.fut1.com).
Leider fehlt ein Link der auf die Startseite zurücknavigiert, wenn man z.B. auf einen Post geklickt hat. Denn ich denke die Leute wollen nicht immer auf Zurück klicken.Ich weiß nicht welche .php-Datei ich hier reinposten soll, aber ich liste mal alle auf:
ZitatAlles anzeigen- 404-Template
(404.php) - Anhang-Template
(attachment.php) - Archive
(archive.php) - Einzelner Artikel
(single.php) - Fußzeile
(footer.php) - Hauptindex-Template
(index.php) - Kommentare
(comments.php) - Kopfzeile
(header.php) - Seiten-Template
(page.php) - Sidebar
(sidebar.php) - Suchergebnisse
(search.php) - Theme-Funktionen
(functions.php) - admin.php
(admin.php) - ajax-load.php
(ajax-load.php) - attachment-default.php
(attachment-default.php) - banner.php
(banner.php) - carrington.php
(carrington.php) - comment-default.php
(comment-default.php) - comment.php
(comment.php) - comments-default.php
(comments-default.php) - comments-loop.php
(comments-loop.php) - compatibility.php
(compatibility.php) - content-default.php
(content-default.php) - excerpt-default.php
(excerpt-default.php) - excerpt-full.php
(excerpt-full.php) - exit.php
(exit.php) - footer-default.php
(footer-default.php) - header-default.php
(header-default.php) - loop-default.php
(loop-default.php) - nav-posts.php
(nav-posts.php) - no-results.php
(no-results.php) - pages-default.php
(pages-default.php) - ping.php
(ping.php) - pings-loop.php
(pings-loop.php) - posts-default.php
(posts-default.php) - sidebar-default.php
(sidebar-default.php) - sidebars.php
(sidebars.php) - single-default.php
(single-default.php) - templates.php
(templates.php) - threaded.php
(threaded.php) - utility.php
(utility.php)
Ich bin für jede Hilfe dankbar!
Grüße
-noamoe - 404-Template
-
Welcher Hoster ist denn empfehlenswert?
Also die Settings.php habe ich nicht geöffnet, nur die config (Um die nötigen Informationen auszufüllen) -
Hallo,
Ich habe soeben meinen Wordpress-Ordner auf Tripod hochgeladen und alle nötigen MySQL-Daten eingegeben. Wenn ich jedoch die install.php aufrufe, kommt zwar dieses Installations-Formular von Wordpress, jedoch irritieren mich diese drei Fehlermeldungen bezüglich einiger .php-Dateien, womit ich mich nun überhaupt nicht auskenne. Zusätzlich besteht ein obskurer Fehler mit der Email-Adresse-Angabe.
Im Anhang das Install-Fenster von Wordpress.Bitte um Hilfe.
Liebe Grüße
-NoaMoe