jmh
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Square] Version 2.1.0 errors / issuesI had the same issue as other users above – same cart and log message. The fix noted worked for me.
This is the second time in a few months that I’ve had to put in a manual fix for this plugin to get it working, which is concerning to say the least for something as critical as payment ??
Forum: Plugins
In reply to: [Search Everything] Disable Frontend-Stylesheet?@silvosaf – this would be great as an option in the plugin since the styles aren’t critical to the plugin!
@hmmux Your solution works perfectly, thanks!
I wrapped with a plugin check to be safe:
include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );
if (is_plugin_active(‘search-everything/search-everything.php’)) {
function dequeue_badly_written_se() {
wp_dequeue_style( ‘se-link-styles’ );
}
add_action(‘wp_enqueue_scripts’, ‘dequeue_badly_written_se’);
}Forum: Plugins
In reply to: [Theme Check] add_contextual_help deprecated – need helpJust used this to update a theme options page as well, thanks Otto!
Forum: Themes and Templates
In reply to: Image Attachments and CommentsI guess “issue” is the wrong word, just unexpected behaviour, and after testing further, it seems if an attachment is unattached, or attached to a post that has comments enabled, you can post comments on them.
For anyone else looking for an answer, I’ve seen both the wp_redirect method i posted above used, and I also went with the code below on a site today, assuming you have no image or attachment template, and attachments are being processed by the index, or main loop, just replace the regular
<?php comments_template(); ?>
with
<?php if (!is_attachment()) : comments_template(); endif; ?>
Forum: Fixing WordPress
In reply to: rewrite jquery insertion functions scriptHey, I’ve been wondering this same thing. I found this blog post and used his idea for problem number 1:
https://beneverard.co.uk/blog/wordpress-loading-jquery-correctly
I am still searching for the solution to providing a local fallback using the proper wp_enqueue_script function
I was just working on something similar, but all the solutions I found were hacks.
I ended up going with this, which allows you to enter a querystring variable as a text-field. This worked for me, the only difference being the user can’t change their selection on the form, they would have to go back and click a new link.
https://sevenspark.com/wordpress-plugins/contact-form-7-dynamic-text-extension
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] HTML sintaxForum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Date picker?You would put something like this in your header:
<script type="text/javascript"> $(document).ready(function() { $('.datepicker').datepicker({clickInput:true}) }); </script>
and then add:
class:datepicker
to the field you want the datepicker on in your contact7 form.
Forum: Fixing WordPress
In reply to: Home main nav not highlighted as current – using home.phpHad this same issue. First, the class only gets added if you have a trailing slash on your link (https://yourlink.com/). This only works for one domain at a time though.
I wanted to get it working for dev, staging and live servers without having to update. My fix was to add a class in on that custom link (home-link) and add “.home .home-link” to the same css class that was applying my current-menu.item hover.
Forum: Fixing WordPress
In reply to: Randomise result of new wp_querythe shuffle() worked perfectly for my scenario. Had seen this used for a regular query, didn’t know how to make it work for WP_Query, cheers!
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] Date picker?This worked great for me. Had to make the “datepicker” lowercase as quentinio suggested.
Thanks!
Forum: Plugins
In reply to: [Plugin: Category pagination fix] Seems to be broke in 2.8.6Chris, how did you get this working? It paginates my loops, but doesn’t stick to the posts within that loop and shows everything. Is this the same problem you had?
Forum: Themes and Templates
In reply to: [tag] replacement?How did you force the page to load the js files for mapppress when calling the shortcode via php?
I’m having an issue where the map won’t load on certain pages because the files aren’t loading for some reason and I want to force the load.
Forum: Fixing WordPress
In reply to: Comments RSS feed from a specific category… Broken in 2.7Hi, I think I’m having the same issue. My regular category feeds don’t seem to work properly.
https://example.com/category1/feed – this shows only comments for that category, not posts.
https://example.com/category/category1/feed – this gives a 404 error.
Anyone ever find any solutions to this issue? I’m using 2.9.1.