francdore
Forum Replies Created
-
I also checked what was posted when you click the button.
This is when you’re adding an item to the quote from the single product page:
https://francdore.tinytake.com/sf/ODEyNjk3XzM2MDcyNTEThis is when you’re adding an item from my modal that I created:
https://francdore.tinytake.com/sf/ODEyNzAxXzM2MDcyNTUSo it looks like the form isn’t posting the options form data.
PS: I created the modal inside archive-product.php loop using this code:
<div class="modal fade" tabindex="-1" role="dialog" id="preview-<?php echo the_ID(); ?>"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title"><?php the_title(); ?></h4> </div> <div class="modal-body"> <div class="container-fluid"> <div class="row product-list-modal"> <div class="col-md-4"> <?php do_action( 'woocommerce_before_single_product' ); ?> <div class="product-modal-image"> <?php do_action( 'woocommerce_before_single_product_summary' ); ?> </div> </div> <div class="col-md-8"> <div class="product-modal-summary <?php $cats = get_the_terms($post->ID, 'product_cat' ); foreach ($cats as $cat) { echo $cat->slug . ' '; } ?>"> <?php do_action( 'woocommerce_single_product_summary' ); ?> </div> </div> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> </div> </div> </div> </div>
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Batch importI would like to import events from Facebook and other website using their RSS feed or iCal feeds.
I’ve recently added the Events Manager plugin to my blog and just want to display upcoming events in and around Johannesburg.
I can categorise them afterwards but it would be nice to be able to import event using RSS/iCal feeds and from Facebook events etc.
Thanks
Forum: Themes and Templates
In reply to: Comment form Name and Email fields are disabled?I fixed it! It actually wasn’t a setting. The comment form URL field didn’t have a clear: both on it so it blocked the name and email fields.
Forum: Fixing WordPress
In reply to: Comment form Name and Email fields are disabled?I fixed it! It actually wasn’t a setting. The comment form URL field didn’t have a clear: both on it so it blocked the name and email fields.
Forum: Themes and Templates
In reply to: Comment form Name and Email fields are disabled?Also when I click in the name field, it goes straight to the Website URL field. Any idea why this is happening?
Thanks
Forum: Plugins
In reply to: [Pinterest Pin It Button For Images] Pin it button not alligned correctly…SOLUTION!
If you want to change the position of your button, you will need to do this:
STEP 1
Go to your plugin folder and open the stylesheet called ppibfi_pinterest.css and find this class:.pibfi_pinterest { position: relative; display: block; }
Change that to:
.pibfi_pinterest { position: relative; display: inline-block; }
STEP 2
You will need to change the class .pibfi_pinterest .xc_pin to change the position of your Pin button on images..pibfi_pinterest .xc_pin { width: 64px; height: 64px; /* Change this to whatever size your button is. */ background: url('ppibfi_button.png') no-repeat; /* This is the buttons image. Image can be found in the plugin folder */ position: absolute; top: 50%; /* This will place it right in the middle of the image */ left: 50% !important; /* This will place it right in the middle of the image */ margin: -32px 0 0 -32px; /* This margin (top and left) needs to be half of your image width/height. In this case my image is 64x64px. So half is 32px.*/ opacity: 0; cursor: pointer; display: none; }
SOLUTION!
In WordPress when you place images next to each other in the content, the plugin places a <span> tag around the image. This span tag has got a class “.pibfi_pinterest”. This class has a style “display: block;” which makes images placed next to each other display underneath each other.
So I just changed that to
display: inline-block;
So go to your plugin folder and open the stylesheet called ppibfi_pinterest.css and find this class:
.pibfi_pinterest { position: relative; display: block; }
Change that to:
.pibfi_pinterest { position: relative; display: inline-block; }
Your images will now display next to each other.
Forum: Plugins
In reply to: [The Events Calendar] [Plugin: The Events Calendar] RSS FeedHi. Any way of importing events from other facebook pages. Like gigs from artists?
Hey dude,
I just had a look at your site and inspected the code.
The class “colorbox-link” is on the <span></span> tag.
<a href="https://www.wikipedia.com" target="_blank"> <span class="colorbox-link">link to</span> </a>
CHANGE it so that the class is on the a tag like:
<a href="https://www.wikipedia.com" class="colorbox-link"> <span>link to</span> </a>
Hey,
If I was you I would create a new blank white template. Create a new page and make that page use the new template. Then add the contact form on that page.
The just add your link to that page on your button like:
BUTTON and your contact form should display in colorbox.
Let me know if it works.