Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter sjonvugt

    (@sjonvugt)

    Sorry, this was a conflict with my previous outdated spreadsheet plugin that was still activated. It works now!

    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.

    This 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?

    You should be able to put a box-shadow on the .vp-portfolio figure.vp-portfolio__item class.

    Thread Starter sjonvugt

    (@sjonvugt)

    Thanks 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.

    Thread Starter sjonvugt

    (@sjonvugt)

    Hi,

    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 the body 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.

    Thread Starter sjonvugt

    (@sjonvugt)

    Hi,

    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?

    Hi, 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?

    Thread Starter sjonvugt

    (@sjonvugt)

    Hi, 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?

    This will probably work:

    footer .builder-item:last-of-type{
    	display:none;
    }

    However, anyone got a php solution for this? That would be much neater.

    You 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 ??

    Thread Starter sjonvugt

    (@sjonvugt)

    I 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' );
    Thread Starter sjonvugt

    (@sjonvugt)

    @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?

Viewing 13 replies - 1 through 13 (of 13 total)