sjonvugt
Forum Replies Created
-
Forum: Plugins
In reply to: [Sheet to Table Live Sync for Google Sheet] PaginationSorry, this was a conflict with my previous outdated spreadsheet plugin that was still activated. It works now!
Forum: Plugins
In reply to: [Contact Form 7] How to remove false alert ?I agree on this alert being annoying. Although the functions.php fix works, I think this is not how the plugin should handle this in the first place. Forcing your users to use some privacy-invading Google service is not very nice.
If the protection offered by popular plugins like WP Armour cannot be easily integrated, then at least make it possible to hide the warnings, for instance by clicking a button that states you’re aware of the problem and have implemented some sort of protection.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Custom Fonts (Adobe Fonts) in EditorThis works indeed, but there are two caveats:
– As stated before, the font is not visible in the site editor or when editing a page. This is fairly inconvenient, as the site design now differs from the preview.
– The font cannot be selected in the site editor. This means it is less easy to work with, and there is css loading the default editor font while this is undesired in this case.All in all, it would be preferable to add the font using the theme.json file. Is this possible?
Forum: Plugins
In reply to: [Visual Portfolio, Photo Gallery & Post Grid] Image ShadowYou should be able to put a box-shadow on the
.vp-portfolio figure.vp-portfolio__item
class.Forum: Plugins
In reply to: [Performance Lab] Dominant colour of featured imageThanks for your reply.
Yes, a dedicated featured image dominant color style would be beneficial. I’m aware that all images have an individual dominant color, I figured using the color of the featured image in the post content would be the most logical. If you can open an issue that’s appreciated!
The trac ticket on adding the dominant colour could indeed work with my screenshot, so that you can select a dominant color per image in the media library. A user might even want to set a custom hex value for certain images in specific use cases. This is an interesting topic to explore, I’m not fully sure as to what solution will be the best.
Forum: Plugins
In reply to: [Performance Lab] Dominant colour of featured imageHi,
That’s good to hear! The current output method is satisfactory. I could imagine you’d add an extra
data-dominant-post-color
(containing the featured image dominant colour) to thebody
tag, if this is activated in the plugin settings. For me, this would be sufficient.A further step would be to add the dominant post colour as a new category (e.g. “featured image color”) to the colour menu in the editor. This makes it easy to directly use it in any block. It would be even more useful if you can select from a palette of colours from the featured image, as the most dominant one is not always the ‘best’ option. (The last screenshot comes from the Dominant Colour plugin.)
This is how I would use it, but there may be other approaches.
Forum: Plugins
In reply to: [WooCommerce] Disable email for status on hold to pendingHi,
Thanks for the info. The email notification I’m trying to unhook is not included in that page, so I guess it’s a no then?
Forum: Themes and Templates
In reply to: [Poe] Updating homepage issuesHi, and thanks for the instructions on your great theme! I’ll simply copy the contents of the old homepage into the front page template editor.
Selecting a homepage under settings > reading doesn’t do anything anymore. I think this can be confusing for users, as the theme appears broken. Is this a wordpress issue, and/or can you add something within the theme to explain this to users? Maybe even adjust the demo content to say something useful?
Forum: Plugins
In reply to: [WooCommerce] Disable email for status on hold to pendingHi, I can use for instance this:
add_action( 'woocommerce_email', 'unhook_those_pesky_emails' ); function unhook_those_pesky_emails( $email_class ) { // New order emails remove_action( 'woocommerce_order_status_pending_to_processing_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) ); remove_action( 'woocommerce_order_status_pending_to_completed_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) ); remove_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) ); remove_action( 'woocommerce_order_status_failed_to_processing_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) ); remove_action( 'woocommerce_order_status_failed_to_completed_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) ); remove_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $email_class->emails['WC_Email_New_Order'], 'trigger' ) ); // Processing order emails remove_action( 'woocommerce_order_status_pending_to_processing_notification', array( $email_class->emails['WC_Email_Customer_Processing_Order'], 'trigger' ) ); remove_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $email_class->emails['WC_Email_Customer_Processing_Order'], 'trigger' ) ); }
This unhooks the emails to the admin, but not to the customer.
There are no errors.
Is there any way to unhook the email to the customer when the order status changes from on hold to pending?Forum: Themes and Templates
In reply to: [Neve] Footer: Neve | Powered by WordPressThis will probably work:
footer .builder-item:last-of-type{ display:none; }
However, anyone got a php solution for this? That would be much neater.
Forum: Plugins
In reply to: [Visual Portfolio, Photo Gallery & Post Grid] Custom breakpoint layoutYou can change the breakpoints in functions.php, see my earlier topic here.
Breakpoint names are
$default_xs
,$default_sm
,$default_md
,$default_lg
,$default_xl
Hopelijk kun je daar wat mee ??
Forum: Plugins
In reply to: [Visual Portfolio, Photo Gallery & Post Grid] Responsive BreakpointI managed to change the breakpoint in functions.php:
function update_mobile_breakpoint( $default_sm ) { $default_sm = 400; return $default_sm; } add_filter( 'vpf_breakpoint_sm', 'update_mobile_breakpoint' );
Forum: Plugins
In reply to: [WordPress Infinite Scroll - Ajax Load More] Query future posts@dcooney I suspect post status future means these posts are scheduled and not published yet, so I guess they are protected by design then. I could change their status to published. Is there an easy way to select by date via the shortcode directly, or do I need to use some php to fix this?