geoff67
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problems with commentsHmm. You copied over a mistake it looks like.
Replace with this instead.
`<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”https://www.w3.org/1999/xhtml” xml:lang=”EN” lang=”EN”><?php get_header(); ?>
<body>
<div class=”main”>
<div class=”container”>
<div class=”span-24 header”>
<h1 class=”name”>”><?php bloginfo(‘name’); ?><!–<span class=”bubble”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/img/<?php echo $bubbles; ?>” alt=”bubbles” /></span>–></h1>
<span class=”slogan”><?php bloginfo(‘description’); ?></span>
</div><?php include (TEMPLATEPATH . “/navigation.php”); ?>
<?php include (TEMPLATEPATH . “/banner.php”); ?>
<div class=”span-24 content”>
<div class=”span-16 post-wrapper”><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<li class=”post”>
<div class=”text-header”>
<h2 class=”title” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<span class=”no”><?php comments_number(‘0’, ‘1’, ‘%’, ‘comments’); ?></span>
<div class=”clear”></div>
</div><div class=”hr”><img src=”<?php bloginfo(‘stylesheet_directory’); ?>/img/<?php echo $scissors; ?>” alt=”scissors” /></div>
<div class=”info-small”>
<span class=”date”><?php the_time(‘F jS, Y’) ?></span><span class=”author”><?php the_author() ?></span><span class=”cat”><?php the_category(‘, ‘) ?></span>
</div><?php the_content(‘Read the rest of this entry ?’); ?>
<?php the_tags(‘<span class=”tag”> Tags: ‘, ‘, ‘, ‘</span>’); ?>
<?php comments_popup_link(‘No Comments ?’, ‘1 Comment ?’, ‘% Comments ?’); ?>
<?php edit_post_link(‘Edit’, ‘<p class=”edit”>’, ‘</p>’); ?><?php endwhile; ?>
<?php else : ?>
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn’t here.</p><?php endif; ?>
<li class=”post”>
<p class=”alignleft”><?php next_posts_link(‘? Older Entries’) ?></p>
<p class=”alignright”><?php previous_posts_link(‘Newer Entries ?’) ?></p></div>
<div class=”span-8 last sidebar”>
<?php get_sidebar(); ?>
</div>
</div><?php get_footer(); ?>
</div>
</div>
</body>
</html>Forum: Fixing WordPress
In reply to: Problems with commentsDid you delete the post? Try writing a new post and publish it.
Forum: Fixing WordPress
In reply to: Sidebar issue in different browsers!How about a link to your site?
Forum: Fixing WordPress
In reply to: Problems with commentsReplace with this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN"> <?php get_header(); ?> <body> <div class="main"> <div class="container"> <div class="span-24 header"> <h1 class="name">"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1> <span class="slogan"><?php bloginfo('description'); ?></span> </div> <?php include (TEMPLATEPATH . "/navigation.php"); ?> <?php include (TEMPLATEPATH . "/banner.php"); ?> <div class="span-24 content"> <div class="span-16 post-wrapper"> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <li class="post"> <div class="text-header"> <h2 class="title">" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2> <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span> <div class="clear"></div> </div> <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div> <div class="info-small"> <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span> </div> <?php the_content('Read the rest of this entry ?'); ?> <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?> <?php endwhile; ?> <?php else : ?> * <h2>Not Found</h2> <p>Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> <li class="post"> <p class="alignleft"><?php next_posts_link('? Older Entries') ?></p> <p class="alignright"><?php previous_posts_link('Newer Entries ?') ?></p> </div> <div class="span-8 last sidebar"> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?> </div> </div> </body> </html>
Forum: Fixing WordPress
In reply to: sattan.org has royally messed up my blogI would download the WordPress ZIP file, and FTP upload/overwrite ONLY that wp-header file.
Forum: Fixing WordPress
In reply to: How do I upload or customize the header?Via FTP client or Dashboard -> Design -> Theme Editor.
Forum: Fixing WordPress
In reply to: the_content() and more tagWell, remember to change that every time you upgrade WordPress.
Forum: Fixing WordPress
In reply to: Problems with commentsThat’s the style.css file. Click on Main Index Template (index.php) from the list on the right.
Forum: Fixing WordPress
In reply to: the_content() and more tagCorrection:
.more:before{content:'\5B...\5D';}
Forum: Fixing WordPress
In reply to: the_content() and more tagI tried this but it’s still a part of the link.
<div class="entry"><?php the_content('<span class="more"><br />Continue Reading »</span> ' . get_the_title('', '', false)); ?>
In style.css:
.more{content:'\5B...\5D';}
So I’m guessing the only way is to type the […] just before you insert <!–more–> in your post.
Forum: Fixing WordPress
In reply to: Problems with commentsIt depends on where you want that link to appear on your homepage, but it has to reside within “The Loop.” Post your index.php’s code here, and I can tell you where to paste the new line.
Most likely it’ll be immediately after:
<div class="entry"> <?php the_content('Read the rest of this entry »'); ?> </div>
@and also,
I think that’s possible, but it defeats the purpose of having a separate page for the post; and it’ll eventually make the homepage extremely long if you are to have more posts in the future.Forum: Fixing WordPress
In reply to: How to set current tab in custom navigation (header.php)I think you’d have to create a separate php file (essentially a new template file) for each of your main navigation elements. Because if you were to do what ALA suggests here, there is no way to distinguish each of the pages (assuming you’ve created them with Write -> Page) since the content is pulled dynamically into page.php.
Forum: Fixing WordPress
In reply to: Problems with commentsYou can click on the post title from the homepage, which brings you to the post’s page, and I was able to comment there. Feel free to delete it.
If you have FTP access to your server, you can edit the file with any text editor. But if you don’t know what I’m talking about, you can edit the file with Theme Editor from your WordPress Dashboard.
Dashboard -> Design -> Theme Editor -> index.php
Forum: Fixing WordPress
In reply to: Problems with commentsThe code missing on the index.php file is below.
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
Forum: Fixing WordPress
In reply to: Problems with commentsI was able to comment just now.
The problem is that there isn’t an obvious link to comment. Are you using a downloaded theme, or did you design it?