usedbooksblog
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: echo get_post_meta breaking else { echo ” “;}Yeee-haw. Worked like a charm!! Thank you SO much, please let me know if I can do anything to help you in the future.
Finally got around to trying this out and what was taking me hours wound up taking about 10 minutes. Many thanks again.
Forum: Fixing WordPress
In reply to: echo get_post_meta breaking else { echo ” “;}Well, actually the ISBN isn’t displayed as such, it’s the dynamic part of an href. Essentially, you click on say, Amazon, and it will send you not to the home page, but to the exact page of that book/ISBN. So what ultimately shows is:
Buy at: Abebooks, Alibris, Amazon, Barnes & Noble, Biblio
I’ll have some time tonight to test this out and will return with results – hopefully success!!! Thanks so much for your help.
Forum: Fixing WordPress
In reply to: echo get_post_meta breaking else { echo ” “;}Humm, let me give that a try. ISBN is the custom field.
And yes, if I’ve left the custom field blank I don’t want it to execute my retail link code string.
So for my purposes:
if(get_post_custom_calues('ISBN')): foreach(get_post_custom_values('ISBN') as $ISBN) {} ?> <?php echo [Retail Link code]; ?> <?php endif; ?>I think my only concern is that the echo in my Retail link code contains other php calls, maybe I can try using the get post custom values there and see if that makes a difference. I’ll play and come back and let you know. Thanks!!
Forum: Fixing WordPress
In reply to: echo get_post_meta breaking else { echo ” “;}Okay – here’s the pastebin link on how I thought it should work. Again, all this does is return the white page of death.
Forum: Fixing WordPress
In reply to: echo get_post_meta breaking else { echo ” “;}Yikes – I hope I don’t need to do that.
I’ve tested the $ISBN in a more mundane code:
<?php $ISBN=get_post_meta($post->ID, 'ISBN', $single = true); if ($ISBN = null) { echo "Nothing"; } else {echo "Something"; } ?>That works, I don’t think it has anything to do with the $ISBN but instead something in the retail links code that isn’t friendly with the else {echo ” “;
Forum: Plugins
In reply to: Vizu Polls and WordPress 2.2Whooami,
Well, I upgraded and can easily embed a Vizu poll in a post – so that’s working just fine.
Not sure it is a widget really, but maybe it works with Gigya’s Wildfire?