• Hi Team,

    I am using this plugin from a few months and from the last three months, I am facing a double hyphen problem in content with this plugin.

    I also found a similar topic on Google here it is: https://wordpress.stackexchange.com/questions/17633/single-dash-converted-to-double-dash

    The double dash in the content is Automatically creating through the Wp Lyte plugin filter.

    I found the function in the .php file of this plugin which is creating this problem.

    Here is the function: the_content

    Check this link for an example: https://bit.ly/2VWdnW8 of the double dash.

    When I am typing single – at the backend through the editor, then a single dash is automatically converting into the double dash at the front end.

    When I disabled the Wp Lyte plugin then the dash problem gets automatically fixed.

    Please do check the code problem in the plugin and fix the issue as soon as possible.

    Due to this error, the Table of the content plugin also not able to show the content in the articles.

    Please have a look at it and reply to this thread for any query.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    indeed a known issue, but no fix yet. if you have an idea let me know πŸ™‚

    Thread Starter agon123

    (@agon123)

    Don’t you have any fix for this?

    I don’t want to disable it, as it is a great plugin but you said it is a known issue, but no fix yet.

    Should I Deactivate this plugin?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no fix yet, no. if blocking for you then indeed you’ll have to disable it I’m afraid.

    Thread Starter agon123

    (@agon123)

    Ok, Reply to this thread once you fix the issue!

    Thank you!!

    outdoorsdev1

    (@outdoorsdev1)

    I used this code in the single.php file of my child theme to stop any functions from the code in wptexturize doing anything. You should read more about what it does before implementing it though https://developer.ww.wp.xz.cn/reference/functions/wptexturize/

    /* Stops single dashes – being turned into double dashes — */
    remove_filter( ‘the_title’, ‘wptexturize’ );
    remove_filter( ‘the_content’, ‘wptexturize’ );
    remove_filter( ‘the_excerpt’, ‘wptexturize’ );

    I assumed this was from this plugin but glad it’s confirmed and being worked on πŸ™‚

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    thanks for that, interesting! πŸ™‚

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So I -finally- have a potential fix ready on Github that needs testing; please download https://github.com/futtta/wp-youtube-lyte/archive/master.zip and install instead of the current version, all feedback welcomed! πŸ™‚

    Hi, Any update on this? When we will get the latest version?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I’m eagerly waiting on someone to test to confirm that new version fixes the issue for them Suraj. Would be great if you could do that! πŸ™‚

    I downloaded the plugin via the above Github link.
    I can confirm, the latest version fixes the double dash problem.
    Thank You.

    • This reply was modified 5 years, 11 months ago by Suraj Katwal.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Thanks for confirming Suraj, I’ll release this as an update soon (I’m waiting on my laptop to be repaired, working on my daughter’s computer now which does not have my developer stuff installed).

    Thank You for updating Frank, I will delete the plugin installed from GitHub on my website and I will reinstall it again from WordPress Repo and wait for the update.

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

The topic ‘Plugin is Creating Double Hypen In Content’ is closed to new replies.