stcom
Forum Replies Created
-
Forum: Plugins
In reply to: [Form Lightbox] Button linkHi, thanks. I think my issue is the themes button is in php and shortocde doesn’t seem to work with php from what I’ve been reading.
Hi, thanks for your reply. My theme already has the buttons in it which I’d like to keep (.png file). So basically I am trying to wrap this code around the image button on my site. I am using get response shortcode inside the form lightbox shortcode which works fine with plain text. I don’t need to call any images since the images are already on the theme. I have this so far:
<?php echo do_shortcode(‘[formlightbox][grwebform wid=”xxxxxx” css=”on”][/formlightbox]’); ?>
and I tried replacing below this in my featured.php file with the above:
<href=”<?php echo esc_url($link); ?>”class=”join-button”><?php echo wp_kses( $button, array( ‘span’ => array(), ‘strong’ => array() ) ); ?>
When I put in the details of BHT it pulls a fresh image it seems. Looking to add on the custom ones in the theme now. Hopefully someone can help. Thanks!
Where does this code go exactly? I have a theme that has an image I am trying to link. I think the link goes in a .php file but not sure. Thanks.
Forum: Plugins
In reply to: [Form Lightbox] Button linkSame here. Can’t seem to get it working with custom images either as others mentioned in the other post. Hope someone can help.