WillBG
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: exploit/hack header.png and code added to config.php fileTracysurf, did you find a solution? I am experiencing the same thing
Forum: Fixing WordPress
In reply to: Echoing div when post meta has contentThis has been resolved
Forum: Fixing WordPress
In reply to: Echoing div when post meta has contentKeesie you are a genius!
Just so anyone else visits this thread with the same problem, this is my working code
<?php $meta = get_post_meta( $post->ID, 'rg_wp_editor_sample', true ); if(isset( $meta['es']) && $meta['es']) : ?> <img src="<?php echo get_stylesheet_directory_uri() ?>/images/top.png" /> <div id="accordion"> <?php echo isset($meta['es']) ? apply_filters('the_content', $meta['es']) : 'no Meta Box meta saved'; ?> </div> <img src="<?php echo get_stylesheet_directory_uri() ?>/images/bottom.png" /> <?php endif; ?>
Forum: Fixing WordPress
In reply to: Echoing div when post meta has contentDid you manage to find a solution Keesie? I am stumped…
Forum: Fixing WordPress
In reply to: Echoing div when post meta has contentYes, if I enter some text in the custom field it echos on the page. Please see the page now for an example. I just need the image borders to be hidden if the custom field is left empty.
Forum: Fixing WordPress
In reply to: Echoing div when post meta has contentKeesie,
Please see this URL as you can see the red border images are still on page where as if you see the other pages there is content in that meta box. I need the borders to not display if the meta box (custom field ) is left empty
Forum: Fixing WordPress
In reply to: Echoing div when post meta has contentHi Keesie, the image borders are still displaying when the field is empty in the admin window. I managed it with this on a previous project
<?php $post_meta = get_post_meta($post->ID, "Accordion", true); if (!empty($post_meta)) { ?> <img src="images/bg-acc-top.png"/> <div id="accordion"> <?php echo $post_meta; ?> </div> <img src="images/bg-acc-bottom.png"/> <?php } ?>
BUT I have a wysiwyg in the back end now so I have to echo it like the above in my question
Forum: Plugins
In reply to: [Meteor Slides] Making Description appear onhoverIs there a way to do it via the meteor-slideshow.php file using JQuery or echo syntax? I need it to be as compatible for all browsers as possible
Forum: Plugins
In reply to: [Meteor Slides] Making Description appear onhoverHi JLeuze,
Thank you for replying so fast. That worked! Thank you so much!
Is there a way to ease it in with a nice transition? Maybe fade in and out?
Regards
Forum: Plugins
In reply to: [Meteor Slides] text overlay titles?Hi guys,
I have managed to overlay Description of each slide but I would like this to only appear when the mouse is over the slide. Is there a way to do this? .onhover { } or something?
Regards
Will