flugeule
Verfasste Forenbeiträge
-
Forum: Allgemeine Fragen
Als Antwort auf: featured image kleiner machender letzte post hat sich erledigt! Vielleicht habe ich vergessen das ich es gelöscht habe 😉
VIELEN DANK!
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/get_header();
?><div class=“blog_bg“>
<!– blogleft –>
<div class=“blogleft“>
<div class=“blogbg“><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=“navigation“>
<div class=“alignleft“><?php previous_post_link(‚« %link‘) ?></div>
<div class=“alignright“><?php next_post_link(‚%link »‘) ?></div>
</div><div <?php post_class() ?> id=“post-<?php the_ID(); ?>“>
<h2><?php the_title(); ?></h2>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ’single-post-thumbnail‘ ); ?>
<div class=“blogtext2″>
<img class=“alignleft“ src=“<?php echo $image[0]; ?>“ alt=““ width=“300px“/>
<?php the_content(‚<p class=“serif“>Read the rest of this page »</p>‘); ?>
</div>
</div>
<?php endwhile; else: ?><p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>
<?php include(‚bottombanner.php‘); ?>
</div><!– blogleft –>
<!– blogright –>
<?php get_sidebar(); ?>
<!– blogright –>
</div>
</div>
<!– </div>
</div>
</div> –>
<!– middle –>
<?php get_footer(); ?>Forum: Allgemeine Fragen
Als Antwort auf: featured image kleiner machenwoher hast du das float letf? Das is was in der single.php steht:
<?php
/**
* @package WordPress
* @subpackage Default_Theme
*/get_header();
?><div class=“blog_bg“>
<!– blogleft –>
<div class=“blogleft“>
<div class=“blogbg“><?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=“navigation“>
<div class=“alignleft“><?php previous_post_link(‚« %link‘) ?></div>
<div class=“alignright“><?php next_post_link(‚%link »‘) ?></div>
</div><div <?php post_class() ?> id=“post-<?php the_ID(); ?>“>
<h2><?php the_title(); ?></h2>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ’single-post-thumbnail‘ ); ?>
<div class=“blogtext2″>
<img class=“alignleft“ src=“<?php echo $image[0]; ?>“ alt=““ width=“300px“/>
<?php the_content(‚<p class=“serif“>Read the rest of this page »</p>‘); ?>
</div>
</div>
<?php endwhile; else: ?><p>Sorry, no posts matched your criteria.</p>
<?php endif; ?>
</div>
<?php include(‚bottombanner.php‘); ?>
</div><!– blogleft –>
<!– blogright –>
<?php get_sidebar(); ?>
<!– blogright –>
</div>
</div>
<!– </div>
</div>
</div> –>
<!– middle –>
<?php get_footer(); ?>Forum: Allgemeine Fragen
Als Antwort auf: featured image kleiner machenhab ich gemacht aber nix ändert sich…. 🙁
<div <?php post_class() ?> id=“post-<?php the_ID(); ?>“>
<h2><?php the_title(); ?></h2>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ’single-post-thumbnail‘ ); ?>
<img class=“alignleft“ src=“<?php echo $image[0]; ?>“ alt=““ width=“300px“/>
<div class=“blogtext2″>
<?php the_content(‚<p class=“serif“>Read the rest of this page »</p>‘); ?>
</div>
</div>Forum: Allgemeine Fragen
Als Antwort auf: featured image kleiner machenund was für nen tag muss ich bei „alt“ eingeben das die bilder die css classes bekommen?
Forum: Allgemeine Fragen
Als Antwort auf: featured image kleiner machenahhh jetzt habe ichs gefunden:
<div <?php post_class() ?> id=“post-<?php the_ID(); ?>“>
<h2><?php the_title(); ?></h2>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), ’single-post-thumbnail‘ ); ?>
<img src=“<?php echo $image[0]; ?>“ alt=““ width=“300px“/>
<div class=“blogtext2″>
<?php the_content(‚<p class=“serif“>Read the rest of this page »</p>‘); ?>
</div>
</div>Aber wo und wie füge ich jetzt den align left ein so das der text neben dem Bild beginnt?
Vielen vielen Dank für die Hilfe!
Forum: Allgemeine Fragen
Als Antwort auf: latest posts ändernVielen Dank! Jetzt funktioniert es!
Forum: Allgemeine Fragen
Als Antwort auf: latest posts ändernnein das war schon richtig. Ich habe das jetzt genau so überschrieben, aber dann ist alles weg…
Forum: Allgemeine Fragen
Als Antwort auf: latest posts ändernpuh – ich kenne mich da echt nicht aus… Kannst du mir bitte den code posten den ich da einfügen soll?
Forum: Allgemeine Fragen
Als Antwort auf: featured image kleiner machennicht das Artikelbild welches ich im Editor einfügen kann, sondern das featured image. Wenn ich ein featured image dem Post hinzufüge wird das automatisch in den post eingebunden aber eben viel zu groß wie man bei dem obegen link sehen kann. Was muss ich in der funktions.php einfügen? Ich kenne mich da leider nicht aus…