Forum Replies Created

Viewing 15 replies - 481 through 495 (of 567 total)
  • Hi @bttmrc,

    Our plugin wraps the normal wp_logout function with our own (in order to allow for setting a different sign in page), but we provide a filter for the redirect url.

    
    add_filter('yikes-custom-login-logout-redirect-url','auto_redirect_after_logout');
    
    function auto_redirect_after_logout(){
      return home_url();
    }
    

    Let me know if that helps,
    Jon

    Hi @anthonyfroio,

    You’re very welcome!

    Best,
    Jon

    Hi @newfootprint,

    You can add some styles to resolve this. Right now I’m seeing the following in my browser dev tools:

    
    .yikes-easy-mc-form label.field-right-half {
        width: 48%;
        float: right;
        margin-left: 2%;
    }
    

    If you change it to the following, it should work:

    
    .yikes-easy-mc-form label.field-right-half {
        width: 48%;
        float: right;
        margin-left: 0%;
        margin-right: 2%;
    }
    

    Let me know if that helps,
    Jon

    Hi @newfootprint,

    If you take a look in the network tab in your browser dev tools, you can see the error message that Mailchimp is responding with. Here’s a screenshot.

    Looks like your Mailchimp form requires the Phone and Birthday fields to be filled out, but those fields haven’t been added to the form on your website. You can either take a look at your Mailchimp settings and make those fields optional, or you can add the fields to the form on the site.

    Let me know if you have any further issues,
    Jon

    Hi @albertoojem,

    This is definitely a job for javascript. You’ll want to add a click event listener to each checkbox that either creates or un-hides a popup. You can then add a click listener to the “confirm” button in the popup which saves that confirmation (variable, cookie, localstorage). Lastly, you’ll want to add a click event listener to the submit button that prevents the form submission, checks that the values of those two popups are there, then manually submits the form.

    Let me know if that makes sense,
    Jon

    Hi @barrettjason,

    This is almost certainly coming from another plugin that’s attempting to style TinyMCE metaboxes. Do you have any plugins enabled that render a wysiwyg on the admin side with a dark background? I assume the background will be dark because the text is white.

    If you can’t figure out which plugin is doing this, you can always add your own admin stylesheet that changes the text color. You can use this hook to enqueue admin styles.

    Let me know if that helps,
    Jon

    Hi @anthonyfroio,

    Here’s an example of changing a specific tab’s title from “Product Tab” to “Other Name”:

    
    add_filter('yikes_woocommerce_custom_repeatable_product_tabs_heading', function( $heading ) {
    	if ( strstr( $heading, 'Product Tab' ) ) {
    		return str_replace( 'Product Tab', 'Other Name', $heading );
    	}
    	return $heading;
    }, 99);
    

    If you need to do this to multiple tabs, you could make an array of mappings and loop through it, like this:

    
    add_filter('yikes_woocommerce_custom_repeatable_product_tabs_heading', function( $heading ) {
    	$mapping = [
    		'First Tab' => 'First Tab Renamed',
    		'Second Tab' => 'Second Tab Renamed'
    	];
    
    	foreach ( $mapping as $key => $value ) {
    		if ( strstr( $heading, $key ) ) {
    			return str_replace( $key, $value, $heading );
    		}
    	}
    
    	return $heading;
    }, 99);
    

    Let me know if that helps,
    Jon

    Hi @13patricia,

    Glad you figured out the conflict! Yes, we will most likely have to change some code, but first we need to do some investigation.

    Now, since this is a paid theme, I can’t really look at the code to help you out. But I found a demo on their website (https://demo-store.wasabitheme.com/producto/tshirt/). It looks like they’re taking the content that would normally be found in tabs and laying it out in a different way. In other words, they removed the tabs from WooCommerce.

    If you want to bring the tabs back, you’ll have to figure out where they did that and undo it. It looks like they are overriding the woocommerce_after_single_product_summary hook to add their own content. You could probably remove the line that is doing that, and it would bring your tabs back.

    That being said, if you do remove the override there, it may cause problems with the theme, and it will replace the little description/reviews section underneath the product with tabs.

    If you wanted to keep both, you could try adding your own tab solution and just grab the post meta fields that our plugin provides in your php template. Not sure if you want to go that deep, but it’s also an option. I can provide support if you do.

    If you need help with any of the above, let me know!

    Jon

    Hi @13patricia,

    Certain themes and plugins can conflict with ours. I’m not familiar with the Wasabi theme, but if it defines its own way of handling tabs, there’s a good chance it’s only looking for the default three (description, etc).

    You can try temporarily switching to one of the core WordPress themes to determine if it’s a theme conflict. If it isn’t, I’d recommend disabling other plugins that might be involved until you figure out the conflict.

    I’m not able to help with the Elementor issue, as that’s really between Elementor and your theme. That being said, you can probably solve that problem by adding some additional css.

    Let me know if that helps,
    Jon

    Hi @elenio,

    No worries. You don’t need to wrap it in <script> tags unless you’re adding it to the html of the page. It looks like you’re using a plugin to add the js, so you can just drop the code itself into the plugin’s box.

    Let me know if that works,
    Jon

    Hi @ricpricp,

    Our plugin relies on the built-in WordPress Uninstall hook to clean up the database. If you deactivate the plugin and then click “delete”, it will delete all tabs and records related to itself.

    Let me know if that helps,
    Jon

    Hi @thebrownagency,

    Okay, I understand. Our plugin doesn’t add or remove any js, it just registers tabs with WooCommerce. We run the WordPress content filter on the tab content, which allows shortcodes to work. I do see you are using Elementor, could you try enabling Page Builder Compatibility in the settings? You can find that referenced here – https://yikesplugins.com/knowledge-base/page-builder-compatibility/

    Let me know if that helps,
    Jon

    Hi @ernestpanfiloff,

    Our plugin doesn’t provide a shortcode to render the content of a tab, but it does support shortcodes in the tab content. You could create a shortcode with the desired content, then use that shortcode in your tab and wherever else.

    Let me know if that helps,
    Jon

    Hi @obedii21,

    Sorry, I didn’t see your message at first. I’d recommend making a new thread in the future to make sure we see it quickly.

    It looks like your theme has some code that controls the scroll to the element. I’m seeing this in your theme’s custom js file:

    
    $('a[href*="\\#"]').click(function(event){
            var at_offset= $.attr(this, 'href');
            var id = at_offset.substring(1, at_offset.length);
            if ( ! document.getElementById( id ) ) {
                return;
            }
            if( $( at_offset ).offset() ){
                $('html, body').animate({
                    scrollTop: $( at_offset ).offset().top-$('.at-navbar').height()
                }, 1000);
            }
    
        });
    

    The problem with this sort of code and the hidden tabs is that the offset() of a hidden element is 0, which ends up scrolling you to the top of the page.

    If this code was specific to the tabs, I’d recommend grabbing the parent element’s offset (as it will be visible). Since this code is applying to all anchor tags, that may not work very well.

    If you want that scrolling animation to still work, you’ll want to update the $('a[href*="\\#"]') to ignore tabs, then create another click event for tabs specifically that uses $( at_offset ).parent().offset().

    If you just want to fix the broken scroll, you could update the fail condition to exclude tabs, like this:

    
    if ( ! document.getElementById( id ) || id.startsWith('tab') ) {
         return;
    }
    

    Let me know if that helps,
    Jon

    Hi @patboran,

    I’m sorry, I don’t have any experience with CartFlows. If you’d like to provide image links I can take a look, but I’m not sure how much help I’ll be able to provide.

    You could either upload screenshots to your site, or use a third party such as https://imgbb.com/

    Jon

Viewing 15 replies - 481 through 495 (of 567 total)