• Resolved Олег

    (@senseinterpreter)


    Hello from the plugin’s logo author ??
    I noticed suddenly that hyphens stay in copied text.
    I looked up – the box for js solution is set in hypenation tab.
    But i don’t seem to locate the clean-clipboard.min.js in page source.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pepe

    (@pputzer)

    Hi Олег! What theme are you using? As long as the wp_enqueue_scripts action is executed on the frontend, there’s nothing to prevent the script from being enqueued in the code. You might want to check if that happens in a minimal environment (without other plugins) and if not, re-enable them one by one to find the culprit.

    Thread Starter Олег

    (@senseinterpreter)

    It’s a handmade theme.
    Some digging and found i commented out wp_head() (this is the fifth design the university site has in 5 years, direct hardcoded links were the best way to deal with it).
    Thanks for the clue.

    Thread Starter Олег

    (@senseinterpreter)

    Another hint, please
    wp_footer() should be printing out the scripts, right? Because even though now i see plugin styles, clean-clipboard.min.js is still not in page source.

    Thread Starter Олег

    (@senseinterpreter)

    Hot reports, wp_footer() indeed produces A script <script type="text/javascript" src="https://sakhgu.ru/wp-includes/js/wp-embed.min.js?ver=5.2.3"></script>, and only this one.

    Will try to pinpoint plugin collisions, if there are any, at a later moment.

    Plugin Author pepe

    (@pputzer)

    Hi @senseinterpreter! After some digging, it is important that both wp_head() and wp_footer() are called in this order. These are implemented as action hooks, so without wp_head() the scripts are not enqueued and wp_footer() cannot print them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hyphens in buffer’ is closed to new replies.