johnklijnen
Forum Replies Created
-
Forum: Hacks
In reply to: conditional tag for termsAnd again thanks alchymyth.
But it’s not working;-)
It produces no results. I also tried this:<?php $regio = array('limburg', 'noord-brabant'); ?> <?php if ( in_array('limburg', $regio) ): ?><a href="https://www.somedomain.com/?eventtype=sport®io=limburg" title="Limburg">Limburg</a><?php endif; ?> <?php if ( in_array('noord-brabant', $regio) ): ?><a href="https://www.somedomain.com/?eventtype=sport®io=noord-brabant" title="Noord-Brabant">Noord-Brabant</a><?php endif; ?>
It’s interesting but this means changing the array manually. If only I could change the array to automatically display the active terms! But I think I’m getting closer to a solution. Maybe someone knows the magical code?
Forum: Hacks
In reply to: conditional tag for termsThanks alchymyth,
I’m using a term within a taxonomy and not a tag (so the options with “tag” don’t do the trick).Or am I missing something?
If I use “wp_list_categories( $args )” with the appropriate args it shows the regions that are “active”. like this:<?php $taxonomy = 'regio'; $orderby = 'name'; $show_count = 0; // 1 for yes, 0 for no $pad_counts = 0; // 1 for yes, 0 for no $hierarchical = 1; // 1 for yes, 0 for no $title = ''; $args = array( 'taxonomy' => $taxonomy, 'orderby' => $orderby, 'show_count' => $show_count, 'pad_counts' => $pad_counts, 'hierarchical' => $hierarchical, 'title_li' => $title ); ?> <ul> <?php wp_list_categories( $args ); ?> </ul>
This is almost exactly what I’m looking for. The problem with this is that I can’t ad the custom link to it (I’m using “Query Multiple Taxonomies” plugin).
I hope that I explained the problem better this way?
Thanks in advance, John.
Yes!!
Scribu, You are the best!Thanks Scribu,
I hope that you add it as an option in the next version of the plugin!
In the meantime I solved the problem in css although not exactly what I want:.taxonomy-drilldown-lists .term-item .children{ display:none; } .taxonomy-drilldown-lists .term-item:hover .children{ float:left; display:block; padding:0 0 0 5px; }
Let me try again.
Is there any way of making the sub-taxonomies disappear (in the drilldown lists) if the main taxonomy hasn’t been selected? I want to keep the list as short as possible.
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Firefox problem with WP-tableYes! That did the trick. Although I couldn’t save the file as ANSI (I’m on Mac OS with texteditor) I used ASCI 2 instead and now things work as they should!
Super fantastic Tobias, You really rock!
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Firefox problem with WP-tableHallo Tobias,
I already switched off the Qtranslate plugin and several others but without any changes.
I just upgraded to 1.8 again and things have turned worse again in Firefox. Table colors are gone also.where do i set the encoding to “ANSI”? In the server settings from the hosting is no ANSI available. If set to standard ISO ISO-8859-1 or UTF-8 makes no difference.
I did set it manualy to ANSI but I don’t know if this is correct and it didn’t change anything.Thanks again!
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Firefox problem with WP-tableHi Thomas,
Thanks for your effort to help me!This is the html code for inserting the table:
—-
Klik op een kolom om deze oplopend of aflopend alfabetisch te ordenen of beperk uw selectie in het zoekvlak.
[table id=4 /]—-
I should mention that i’m using Qtranslate plugin. So this means that there is the same code in English with the language separators <!–:nl–>dutch text here<!–:–><!–:en–>English text here<!–:–>. I just upgraded this plugin. But before I did this code was visible and I placed the Table code outside of these language separators and this didn’t make the error go away.I looked into the lang-nl_NL.text but can’t find any weird characters in the file. I used the original from the version 1.7 that I downloaded yesterday. If I click on the link in your message above, no weird characters in Safari and Explorer but in Firefox I see these weird caracters: ???
I checked the character encoding of the FTP program and the website (header and WordPress settings) and they are set to UTF-8. I have no idea at this point how to solve this.
Maybe you have a solution?
And again many thanks Tobias for your effort!Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Firefox problem with WP-tableThanks Thomas, but changing these header settings didn’t solve the problem. Although I lost 22 errors at once (thanks for pointing me out). But I found this error on this page:
https://www.mcpmusic.nl/publisher/muziek-samples/—-
Line 193, Column 89: document type does not allow element “table” here; missing one of “object”, “applet”, “map”, “iframe”, “button”, “ins”, “del” start-tag
…”wp-table-reloaded-id-2-no-1″ class=”wp-table-reloaded wp-table-reloaded-id-2″>
?
The mentioned element is not allowed to appear in the context in which you’ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you’ve forgotten to close a previous element.One possible cause for this message is that you have attempted to put a block-level element (such as “<p>” or “<table>”) inside an inline element (such as ““, “<span>”, or “<font>”).
—-I don’t know what it means, if this is causing my problems and what to do about it.
Thanks in advance Thomas
Greets John.Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Firefox problem with WP-tableI switched back to version 1.7 and noticed that the colors are oké now. But still there is no navigation at the top (Search field and show – rows) in Firefox. What’s up, anyone????
Forum: Fixing WordPress
In reply to: Gallery pagination and searchIn reply to grumbirky Q 1.
I’m glad to see that I’m not the only one who has this problem. Why is searching the image gallery possible for Google (who’s indexing the native image gallery much better then my Nextgen gallery) but the internal wordpress search engine can’t seem to find anything (and I mean anything) in the WordPress Gallery? Maybe there is a hack for the Image.php or the search.php file that makes this work? Why is it difficult to search attachments? I don’t get it. Anyone???