mickwarnes
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Fields formattingThanks vtxyzzy
That has worked perfectly. I was almost there using floats and hadn’t thought about using tables.
Cheers
MickForum: Fixing WordPress
In reply to: Custom Fields formattingThe URL for where I currently am is http://hwww.hertsvolleyball.co.uk/hva/teams/local-teams/harriers-st-albans/
I have changed the meta to replace the unordered list for a <span> in post-template.phpfunction the_meta() { global $id; if ( $keys = get_post_custom_keys() ) { echo "<span class='post-meta'>n"; foreach ( $keys as $key ) { $keyt = trim($key); if ( '_' == $keyt{0} ) continue; $values = array_map('trim', get_post_custom_values($key)); $value = implode($values,', '); echo "<span class='post-meta-key'>$key:</span> <span class='post-meta-value'>$value</span></br>n"; } echo "n"; } }in style.css I currently have the following to format the custom fields, which I know isn’t right, but I have run out of ideas.
.post-meta-value {color: blue; left:400px; width:400px;} .post-meta-key {font-weight: bold; font-size: 110%; width:200px;}I have been experimenting with absolute and relative positioning and just can’t seem to get it right.
ThanksForum: Themes and Templates
In reply to: [Responsive] Sidebar /Content print on different pagesYes. For example, on the first page I get the header, navigation, sidebar and breadcrumbs in the positions they should be. Then page stops there. The second page shows the content in it’s right position. I could just remove the sidebar from the CSS-print, but wondered why it doesn’t all print altogether.
BTW – the home page prints with all the elements in the correct place.
Thanks
MickForum: Fixing WordPress
In reply to: Server result code shows 404 error, but page displaysSoultion to my problem was here http://www.adrogen.com/blog/wordpress-wp-blog-headerphp-causes-404-in-ie/
Forum: Fixing WordPress
In reply to: Show archives from one categoryI have found the right plugin for this.
WordPress Category Archive Widget
A bit obvious really 🙂Forum: Themes and Templates
In reply to: Extra in entry-summary on last post in archiveI must apologise to WordPress for doubting their coding. This was operator error, I had checked everything before posting this, except the post itself as I had copied legacy posts from the HTML of the old website and inadvertantly costed the <div> tags.
SorryForum: Themes and Templates
In reply to: Add category name to next and previous links in TwentytenThanks Chip
Forum: Themes and Templates
In reply to: Add category name to next and previous links in TwentytenSorry, just worked out that the structure of next_posts_link is very different to next_post_link and have worked it out.
<?php next_posts_link( $label , $max_pages ); ?>
But I still wouldn’t mind knowing what ‘twentyten’ does?
Forum: Fixing WordPress
In reply to: Show archives from one categoryI see where you are coming from on this dgwyer, and I have tried it, but I do still want everything archived. I just want it to distinguish what category the post is from and only show the archive for that category without having to create another template.
Forum: Fixing WordPress
In reply to: Showing posts in existing websiteThanks Esmi
I am a bit new to this and unsure of it’s limits, but now i can explore a different approach.
MickForum: Fixing WordPress
In reply to: Showing posts in existing websiteThank you for patience. I have been huffing and puffing at this for hours, so I’m not sure if I don’t get it or whether I am explaining it badly.
So, I have a WP installation in a folder on the root of the existing website with some posts on it.
I have included code used in Integrating_Wordpress_with_Your_Website to show excerpts of the posts on the original websites home page.
When I click on the read more hyperlink the full post comes up, but in a WP template. but I want it to appear on an existing php on the website.
A) can this be done and B) how do you do it?
ThanksForum: Fixing WordPress
In reply to: Showing posts in existing websiteCan I change it to an existing php page on my website?
Forum: Fixing WordPress
In reply to: Showing posts in existing websiteThanks Esmi, I used this to create the excerpts in the home page, but when I click on read more it picks up a template I created (when I thought I would convert the whole site). Where is the setting to change what template the hyperlink goes to?