richarduk
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: DIV and Paragraph beheaver in 2.1Admin Panel / Users / Your Profile / Use the Visual Editor when writing (untick) brings everything back to normal!
Forum: Fixing WordPress
In reply to: DIV and Paragraph beheaver in 2.1WP 2.1.1 has the same flaw with <!–nextpage–>, surrounding it in <p></p> elements so that effectively nextpage doesn’t work.
Bummer. Just tried in on fresh instal with default theme.
Glad other people have found similar problem.
Have posted twice before about this, guess not many people are using W.P 2.11 yet
WP 2.1.1 is broken
line 28
<h3> Write a comment ...Change it to
<h3 id="comments"> Write a comment ....That should take you to the top of the comment form from any links
Forum: Fixing WordPress
In reply to: How to add line breaks in to posts.Try inserting <p class=”spacer”> and define it in style sheet, or even just
`<p style=”line-height:30px”>(Sorry, Firefox is playing silly buggers and wont let me put the closing p tag on.)
This wont get stripped out
Forum: Themes and Templates
In reply to: sort chronologically and then display alphabeticallyI got that code from here
http://codex.wordpress.org/Template_Tags/get_posts
Is it possible to do this with the parameters on that page?get_posts(‘numberposts=10&orderby=post_date&orderby=post_title’);
Forum: Themes and Templates
In reply to: sort chronologically and then display alphabeticallyNot my code because I’m not clever enough to figure it out (yet) but I have in my code snippets the following:
In the event you want to show ten posts sorted alphabetically in ascending order on your web page, you could do the following to grab the posted date, title and excerpt: <?php $postslist = get_posts('numberposts=10&order=ASC&orderby=post_title'); foreach ($postslist as $post) : start_wp(); ?> <?php the_date(); echo "<br />"; ?> <?php the_title(); ?> <?php the_excerpt(); ?> <?php endforeach; ?>Your theme might have something like this in comments.php
<h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses');?> to “<?php the_title(); ?>”</h3> The above code displays a header element <h3 id="comments"> above the post which will read (say): No responses to "Oranges Grow on Trees" One response to "Oranges Grow on Trees" 5 responses to "Oranges Grow on Trees" <h3 id="comments"> acts as an anchor. Any link to a comment where the link has been created using <?php comments_popup_link();?> automatically has either #comment or #respond added on to the end of the link. Links with no comments have #comment added. Links WITH comments have #respond added. See: http://codex.wordpress.org/Template_Tags/comments_numberForum: Fixing WordPress
In reply to: Messed up navigation on additional pagesTo be honest it’s a bit difficult without comparing it with the original. My guess is that it’s the markup that’s being altered as anything php would have delivered nasty error messages.
Therefore I would be looking at the divs that have been added by the comments are closed code e.g for the p class=nocomments, which contains comments are closed. But I couldn’t see anything there.
Suggest you either start again from scratch or better still remove one bit of code at a time until things change one way or another.
Sorry couldn’t help
Forum: Fixing WordPress
In reply to: Messed up navigation on additional pagesYou’ve got a missing
</div>According to firefox it’s the end of this one
<div id="wrapper"><br class="clear">is also not closed(Firefox / View source + HTML validator plugin)
Forum: Fixing WordPress
In reply to: next_posts_link() problemsAll I can see is some sort of anchor on the next page http://www.ordenius.se/bear/bear/?m=200609#038;paged=1
butno anchor on the previous page
http://www.ordenius.se/bear/bear/?m=200609&paged=3These are the tags from
http://codex.wordpress.org/Template_Tags# previous_post_link
# previous_post (Deprecated)
# next_post_link
# next_post (Deprecated)
# posts_nav_linkFor single post pages you should be using
<?php previous_post_link(); ?>For multiple post pages you should be using
<?php posts_nav_link(); ?>Forum: Fixing WordPress
In reply to: How do i remove the first p tag from a post?A quick and dirty workaround is simply to surround the image with div tags. You can give them a class to float left or right etc. although the div tag alone prevents WP adding p tags.
It’s a pain ….
More of the same here …
http://wordpress.org/support/topic/86982?replies=12Forum: Fixing WordPress
In reply to: How do i remove the first p tag from a post?How about using the code editor which is a tab beside the visual editor, and just manually removing the one <p> tag?
Forum: Requests and Feedback
In reply to: posts_nav_link bug?Ok, resolved it.
I needed to put a query_string in the query_posts
<?php query_posts($query_string . 'order=DESC&showposts=2') ?>which was in front of The Loop. For anyone reading, it’s on this page and preserves information that would otherwise be lost:Forum: Requests and Feedback
In reply to: posts_nav_link bug?Okay …
I went over that page many times before I posted – which bit of that page should I be reading?
Forum: Fixing WordPress
In reply to: <!–nextpage–> not working in 2.1.1?Sorry, should have added that I’m using WP 2.1.1