webrob
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Taxonomy filtersI was looking through my code more and testing it out on the link I posted http://www.constitutingamerica.org/dev2/. The first drop down box does not change which is what I want. The second box just clears its results. What I think is happening is that the second box is dependent on the $wp_query->get_queried_object_id(); variable I am grabbing to populate the second drop down. So when the second box is changed it is looking for children of the last query. To keep the results in the second box I need to grab the ID of the custom taxonomy that is selected in the first box. I have tried a bunch of different variables from the first half of the code that creates the first box but nothing seems to stick.
Any ideas on what I can grab from that first code to keep that second box populated with all of the child results?
Forum: Fixing WordPress
In reply to: Custom Taxonomy filtersI have put the following code together and maybe someone can help me figure out the last piece of the puzzle. You can also see what is happening at the URL http://www.constitutingamerica.org/dev2/
<?php $args = array( 'show_option_all' => '', 'show_option_none' => '', 'orderby' => 'ID', 'order' => 'ASC', 'show_count' => 1, 'hide_empty' => 1, 'child_of' => 0, 'parent' => 0, 'exclude' => '', 'echo' => 1, 'selected' => 0, 'hierarchical' => 0, 'name' => 'cat', 'id' => '', 'class' => 'postform', 'depth' => 1, 'tab_index' => 0, 'taxonomy' => 'classification', 'hide_if_empty' => false, 'walker' => '' ); $tax_menu_items = get_categories( $args ); ?> <form name="class-filter" method="get" > <select name="class-dropdown" onchange="document.location.href=this.options[this.selectedIndex].value;"> <option value="">Select</option> <? foreach ( $tax_menu_items as $tax_menu_item ): ?> <option value="<?php echo get_term_link($tax_menu_item,$tax_menu_item->taxonomy); ?>"><?php echo $tax_menu_item->name; ?></option> <?php endforeach; ?> </select> <?php $sub_tax_id = $wp_query->get_queried_object_id(); if($wp_query->get_queried_object_id()) { $args2 = array( 'show_option_all' => '', 'show_option_none' => '', 'orderby' => 'ID', 'order' => 'ASC', 'show_count' => 1, 'hide_empty' => 1, 'child_of' => 0, 'parent' => $sub_tax_id, 'exclude' => '', 'echo' => 1, 'selected' => 0, 'hierarchical' => 0, 'name' => 'cat2', 'id' => '', 'class' => 'postform', 'depth' => 1, 'tab_index' => 0, 'taxonomy' => 'classification', 'hide_if_empty' => true, 'walker' => '' ); $tax_menu_items2 = get_categories( $args2 ); ?> <select name="class-dropdown2" onchange="document.location.href=this.options[this.selectedIndex].value;" > <option value="">Select</option> <? foreach ( $tax_menu_items2 as $tax_menu_item2 ): ?> <option value="<?php echo get_term_link($tax_menu_item2,$tax_menu_item2->taxonomy); ?>"><?php echo $tax_menu_item2->name; ?></option> <?php endforeach; ?> </select> <? } ?> </form>The only thing I need to figure out is how to keep the second drop down menu populated once it has been selected. Any ideas?
Forum: Plugins
In reply to: [WP Document Revisions] Echoing File Type on Front EndI have looked through the code cook book and I cannot figure out how to get this part done.
Forum: Themes and Templates
In reply to: READ MORE on home pageI would like to just show the first paragraph on the home page then when the user clicks the READ MORE it would take them to the full article.
I thought I had done this with pages before… Hmmmm
Forum: Plugins
In reply to: [Custom Menu Images] Generated CSS path is giving 404 errorI am getting the same
Warning: Invalid argument supplied for foreach() in /home/lifetole/public_html/wp-content/plugins/custom-menu-images/custom-menu-images.php on line 150I have used this plugins on other sites with no problems. This just came up today.
Forum: Fixing WordPress
In reply to: Locked me out my own siteAnd I am NOT missing the file. Both files are there.
Forum: Fixing WordPress
In reply to: Locked me out my own siteDid you find out how to fix this error:
Warning: require(/domains/kadr.nl/wordpress/wp-includes/compat.php) [function.require]: failed to open stream: Permission denied in /domains/kadr.nl/wordpress/wp-settings.php on line 246
I am having the same issue now.
Forum: Fixing WordPress
In reply to: Permissions problem, help!Same thing here!
Forum: Plugins
In reply to: sociable img buttons showing in my sidebar?I am having this same issue. How can we fix it?
Forum: Fixing WordPress
In reply to: Let users post to a specific categoryCan someone please help with this???
Forum: Fixing WordPress
In reply to: wp-classified parse errorThe plugin works well but now when I try to insert media in a regular post or page I get this error:
βAre you sure you want to do this?
Please try again.β
Does anyone have any ideas anout this?Thanks in advance!
Forum: Plugins
In reply to: [Plugin: WP-UserLogin] Possible glitchI think this would be a great plug-in but I am getting an error.
Please see in the upper right of my site:
http://dev.piermarketing.com/sd/
Any ideas?
Forum: Plugins
In reply to: [Plugin: ICS Calendar] Need to say ‘No Events’ when there are noneThis is a great calendar and super easy to use. I just have one problem and that is I can not scroll to the Next and Previous months.
Have a look:
http://emarketingalliance.biz/blog2/?page_id=8Forum: Fixing WordPress
In reply to: All posts for Month in SidebarI am not sure about the calendar…do I have to ahve that installed?
Forum: Themes and Templates
In reply to: Trouble adding sidebar to single.phpI am sorry. I am just extremely frustrated with this one single issue. I have gone through and fixed my errors but it still floats down….I just can’t get it π