strugglefish
Forum Replies Created
-
Forum: Plugins
In reply to: The Featured Posts (beta testing)Ok so maybe it isn’t broken, however I’m getting strange behavior from what appears to be caching.
Forum: Plugins
In reply to: The Featured Posts (beta testing)This appears broken in 2.0.2
Forum: Fixing WordPress
In reply to: Embed Flash with Kimili Flash Embed?This pluging appears to be broken, the embed code as mentioned above just prints out to the page you inserted it on. Any ideas?
Forum: Themes and Templates
In reply to: How to show child pages from a parent page automatically?Maybe this will help some of you too.
I figured out how to how, see this thread for the solution:
https://www.ads-software.com/support/topic/32422Forum: Fixing WordPress
In reply to: sidebar – Is there an is_child for pages?I have figured out how to do what I want: first install this plugin https://www.ads-software.com/support/topic/32422
and
fold_page_list plugin
then in your template use something like:
if (tbr_is_descendant_of(3))
{
wswwpx_fold_page_list(“title_li=&depth=3&child_of=3&show_date=modified&sort_order=ASC&date_format=$date_format&sort_column=menu_order”, ‘TRUE’);
}Forum: Plugins
In reply to: is_child() functionality?AWesome! This would be an awesome addition to the core imo, thank you so much, now I wont’ have to pull the rest of my hair out.
Forum: Fixing WordPress
In reply to: sidebar – Is there an is_child for pages?Thanks moshu>> I responded in the thread you specified: https://www.ads-software.com/support/topic/49712?replies=11
Kind of works the way I need, except the when a child page is clicked the menu changes.
Forum: Themes and Templates
In reply to: How to show child pages from a parent page automatically?I have the following hierachy, where Page# is a horizontal menu, and *sub_Page are all located in a vertical menu in the sidebar.php template file.
> Page1
>> sub_Page1
>>> sub_sub_Page1
>> sub_Page2
>>> sub_sub_Page1
> Page2
The code above works fine until I click on any ‘sub_Page#’ the vertical menu changes to:
>>> sub_sub_Page
How do I keep the vertical menu under the ‘Page#’ to show all the time?
Here is my template code:
if (is_page())
{
$g_page_id = $wp_query->get_queried_object_id();
wp_list_pages("depth=4&title_li=&child_of=".$g_page_id."&sort_column=menu_order");
}
Any help would be appreciated!
Forum: Fixing WordPress
In reply to: sidebar – Is there an is_child for pages?I’m trying to figure out the same thing. Any luck?
Forum: Fixing WordPress
In reply to: Customizing sidebarAre you trying to do this?
if ( is_page('3') || is_page(12) || is_page(22) || is_page(11) || is_page(13))
{
}
or are you trying to avoid that?
Forum: Requests and Feedback
In reply to: wp_list_pages() ideaYes indeed. Awesome! Thank you kindly!
Forum: Plugins
In reply to: Child and Parent PagesForum: Plugins
In reply to: Highlighting topmost parentJohan kindly replied referncing the following thread:
Forum: Plugins
In reply to: Highlighting topmost parentjohanvanderwijk: Trying to implement the same thing you have, however i’m getting an error
Fatal error: Call to undefined function: page_parents() in...
Can you let us all know how you’ve implemented this functionality?
Forum: Plugins
In reply to: Child and Parent PagesHi did you find out how to do this?