Perfekt. Vielen Dank!
Beiträge von bisi79de
-
-
Hallo liege WP-Gemeinde!
ich hab eine author.php anglegt, die an sich auf gut funktioniert. Beim Code
gibt es aber Probleme. Klickt man auf den Link im Profil, hängt die URL des User an meiner Blog-URL hinten dran:
http://www.meinblog.de/www.linkdesusers.de
Das führt dann zur einer 404-Erro-Melduung. Habe schon alles versucht. Wie kann ich das abstellen?
-
Hallo,
ich verwende das wyntonmagazin-theme. ich möchte, dass auf meiner sidebar nur die unterkategorie eines artikels angezeigt wird. was muss ich da in sidebar.php ändern?:
PHP
Alles anzeigenglobal $post; $categories = get_the_category(); foreach ($categories as $category) : ?> <li> <h2> <?php _e('More from this category','wyntonmagazine');?> </h2> <ul class="more"> <?php $posts = get_posts('numberposts=5&category='. $category->term_id); foreach($posts as $post) : ?> <li><a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a></li> <?php endforeach; ?> <li><strong><a href="<?php echo get_category_link($category->term_id);?>" title="<?php _e('View all posts filed under','wyntonmagazine');?> <?php echo $category->name; ?>"> <?php _e('All articles in','wyntonmagazine');?> '<?php echo $category->name; ?>' »</a></strong></li> </ul> </li> <?php endforeach;?> <?php } ?>jetzt wird halt immer "Mehr aus dieser Kategorie" zweimal angezeigt. Vielen Dank!!!