AdamBarry
Forum Replies Created
-
Forum: Plugins
In reply to: [Bowe Codes] Display users "Profile"This is exactly what I have been looking for for ages! Thank you for your solution! In addition to this, how would you dynamically fill in the “logged in user” field to be the post author?
I have solved my issue, although it is not desirable I have edited a plugin file (I can live with it, I’ll just do the same when updates come out!). All the features that I need work with just jquery enabled so I stopped the UI elements from loading by deleting them from the array. I didn’t need the CSS either so I took the google maps styles and put them in my own stylesheet then stopped the wp_enqueue style.
Hello again. Using the google libraries plugin resolved the page load concern that I had, however it broke another plugin I was using called backstretch. I’m trying a few solutions to get both to work. Would it be possible to change the code below in events-manager.php to enqueue the single jquery.ui.min.js file from google?
function public_enqueue() { //Scripts wp_enqueue_script('events-manager', plugins_url('includes/js/events-manager.js',__FILE__), array('jquery', 'jquery-ui-core','jquery-ui-widget','jquery-ui-position','jquery-ui-sortable','jquery-ui-datepicker','jquery-ui-autocomplete','jquery-ui-dialog')); //jQuery will load as dependency //Styles wp_enqueue_style('events-manager', plugins_url('includes/css/events_manager.css',__FILE__)); //main css }
Obviously for updates I could keep the edited snippet and paste it back into the file when needed.
OK, so I’ve ended up using the Google libraries because my aim anyway was to reduce any unnecessary page load. Is there anyway of disabling the Events Manager CSS from loading? I just want to include the bits needed for Google Maps in my own stylesheets.
Thanks for the help
Thanks for the reply.
I’ve just tried your suggested solution and nothing happens. Do you have any other suggestions? I looked at this previous topic but I don’t know how to implement it and it seems like it would break the backend functionality.
Forum: Plugins
In reply to: [eShop] [Plugin: eShop] Need to enter details on download checkoutThank you for your reply. However the shop section of my website sells both downloadable and shippable products. Is there any conditional statement that I could use when pressing ‘continue to checkout’ that checks if there are any shippable items present in the cart, and if not disable the customer details form?