kilpatrick
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to import posts from just 1 category ??Thankyou Michael. That worked good.
Forum: Fixing WordPress
In reply to: How to make the category page into an index pageLooks kind of interesting although Im sure it will be really difficult for me. Having read your links it looks like I can use category slugs in wp2.9 to direct WP to use a certain template.
So with this in mind I can set up category themes for certain categories and call them in using the slugs ?
i AM THINKING i CAN THEN USE YOUR SUPPLIED CODE ABOVE to make some category pages that show posts exceprts from each sub category, or selected sub cataegories. As my news category has about 20 sub categories I would probably just want to show about 10 of them on news category page
Forum: Fixing WordPress
In reply to: How to make the category page into an index pageThankyou Michael, I am working on quite a large project to tie several wordpress installations and some htms pages together and put them all in one installation.
some of My category pages will need to be an index page for the sub categories in that category. Whilst other categories wont have sub categories so will just show the most recent posts.
Will your suggestion do this. I will be getting on with the project in the coming days. I have no understanding of coding but am able to edite, cut and paste stuff into template files.
Cheers – Glenn
bump
Forum: Installing WordPress
In reply to: Rinstall and blank screen`I am reinstalling too after being infected with the latest eval_base hack. I have come up with the blank screen problem too and thought I had found the answer when I located this topic. Sadly there is no replies here. Did you sort out this problem ? If so please add some information as I am stuck.
Forum: Fixing WordPress
In reply to: WP adding code to the end of url links breaking themSame problem here. I think its a hack. Im also experience some other strange unexplainable problems with the rss.
Forum: Fixing WordPress
In reply to: Getting an errorTHink Ive solved it.
Someone or something had changed my permalink structure. Have I been hacked ?
Im going around there tomorrow to try from their PC . Ill let you know what happens.
Forum: Plugins
In reply to: More Fonts And Larger WYSIWYG Editorbump
Thanks for your help guys. This is now solved. The Htaccess file in the root was the problem. I have it set to 301 all from https:// to https://www..
I turned it off and then I got in and changed the urls to https://www. as opposed to the standard https://sitename anmd then I put the htacess back in place.
Forum: Themes and Templates
In reply to: Problem in single.php but not on posts or category pagesorry cant get the bold bit to show. But its the div between the strong tags
<?php else : // this is displayed if there are no comments so far ?>
<div>
<?php if (‘open’ == $post->comment_status) : ?>Forum: Themes and Templates
In reply to: Problem in single.php but not on posts or category pageThink I have now solved this with a little help from another related topic on here.
There is a missing div but its missing from a conditional part of the code. If the single.php has comments present then the div is in existance. If the single.php has no existing comments then another bit of code is invoked and the <div> is missing.
The <div> needs inserting here. Please see the bold div. :
<code> <?php if ($comments) : ?> <div id="comments"> <h3><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3> <ol class="commentlist"> <?php foreach ($comments as $comment) : ?> <li <?php echo $oddcomment; ?>id="comment-<?php comment_ID() ?>"> <?php echo get_avatar( $comment, 32 ); ?> <span class="commentsName"><?php comment_author_link() ?></span> Says: <?php if ($comment->comment_approved == '0') : ?> <em>Your comment is awaiting moderation.</em> <?php endif; ?> <div class="commentsDate"><a>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('edit','??',''); ?></div> <?php comment_text() ?> <?php /* Changes every other comment to a different class */ $oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : ''; ?> <?php endforeach; /* end for each comment */ ?> <?php else : // this is displayed if there are no comments so far ?> <strong><div></strong> <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <?php else : // comments are closed ?> <!-- If comments are closed. --> <p class="nocomments">Comments are closed. <?php endif; ?> <?php endif; ?> </code>
Forum: Themes and Templates
In reply to: problem with egecia templateAny chance you could post up what you did to solve this so that others with the problem can sort it out. I arrived here from google so this is the page most will drop on for the answer.
Forum: Themes and Templates
In reply to: Problem in single.php but not on posts or category pageThanks for your support on this. Its not yet solved though.
When I add a closing div to the template.php it solves the problem. But then when you view a post without any comments on it, the problem reappears.
for example :
https://holderness-coast-fishing.co.uk/?p=22
I am viewing in FF
Forum: Themes and Templates
In reply to: Problem in single.php but not on posts or category pagebump