jpepper
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Dynamic ID for <body> and subpagesYou may want to check out this thread. I use this function to get the top parent for a page. You could then convert the page ID into a page name to use in your body tag.
Forum: Plugins
In reply to: Script help: Get Array of Page ParentsKafkaesqui. Your solution works great! Thank you. I will make a donation on your behalf to the ACS.
I hope someone else finds this function useful.
Forum: Plugins
In reply to: Script help: Get Array of Page ParentsThanks so much Kafkaesqui. Let me test it and I’ll get back to you shortly. Again thanks!
Forum: Plugins
In reply to: Script help: Get Array of Page ParentsOk. How about a bounty of $20 (US) for the first person that can provide the above described funtion. I’ll pay via PayPal. If you do decide to take me up on this offer, please post and let the board know that you are working on it. Thanks!
Forum: Plugins
In reply to: Script help: Get Array of Page ParentsAnyone?
Forum: Plugins
In reply to: FCKeditor Plugin ChenPressIs there a way to toggle the editor? I see that zz85 code starts the editor, but is there a way to switch back?
Forum: Fixing WordPress
In reply to: WYSIWYG II Plugin make extra <p> tag HELPI am having trouble getting WYSIWYG Plugin for WordPress to work in IE 6.0 on XP? Works fine with Firefox.
Forum: Fixing WordPress
In reply to: get_parent_page ??Thanks for sticking with it CF. It worked!
Plugin anyone?
Forum: Fixing WordPress
In reply to: get_parent_page ??Well almost perfect. It does successfully get the parent ID when used in the header, but it then messes up the page output generated from index.php. It looks like this fails: if (have_posts()) in index.php.
Forum: Fixing WordPress
In reply to: get_parent_page ??Perfect. Thanks so much CF!
Doesn’t it seem like this should be built in?
Maybe someone with more skills than me can craft a simple plugin. If so, would it make sense to return an array of all the parents up to the top/root to cover the situation of nested pages.
Again thanks!
Forum: Fixing WordPress
In reply to: get_parent_page ??I see. I got it to work in index.php. Thanks.
But I was hoping to use it within header.php because that is where I call my navigation.
Forum: Fixing WordPress
In reply to: get_parent_page ??Is get_var a function?
Forum: Fixing WordPress
In reply to: get_parent_page ??CF-Is this what you asked?
Forum: Fixing WordPress
In reply to: get_parent_page ??CF- I couldn’t get the above to work. $post_name doesn’t return anything. Maybe I am using this wrong? I assumed that $post_name would return the parent??
Forum: Fixing WordPress
In reply to: get_parent_page ??CF – Thanks for the quick response. I’ll give it a shot.