• We noticed that since version 2.0.51?the exclusions based on classname is not working. We’ve been using this snippet that’s been working before 2.0.51:

    add_filter(
    'ez_toc_exclude_by_selector',
    function( $selectors ) {
    $selectors['wprm-recipe-name'] = '.wprm-recipe-name';
    return $selectors;
    }
    );

    But now it’s not working. I checked the inc.plugin-compatibility.php to see if it’s changed but it looks the same. Is there a new way to exclude H2s based on class name?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Magazine3

    (@magazine3)

    Hi, thanks for contacting us. We’ve checked on our end, and the new version is functioning as it did previously. Additionally, we’d like to know which recipe plugin you are currently using?

    Thread Starter tajroyer

    (@tajroyer)

    Hi we’re currently using WP Recipe Maker. Let me know if you need any additional information to help troubleshoot the issue?

    Plugin Author Magazine3

    (@magazine3)

    Hi, thanks for sharing the information. Can you please specify the file where you were adding the code? We’d like to know the exact location. Additionally, if possible, please share a URL for reference where this is not working for you. This will help us better understand the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘H2 class exclusion not working’ is closed to new replies.