• Resolved pepe

    (@pputzer)


    I’ve noticed a problem in conjunction with wp-typography. wp-typography adds a filter that wraps numbers and abbreviations in <span> for styling purposes. Due to the use of <span> in wp-slimstat-dashboard-widgets’ own CSS, this results in weird display of those article titles. The root cause seems to be the following (from the wp-typography FAQ):

    More likely than not, your WordPress theme is using an improper function to set the title attribute of your heading’s link. It is probably using the the_title() function, which delivers the post title after filtering. It should be using the_title_attribute() which delivers the post title before filtering. Change out this function throughout your theme when it is used inside of an HTML tag, and the problem should go away.

    https://wordpress.org/plugins/wp-slimstat-dashboard-widgets/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Compatibility with wp-typography’ is closed to new replies.