...da steht dann das mann die links aus dem footer nicht enternen soll.
Kann das damit etwas zu tun haben das man das Theme kaufen soll? (is ne art demo was ich hab glaub ich)
Das kommt aber nicht wenn Du nur die Datei theloop.php bearbeitest. Du wolltest verm. noch die Links im Footer entfernen... ;-) Hab´s gerade selbst getestet. Die theloop.php kann problemlos bearbeitet werden.
Diese angesprochenen settings gibt es bei mir nicht. Richtig, mein Theme ist: http://smthemes.com/droidpress/
Okay, stimmt... Die Settings gibt´s wohl auch erst in der neuen Version (Du verwendest eine veraltete Version des Themes), die zudem auch ganz anders aussieht. Hatte mal die vom Link heruntergeladen und bekam sofort ne Updatemeldung auf 1.0.6 oder so.
Ändere die theloop.php wie folgt ab:
<?php
global $post, $query_string, $SMTheme;
query_posts($query_string);
$i=1;
if (have_posts()) : ?>
<dl class='articles'>
<?php
while (have_posts()) : the_post();
?>
<dt id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if (!is_single()&&!is_page()) { ?>
<h2><a href="<?php the_permalink(); ?>" title="<?php printf( $SMTheme->_( 'permalink' ), the_title_attribute( 'echo=0' ) ); ?>" class='post_ttl'><?php the_title(); ?></a></h2>
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>
<p><?php if (!is_page()) {?><?php echo get_the_date(); ?> <img alt="" src="<?php echo get_template_directory_uri(); ?>/images/smt/category.png"><?php the_category(', '); }?>
<?php if(comments_open( get_the_ID() )) {
?><img alt="" src="<?php echo get_template_directory_uri(); ?>/images/smt/comments.png"> <span class="meta_comments"><?php comments_popup_link( $SMTheme->_( 'noresponses' ), $SMTheme->_( 'oneresponse' ), $SMTheme->_( 'multiresponse' ) ); ?></span><?php
}
?><?php edit_post_link( $SMTheme->_( 'edit' ), ' | <span class="edit-link">', '</span>' ); ?></p>
</dt>
<dd>
<?php
if(has_post_thumbnail()) {
?><?php if (!is_single()) { ?><a href="<?php the_permalink(); ?>" title="<?php printf( $SMTheme->_( 'permalink' ), the_title_attribute( 'echo=0' ) ); ?>"><?php the_post_thumbnail(
array($SMTheme->get( 'layout', 'imgwidth' ), $SMTheme->get( 'layout', 'imgheight' )),
array("class" => $SMTheme->get( 'layout','imgpos' ) . " featured_image")
); ?></a><?php } else { ?>
<?php the_post_thumbnail(
array(278, 173),
array("class" => $SMTheme->get( 'layout','imgpos' ) . " featured_image")
); ?>
<?php }
}
[COLOR="#008000"]if (!is_single()&&!is_page()) {
the_content('');
?><?php
} else {
the_content('');
}
?>[/COLOR]
<?php wp_link_pages(); ?>
</dd>
<?php endwhile; ?>
</dl>
<?php endif; ?>
Alles anzeigen