• Resolved tneorg

    (@tneorg)


    Is it possible to selectively disable hyphenation for a specific page, or a section of a page. I am using Tablepress, and because everything is hyphenated, the search function on the table does not work properly. I had to turn off Hyphenate Capitalized words to make that work. Unfortunately that affects the entire site. Any help appreciated!

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

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

    (@pputzer)

    Hi @tneorg,

    with wp-Typography 5.2 it will be possible to base exclusion on the “body classes” (i.e. the result of the WordPress function get_body_class() of the current page. However, this will disable all wp-Typography features for that page.

    A better solution would be to add tablepress to your list of ignored classes. This would have a similar effect to your workaround of adding noTypo to your table’s classes, but with the added benefit that you only need to do it once and all TablePress tables would benefit from it.

    If you can code a bit, you could add custom settings changes via the API (specifically via the typo_settings filter hook).

    • This reply was modified 6 years, 11 months ago by pepe. Reason: API link added
    Plugin Author pepe

    (@pputzer)

    @tneorg, have you been able to resolve the issue? Also, wp-Typography 5.2 is now live, so you could filter by body class.

    Thread Starter tneorg

    (@tneorg)

    Hi there. Since updating to 5.20 yesterday my website slowed to a crawl. Then it stopped working. I removed all plug-ins, added them in one by one and found wp-Typography was the culprit. Don’t know why. I installed it fresh, and everytime I activate it freezes my site. After I remove it all is back to normal. Any ideas?

    Plugin Author pepe

    (@pputzer)

    @tneorg That’s not good ?? @jobalternative has reported something similar here (the site basically stalls when delivering the body). So far, I can’t reproduce this behavior.

    Do you have anything out of the ordinary in your PHP error log? Also, 5.1.x works fine in the same circumstances?

    In my case all is fine with version 5.1.3 : the problem is with 5.2 update.

    Plugin Author pepe

    (@pputzer)

    OK, I’ll review the changes that might be related to this (though to be sure, I’d still need any error messages that are generated).

    If I build a special version and provide you with a ZIP file to install it manually, would you be able to do that? I’ve got two theories regarding which change could be related to the problem.

    Update: Here’s the first version I’d like you to try. Basically, it swaps in an earlier version of the PHP-Typography package (namely the same as 5.1.3). Everything else is the same identical to the released 5.2.0. It installs into a separate directory and identifies as 5.2.1-alpha.1, so it does not conflict with the existing plugin and can be deleted after the test.

    • This reply was modified 6 years, 10 months ago by pepe. Reason: Link to test version added
    Thread Starter tneorg

    (@tneorg)

    5.1.3 was good for me as well. I’d be happy to try it out on my site. I rely on your plug-in and really want it back up and running!

    Ok

    Plugin Author pepe

    (@pputzer)

    @tneorg, @jobalternative: Thanks, I’ve added a test version to my previous post. If this one works fine for you, it was something in PHP-Typography. If the error is still the same, it’s in the WordPress specific part. Either way, it will narrow the search.

    Thread Starter tneorg

    (@tneorg)

    I just uploaded it and activated 5.21. The CPU usage hit 98% and froze the site. removing it set things back to normal.

    Plugin Author pepe

    (@pputzer)

    @tneorg: Is there anything in the logs? (I’ll try to prepare another test version, but the error log would be really helpful.)

    Thread Starter tneorg

    (@tneorg)

    I have to be honest with you. I have NO idea how to locate the logs!

    Plugin Author pepe

    (@pputzer)

    @tneorg, if you install the Error Log Monitor plugin from the repository, you should be able to see the PHP error log from the WordPress backend.

    Plugin Author pepe

    (@pputzer)

    Here’s another version to try. It will identify as wp-Typography 5.2.1-alpha.2.

    Thread Starter tneorg

    (@tneorg)

    The new version did not work. When I refreshed the home page it had an error in a file on line 638. I did not get to see the file anme before the page refreshed. I put the activity monitor in before I did this, but I didn’t realize I would have to create a file in the directory for it to use.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Exclude a page or a page section’ is closed to new replies.