Rob Cubbon
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to do three loops within index.php for magazine themeThank you, MichaelH, that looks 100% like what I was looking for!!! You’re a star 🙂
Forum: Fixing WordPress
In reply to: Registration with questionThank you, Ipstenu, I searched the plugin directory but I don’t know how I missed that one!
Forum: Fixing WordPress
In reply to: No navigation on left hand side of dashboardThank you for your help, samboll. It looks like enabling java or something else has worked and she’s OK now!
Forum: Fixing WordPress
In reply to: No navigation on left hand side of dashboardAll folders seem to be 755 and all files 644. .htaccess is 755.
Shall I chmod 777 on /wp-admin and 666 on which file?
Forum: Fixing WordPress
In reply to: No navigation on left hand side of dashboardlinux, samboll
Forum: Fixing WordPress
In reply to: No navigation on left hand side of dashboardI’d asked the client to go into
http://www.theblog.com/wp-admin/edit-pages.phpAnd she says that it says: “You don’t have sufficient permissions to access this page”.
Forum: Fixing WordPress
In reply to: No navigation on left hand side of dashboardthanks, samboll, will ask the client
Forum: Plugins
In reply to: Contact Form 7 – Windows ServerExactly the same here. I can get other contact forms to work but none are as good as Contact Form 7.
Has anyone got Contact Form 7 to work on a Windows server?
Forum: Fixing WordPress
In reply to: php code to list children of a known pageThank you, buddha trance, that’s great. And if you want to display the child pages of a particular parent, say the page id is 5, you can do this on any page:
<ul> <?php wp_list_pages('title_li=&child_of=5') ?> </ul>It wasn’t me that worked that out.
If you want to put either of these into the body of a page or post using Exec-PHP plugin, the code with the dynamically created post id doesn’t work (it lists all pages and children) whereas the one with the specified page id does!
Forum: Fixing WordPress
In reply to: php code to list children of a known pageI’m not there yet but I’m going a long way with this plugin:
Forum: Fixing WordPress
In reply to: php code to list children of a known pageThank you, buddha trance, I’d been there. What I want is a list of all the children of a certain page. I actually want to list on page “Africa” it’s children: “Angola” “Benin” “Botswana” etc.
I might have missed something in that link.
Forum: Fixing WordPress
In reply to: List page and children of current page with linksI think you are, mO_m, the guy says on the page I linked to:
I didn’t spend too much time doing research on this, but as far as I can tell, this only works 2 levels deep (top-level and 2nd level). If you have 3 levels of sub-pages, this won’t work (or at least won’t work like it’s supposed to).
I just found by trial and error something that was close to what I was looking for – I’m a PHP noob.
It would be good to know how to display a page and the sub-pages, and sub-sub-pages of it when you are on either that page or one of it’s sub-pages.
Forum: Fixing WordPress
In reply to: List page and children of current page with linksI’ve found putting this code in sidebar lists child pages if there are any of the parent plus lists them if you are on one of the child pages:
<?php global $wp_query; if( empty($wp_query->post->post_parent) ) { $parent = $wp_query->post->ID; } else { $parent = $wp_query->post->post_parent; } ?> <?php if(wp_list_pages("title_li=&child_of=$parent&echo=0" )): ?> <div id="submenu"> <ul> <?php wp_list_pages("title_li=&child_of=$parent" ); ?> </ul> </div> <?php endif; ?>Found it here: http://www.blogherald.com/2007/07/26/wordpress-dynamic-sub-page-navigation/
Forum: Fixing WordPress
In reply to: Changing from blog to static home page how to display blog?Thank you, MichaelH
Forum: Fixing WordPress
In reply to: a – text link – styles going mad!iridiax, thank you so much, I was pulling my hair out over this one. I’ve been through the CSS and I’d made that particular mistake many times – I’ve rectified it and the site’s working perfectly.
Bless you.