Martin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: WP_Query, using a variable in tax_query termsThanks, that’s great – it works. I didn’t need to explode it back into an array as I was already getting the array into a variable with this line;
$listing_cat = get_post_meta(get_the_ID(), 'show_what_listings', true);
so just used $listing_cat variable.
Much appreciated!
Forum: Themes and Templates
In reply to: WP_Query, using a variable in tax_query termsI forgot to mention, when multiple terms are selected within the custom field and the array is populated via the variable with something like 4, 7, 8 it only shows the posts from the first category – in this case id 4.
Forum: Themes and Templates
In reply to: If current taxonomy has child and/or parentWorks a treat, thank you so much!
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] contact form 7 – DropdownThis just saved me loads of time, thank you!
Forum: Plugins
In reply to: [More Fields] More Fields (2.1) incompatible with WP 3.3just found the same thing, the WYSIWYG text field is now a tiny box with no tool bar.
Forum: Plugins
In reply to: [Simple Fields] [Plugin: Simple Fields] Using within WP_Query loopDid you have any luck with fixing this – I’m just about to try some query’s using the custom fields from simple fields.
Forum: Themes and Templates
In reply to: Get pages with meta_key & meta_valueThanks keesiemeijer – that worked perfectly, thanks so much!
Forum: Themes and Templates
In reply to: Get pages with meta_key & meta_valueTo add more confusion, this code — replacing the above code — works fine.
<?php wp_list_pages('title_li=&meta_key=productfeatured&meta_value=yes&number=3'); ?>
Forum: Plugins
In reply to: eShop Add to Cart button & do_shortcodeResolved – it was a remove_filter instead of add_filter I needed.
Forum: Plugins
In reply to: eShop Add to Cart button & do_shortcodeIt’s OK – I’ve got duplicate add to cart, I just need to work out how to implement the filter. Thanks again.
Forum: Plugins
In reply to: eShop Add to Cart button & do_shortcodethanks.
this is going to sound a little odd – after initially trying the do_shortcode and finding the duplicate I took away the do_shortcode, I now can’t get this working again to remove the default one.
any reason why this now wouldn’t be working?
Forum: Themes and Templates
In reply to: Use The Post Image to wp_list_pagesThis is great – thanks.
Is there anyway of adding the values from a couple of custom fields to the output?
Forum: Themes and Templates
In reply to: Too Many Images (IE Issue)this is now sorted, it is an IE 8 bug on the display: inline property on li elements, had to change it to display: inline-block and it works fine!
Forum: Themes and Templates
In reply to: Too Many Images (IE Issue)here is the css code for the footer;
#footercontainer { width: 940px; margin: 5px auto; padding: 0px; } #footer #footercontainer a:hover {background-color: #000;} /* slider specific CSS */ .sliderGallery { overflow: hidden; position: relative; padding: 0px; height: 165px; width: 940px; } .sliderGallery UL { position: absolute; list-style: none; overflow: none; white-space: nowrap; padding: 0; margin: 0; } .sliderGallery UL LI { display: inline; } .slider { width: 940px; height: 17px; margin-top: 140px; margin-left: 0px; padding: 0px; position: relative; background: url(images/scrollbar.gif) no-repeat; } .handle { position: absolute; cursor: move; height: 17px; width: 123px; top: 0px; background: url(images/scroller.png) no-repeat; z-index: 100; } .slider span { color: #bbb; font-size: 80%; cursor: pointer; position: absolute; z-index: 110; top: 3px; } .footerimageitems { width: 100px; height: 100px; background-color: #fff; border: 1px solid #600; padding: 9px; margin: 5px 3px; }
Forum: Themes and Templates
In reply to: Too Many Images (IE Issue)here we go;
https://terrorfliegerwarlog.co.uk/
i’m wondering if internet explorer doesn’t like the fact the div layer is so long with all those images, is there an upper limit to a div layer size?