Hallo,
ich habe mir zum ersten mal ein Wordpresstheme erstellt und daher damit relativ wenig Erfahrung. Ich habe gerade versucht zu Testzwecken einen Trackback einzustellen von:
Malvorlagen runterladen und ausdrucken - Kinder-Aktuell.de
(meine Seite)
zu:
Web Hilfe » Blog Archiv » Malvorlagen für Kinder
(andere Webseite)
Ich habe einfach meinen Post editiert und die Trackback URL von webhilfe.ch eingefügt. Doch leider passiert/erscheint nichts.
Evtl. habe ich irgendwas wichtiges in meiner single.php gelöscht? Oder irgendwas anderes missachtet? Könntet ihr das mal überprüfen, bitte?
PHP
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="entry">
<div class="PostHead">
<h1 class="title"><a href="#"></a><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<span class="PostInfo">Geschrieben von <?php the_author() ?> am <?php the_time('j.n.Y'); ?> in <h2 class="posth"><?php the_category(', ') ?></h2></span>
</div>
<div class="entrybody">
<?php the_content(__('go on reading »'));?>
</div> <!-- [entrybody] -->
<?php if (is_single()) { ?>
<div class="entrymeta2">
<?php
// *** Trackback URI: only if ping is enabled
if ( pings_open() ) {
echo '<a class="trackback-leftalign" title="Trackback-URL for ''; the_title();
echo ''" href="'; trackback_url(); echo '" rel="nofollow trackback">Trackback-URL</a>';
}
?>
<span class="tags-leftalign">Tags: </span><?php UTW_ShowTagsForCurrentPost("commalist") ?>
</div>
<div class="entrymeta3">
Verwandte Beiträge:<br />
<ul><?php UTW_ShowRelatedPostsForCurrentPost("posthtmllist") ?></ul>
</div>
<?php } // is_single() ?>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p><?php _e('No Entries found.'); ?></p>
<?php endif; ?>
<p><?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?></p>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen