robhav
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Permalinks in 2.6.1 still not workingStill not working for me :-((((
Same problem here. What is happening is WordPress is trying to put the attachment or file into the uploads directory but the server doesn’t give it permission to do so. To fix this, I have also tried connecting via FTP and setting the permissions myself. I.e. CHMOD the /uploads/ folder to 777.
However this doesn’t work. Am now waiting to hear from the host to see if they have changed any settings. Previously, I have been able to upload files ok.
Forum: Themes and Templates
In reply to: Manipulating Theme TemplatesThat seems to just display the current page text.
So I get:
– News Title 1
Current Page Text
– News Title 2
Current Page TextI need to be able to display the excerpts of the particular news stories.
i.e.
– News Title 1
News 1 Text Excerpt
– News Title 2
News 2 Text ExcerptThanks again for your replies by the way… appreciate it.
Forum: Themes and Templates
In reply to: Manipulating Theme TemplatesGreat have done that. Have also added code to show the last ten posts. I can’t seem to find any info however on adding a summary of each post underneath the titles?
<ul><?php $myposts = get_posts('numberposts=10'); foreach($myposts as $post) : ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?></ul>Forum: Themes and Templates
In reply to: Generic Banner specified in CSSAwesome. Thanks for your help!
Forum: Themes and Templates
In reply to: Generic Banner specified in CSSThanks for your reply! I have tried to used an else statement, but can’t seem to get the syntax right. At the moment I’ve got the following but it is not parsing correctly:
<div class="lookhere"> <div <?php if ( is_page('emotional-wellbeing') ) { ?>class="lookhere emotionalwellbeing"<?php } elseif ( is_page('healthy-eating-exercise') ) { ?>class="lookhere healthyeating_exercise"<?php } elseif ( is_page('general-health') ) { ?>class="lookhere generalhealth"<?php } else { ?>class="lookhere contactus"<?php } </div></div>Forum: Plugins
In reply to: Listing Sub Pages in SidebarOk I’ve resolved it – the code is:
ORDER BY $wpdb->posts.menu_order ASC";Forum: Plugins
In reply to: Listing Sub Pages in SidebarThanks for you help. This works great.
Just one more question – if I wanted to order the subpages using the page order rather than the date – would I change:
ORDER BY $wpdb->posts.post_date DESC";to
ORDER BY $wpdb->posts.post_title DESC";Forum: Plugins
In reply to: Listing Sub Pages in SidebarThanks for your help. I have pasted the sidebar code into http://wordpress.pastebin.ca/812033.
Forum: Plugins
In reply to: Listing Sub Pages in SidebarStill a bit confused. I’m well versed in html and css, but don’t understand how this is put in the sidebar.php. In it’s current format it doesn’t do anything.
Forum: Plugins
In reply to: Listing Sub Pages in SidebarHi Michael. Thanks for your reply. I’m a newbie so not much of this makes any sense. How do I implement this?