Aber wie kann das denn sein, wenn ich die dateien einfach kopiert habe ? Fehle beim kopieren ? :D
Beiträge von celinesofficial
-
-
Hallo,
Ich habe mir das Theme für meinen Blog http://www.celinesofficial.com selbst geschrieben (ja, da sind noch Fehler drinnen, ich weiß...) und möchte jetzt von diesem Dateien ausgehen pimpyourcamper.com ähnlich gestalten.
Zunächst habe ich die Dateien kopiert und habe demnach erwartet, dass pimpyourcamper.com genauso aussieht wie celinesofficial.com (natürlich ohne Inhalte, Plugins, etc..).
Kann mir jemand sagen wieso das nciht der Fall ist?
Danke schonmal im vorraus
Celine -
Hallo,
Ich habe grade mal wieder ein bisschen an meinem Theme gearbeitet und bekomme den Pfeil über der Überschrift nich weg.
Hat jemand eine Idee woran das liegen kann?header-php:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<div id="header">
<?php wp_head(); ?> -->
</head>
<body>
<div id="wrapper">
<div id="header"onclick="location.href='http://www.celinesofficial.com';"
onkeypress="location.href='http://www.celinesofficial.com';" style="cursor: pointer;"
>
<br><h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1> <link href="https://fonts.googleapis.com/css?family=Syncopate" rel="stylesheet">
<h3><?php bloginfo('description'); ?></h3></div><!-- header -->
<?php if ( is_active_sidebar( 'sidebar-custom-header' ) ) : ?><div id="sidebar-header">
<?php dynamic_sidebar( 'sidebar-custom-header' ); ?>
</div>
<?php endif; ?><br>
<div id="topmenu">
<ul>
<?php wp_list_categories('title_li='); ?>
</ul>
</div><a class="Überschrift" href="<?php bloginfo('url'); ?>">
</div<
</a>functions.php:
<?php
if ( function_exists('register_sidebar') )
register_sidebar();add_theme_support('post-thumbnails');
function celinesofficial_widgets_init() {
register_sidebar( array(
'name' => __( 'Custom Widget Area Header', 'celinesofficial' ),
'id' => 'sidebar-custom-header',
'description' => __( 'Custom widget area for the header of my theme', 'yourthemename' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title">','after_title' => '</h3>',
) );}
add_action( 'widgets_init', 'celinesofficial_widgets_init' );function remove_more_link_scroll( $link ) {
$link = preg_replace( '|#more-[0-9]+|', '', $link );
return $link;
}
add_filter( 'the_content_more_link', 'remove_more_link_scroll' );add_filter( 'post_thumbnail_html', 'wps_post_thumbnail', 10, 3 );
function wps_post_thumbnail( $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;
}?>
index.php:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"<?php get_header(); ?>
<div id="main"><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php if(has_post_thumbnail()){
the_post_thumbnail();} ?>
<h3><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<div class="entry"><?php the_content('MORE','',''); ?><div id="meta"></div><div id="erstellt_am">
<p>erstellt am: <?php the_date('d.m.Y'); ?>-<a class="comments" href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a>
</div></div>
<?php endwhile; endif; ?>
</div><!-- main --><div id="sidebar">
<?php get_sidebar(); ?>
</div><!-- sidebar --><div id="footer">
<?php get_footer(); ?>
</div><!-- footer --> -
Darum geht es in der Hauptsache garnicht. Mir stellt sich vor allem die Frage ob ein einfaches Domain registrieren reicht oder ob ich npch Webspace etc brauche. Also wasfür ein Paket ich noch kaufen müsste..
-
Hallo,
Ich verwendet Lightwidget (https://lightwidget.com/) ist kein Plugin und funktioniert bis jetzt Problemlos.
So sieht das bei mir aus: http://www.celinesofficial.com.
LG Celine -
Hallo,
Ich bin nicht sicher, ob dieser beitrag hierhin gehört, hoffe aber trotzdem auf Hilfe.
Ich hoste meinen Blog über Strato und habe dort ein WP Starter Paket gekauft. Jetzt überlege ich meinen Eltern einen und meiner Schwester eine weitere Domain zu Weihnachten zu schenken. Ja, seltsames Geschenk, aber darum geht es nicht.Ich hatte gehofft, dass sich hier jemand damit auskennt und mir sagen kann inwiefern es sinn machen würde denen eigene Accounta anzulegen oder das ganze einfach über meinen Account laufen zu lassen, was ja eventuell günstiger wäre... Ich blicke da nicht ganz durch :cry:
Danke schonmal im Vorraus
Celine -
okay, vielen Dank!
-
Kannst du denn sagen ob es an der single php oder der comments php liegt?
-
Ich hab das selbst geschrieben und wie man sieht ohne Ahnung... deshalb frag ich ja jetzt hier im Forum nach Hilfe...
-
-
joa, also der Titel beschreibt mein problem ja schon... die Kommentare werden nicht am Ende vom eigentlichen Post angezeigt, sondern sitzen darüber und überschreiben ihn... Hoffe auf schnelle Hilfe :)
comments.php:
PHP
Alles anzeigen<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <label for="email">Email <small>(wird nicht veröffentlicht)</small></label> </p> <p> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url">Webseite</label> </p> <p> Kommentar <textarea name="comment" id="comment" style="width: 100%;" rows="10" tabindex="4"></textarea> </p> <p> <input name="submit" type="submit" id="submit" tabindex="5" value="Kommentar abschicken" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> </p> <?php do_action('comment_form', $post->ID); ?> </form> </div> <!-- kommentar_formular --> <div id="kommentare"> <?php foreach ($comments as $comment) : ?> <div class="comment" id="comment-<?php comment_ID() ?>"></div> <small class="commentmetadata"><?php comment_author_link() ?> <strong>|</strong> am <?php comment_date('j. F Y') ?> um <?php comment_time('H:i') ?> Uhr</small> <?php comment_text() ?> <?php if ($comment->comment_approved == '0') : ?> <strong>Achtung: Dein Kommentar muss erst noch freigegeben werden.</strong><br /> <?php endif; ?> </div> <?php endforeach; /* end for each comment */ ?> </div><!-- kommentare -->single.php:
PHP
Alles anzeigen<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" <?php get_header(); ?> <div id="main"> <h3><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3> <?php if (have_posts()) : while (have_posts()) : the_post(); ?><div id="thumbnail"> <?php if(has_post_thumbnail()){ the_post_thumbnail();} ?> <div class="entry"> <?php the_content(); ?></div><div id="meta"></div><div id="erstellt_am"> <p>erstellt am: <?php the_date('d.m.Y'); ?>-<a class ="comments" <a href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a> </div></div> <?php endwhile; endif; ?></div> </div><!-- main --> <div id="sidebar"> <?php get_sidebar(); ?> </div><!-- sidebar --> <div id="comments"> <?php comments_template(); ?> </div><!--comments--> <div id="footer"> <?php get_footer(); ?> </div><!-- footer --> -
okay, dankeschön, du hattest Recht, in der Sidebar.php fehlten </div> tags. Jetzt habe ich alerdings dsa Problem, dass die Sidebar vonter dem Main sitzt... kann mi jemand sagen in welcher php ich suchen muss ?
-
ich finde garkein </div< :o
und ich habe mir das selbst zusammengeschustert...wie man warsheinlich sieht ohne jegliche Vorahnung :D
den main habe ich eigentlich absichtlich doppelt geschlossen. das eine bezieht sich auf die kommentare, das andere auf das veröffentlichungsdatum. wenn ich das veröffentlichungsdatum direkt schließe, steht die kommentaranzahl nicht mehr neben dem datum... -
bist du sicher ? bei meinem single. php habe ich dasselbe problem sowohl mit coments als auch mit dem footer:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /><?php get_header(); ?>
<div id="main"> <h3><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><div id="thumbnail">
<?php if(has_post_thumbnail()){
the_post_thumbnail();} ?>
<div class="entry">
<?php the_content(); ?><div id="meta"></div><div id="erstellt_am"></div>
<p>erstellt am: <?php the_date('d.m.Y'); ?>
- <a href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a>
</div>
</div>
<?php endwhile; endif; ?> </div></div><!-- main -->
<div id="sidebar">
<?php get_sidebar(); ?>
</div><!-- sidebar --><div id="comments"
<?php comments_template(); ?>
</div><!--comments--><div id="footer">
<?php get_footer(); ?>
</div><!-- footer -->kann mir gut vorstellen, dass ich da mal wieder n </div> vergessen hab...
-
Danke SirEctor , die beiden div Tags waren schon die halbe lösung, alerdings sitzt jetzt der Footer unterhalb der Sidebar :Oworan liegt das denn jetzte ?
und JABA-Hosting : das ist erst seid eben so, weißt du vielleicht wie ich das beheben könnte?
-
Hallo,
Ich habe schon sehr viel gegooglet, konnte aber leider noch nicht die richtige Lösung für mein Problem finden, auch wenn es ein sehr gängiges ist.Meine Sidebar auf celinesofficial.com rutscht unter den main content. Ich glaube es liegt an der Index.php und ich würde mich unglaublich freuen, wen jemand den Fehler findet.
LG Celine
Index.php :
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /><?php get_header(); ?>
<div id="main"><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php if(has_post_thumbnail()){
the_post_thumbnail();} ?>
<h2><a class="Überschrift" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="entry"><?php the_content('MORE','',''); ?><div id="meta"><div id="erstellt_am">
<p>erstellt am: <?php the_date('d.m.Y'); ?>
- <a class="Überschrift" href="<?php the_permalink(); ?>#comments" title="Kommentare zu '<?php the_title(); ?>'"><?php comments_number('Keine Kommentare','1 Kommentar','%Kommentare'); ?></a>
</div><!-- .content -->
<?php endwhile; endif; ?></div><!-- main -->
<div id="sidebar">
<?php get_sidebar(); ?>
</div><!-- sidebar --><div id="footer">
<?php get_foter(); ?>
</div><!-- footer -->