Thread Starter
lvance
(@lvance)
Yeah, it’s in the root. wp.php and all of that. My index in the root has this only:
<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./wp-blog-header.php’);
?>
In my dashboard, I have my custom theme selected, which is under wp-content/themes/raisedbykubrick ..
Do I need to be editing wp-blog-header.php ? 😐
I also don’t understand why my h4 tags aren’t working all of a sudden. They’re bullets.
Thanks for all the help guys.
No, you don’t need to edit the wp-blog-header.
But I am wondering why are you using Pages instead of categories in the “posted in” section? When there is a built-in feature to categorize posts, why to overcomplicate your life?
Thread Starter
lvance
(@lvance)
Thread Starter
lvance
(@lvance)
Neverthat, that isn’t working. Here is the index.php code for my theme…
<?php
get_header();
?>
<div id="centercontent">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><h2>
<?php the_title(); ?></h2>
<h3>by <?php the_author() ?> (<?php the_time() ?>,
<?php the_date('d.m.y', '',''); ?>)
</h3><?php the_content(); ?> <h4><?php the_category(); ?> | <?php comments_popup_link(__('Zero Comments'), __('1 Comment'), __('(%) Comments')); ?>
<?php comments_template(); ?></h4><br /><br /><?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?> <br />
</div>
<?php get_footer(); ?>
Why are you so adamant about those h4 tags?
Did you take a look how other themes deal with the so-called “post-meta” section of the posts? Basically Template_Tags/the_category tag displays a list – so the best thing is to create a div and style the list inside it through the stylesheet.
yeah, I would worry about getting the htaccess and the links working first, then you can get the cats styled again.
Thread Starter
lvance
(@lvance)
That’s fine with me. I just want to get it functioning properly. What do I need to have in my .htaccess file?
Thread Starter
lvance
(@lvance)
Well, the file just caused a 500 error on my server, so I deleted it.
Looks like I won’t be using WordPress.