Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter kikaweb

    (@kikaweb)

    Hello,
    thanks for pointing out this. The first time I updated the plug-in I saw no “migrate categories” option. I uninstalled and reinstalled the plug-in and now I can see the option, I migrated the categories and now everything worked as expected.
    Thanks a lot for your suggestion and for this awesome plug-in!

    Thread Starter kikaweb

    (@kikaweb)

    Please ignore the diagnostic file. There was some other plug-in that was messing with htaccess, still investigating which one.
    I solved that and now the Extended protection is on.
    Thanks

    Thread Starter kikaweb

    (@kikaweb)

    Thanks for the fast reply,
    I’ve just sent the diagnostics report and added my username.

    kikaweb

    (@kikaweb)

    Hello,
    most of my sites have localized versions of WP (Italian). If I go to the update page, it gives me the option to revert to en-US version… is there a way to revert to the it-IT version in just one click?
    Thanks

    Thread Starter kikaweb

    (@kikaweb)

    You need REST API for the new editor to function. The new editor talks to the WordPress back-end via the REST API.

    Hence the subject of this post.

    It might have been disabled by a plugin, or a s code snippet.

    Having disabled all plug-ins and switched to Twenty Twenty (manually, that is not through Health Check) I’m pretty sure it’s neither a plugin nor a snippet

    You may also discussed with hosting provider.

    That’s what I did, since it was strange that three websites with different theme/plug-in configuration had the same problem, at the same time. But my hosting said everything’s ok on their part.

    Thread Starter kikaweb

    (@kikaweb)

    Hello @t-p, I have done all the things you suggested, and as I’ve already posted the Health Check simply reports a problem with REST API.
    I also had a second look at the error log, just to be sure, and there’s nothing there. There was a minor error regarding an old table, related to a plug-in I uninstalled months ago, but after a db cleaning the error disappeared – my problem persists, though.
    It still looks like a problem with the REST API – after all, the classic editor works, and in general everything that doesn’t involve REST API seems to work just fine.

    Thread Starter kikaweb

    (@kikaweb)

    Hello Anders,
    thank you for the quick reply and for the link to the post on Stack Overflow. In facts, I made a search there but for some reason I totally missed that thread.
    I’ll take it from there!
    And by the way, thanks for the beautiful Chaplin theme ??

    Hello, I have the same problem as @studiostilla. Was this resolved?

    Thread Starter kikaweb

    (@kikaweb)

    Ops, sorry, my fault, I should have made it clear that I was using PayPal.
    Anyway: even in the EME backend I can see only the full price. No discount is applied.
    Also the registration form is not storing the #_NAME field in the People and Change Registration table, but it is displaying it correctly in the confirmation email. I guess EME is storing this info in two different place? Maybe the same thing is happening with the discount?

    Thread Starter kikaweb

    (@kikaweb)

    Hello Franky, I’ve just re-tested everything but when I make the booking there’s no discount, PayPal is always charging full price. I think I’ll use the 2 seats solution with no conditional for the moment. If you need me to do other tests I’ll be more than happy to help.

    Thread Starter kikaweb

    (@kikaweb)

    Yes, I created a coupon with the same name and details of the example (if I understood the docs correctly: name “testdiscount2”, type “code”) and only changed the Custom field name and answer. Obviously I changed the details also in the functions.php. I also assigned the discount to the RSVP tab in the Event entry. See code below (“si” is the answer, “UNPLI” the fieldname)

    function my_eme_discount_function($booking) {
        $calculated_discount=0;
        $coupon="";
        // calculate your stuff based on the booking and answers arrays
        // and return the discount. A starting example:
        $answers=eme_get_booking_answers($booking['booking_id']);
        foreach ($answers as $answer) {
            if ($answer['field_name'] == "UNPLI") {
                   $coupon = $answer['answer'];
            }
        }
        // now check $coupon for your wanted value and do the discount ($booking has all the booking info)
        if ($coupon == "si") {
                // return a total discount of 30%
                $calculated_discount=$booking['event_price']*$booking['booking_seats']*.3;
        }
        return $calculated_discount;
    }
    add_filter('eme_discount_testdiscount2','my_eme_discount_function');

    Nothing happens. The total updates but no discount is applied. I’m not very skilled in php, so – again – I may have missed something obvious.

    Thread Starter kikaweb

    (@kikaweb)

    Franky,
    Thanks a lot for the quick reply. Yes, I thought I could do with a discount as a workaround, but the problem is that none of the examples I tried from the docs work. I add the code to my functions.php file, customize the details (i.e. the custom field name) but nothing happens, the total stays the same.
    Unfortunately I’m testing it on a local environment and I’m not able to send you a link.
    I know I’m probably missing something obvious…

    Hello, I have the same issue, so I thought to add my voice to this thread instead of starting a new one.

    It took me a while to find out why all my pages showed a “noindex, follow” meta tag, even if my Yoast plug-in settings were set correctly. After trying to disable one by one the plug-ins installed on my website, I found out the problem was the conflict with GDPR Cookie Consent + Yoast.

    Same as @renners: if I disable either Yoast or GDPR Cookie Consent the problem goes away, so I don’t know what to do. Both plug-ins are necessary for my website and honestly I would like to keep both.

    Thread Starter kikaweb

    (@kikaweb)

    Hello @emmageddon. Yes, that’s the shortcode I used. But I see it more as a workaround. I think a sticky element would be more elegant and would provide a better user experience.
    I’m sure it can be achieved by adding some HTML + CSS or jQuery to my site, but I was wondering if someone had already done something similar or if this could be included as an option in the plug-in dashboard.

    Thread Starter kikaweb

    (@kikaweb)

    Hello @wpcoderguy, thanks for your reply.
    Regarding your suggestion: the problem is the widget area, not the subscription widget. Since the schema.org markup is hardcoded in the parent theme’s functions.php file even a text widget won’t show up on home page. The code I’m referring to is the following:

    <?php if ( $islemag_has_sidebar ) { ?>
    	<div itemscope itemtype="https://schema.org/WPAdBlock" id="sidebar-ads-area-<?php echo $section_nb; ?>" aria-label="<?php echo $islemag_aria_label; ?>">

    The only way I can see this widget area is if AdBlock is disabled.

    So my question is: is it possible to override that line of functions.php file in my child theme?
    For the moment the only solution I found is creating a new front page in child theme and hardcoding the form using a function to call the shortcode. But it’s not a very elegant solution and if one day my client would like to get rid of the form, he cannot do it from the admin panel…

    As I wrote in my previous message, for some reason I wasn’t able to register a new widget area and show its content on the home page either. But I’m a designer and not a coder, and reverse engineering a theme is a bit difficult for me.

Viewing 15 replies - 1 through 15 (of 22 total)