djen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: is it possible to exclude categories using wp_get_archives ?Hey, that works! Thanks a million Otto42, you’re a champ!
Forum: Fixing WordPress
In reply to: is it possible to exclude categories using wp_get_archives ?Here’s what I have:
<?php
$myposts = get_posts(‘numberposts=5&offset=1&category=3’);
foreach($myposts as $post) :
setup_postdata($post);
?>
<?php the_title(‘ ‘,'<p>’); ?>
<?php endforeach; ?>It puts up the title of the post, but the title doesn’t link to anything.
Forum: Fixing WordPress
In reply to: is it possible to exclude categories using wp_get_archives ?I put spaces between the titles by doing this:
<?php the_title(‘ ‘,'<p>’); ?>
But still no links.
Forum: Fixing WordPress
In reply to: is it possible to exclude categories using wp_get_archives ?Thanks for the quick response. That definitely pulls in the titles of the posts, but it runs them all together into one big paragraph, and none of them are showing up as links to the original posts.
How do I make it link to the posts and put space between the titles?
Thanks again!
Forum: Fixing WordPress
In reply to: is it possible to exclude categories using wp_get_archives ?I’m trying to do a similar thing, but with no success. I put the code provided by Kafkaesqui in my sidebar.php, and it gets the entire post instead of just the post title. How do I get it to just show the title of the post?
Am I missing something?
Forum: Fixing WordPress
In reply to: Sidebar problem: Right moves to left, left moves to middleProblem solved! The template was missing a </div> immediately before the <?php get_sidebar(); ?>.
That’s it.
I guess my assumption that WordPress templates were fully cooked and ready for consumption was incorrect!
Forum: Fixing WordPress
In reply to: Sidebar problem: Right moves to left, left moves to middleSo this is a problem with the original template?
I’m assuming that having the right sidebar as a child of the left is a bad thing, right? How difficult is it to separate the two?
Thanks for pointing out all the errors. I guess if I want to stick with this template, I have my work cut out for me.