wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

3.19 Need help link of fonts shall be updated

Open Mai-Saad opened this issue 6 months ago • 4 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. install and activate 3.19
  2. open media -> fonts , click need help beside font
  3. Self hosted is displayed for hel

Expected behavior New En link : https://docs.wp-rocket.me/category/1871-fonts New Fr link: => please check with @camilamadronero

Additional context

  • Slack thread https://group-onecom.slack.com/archives/C08F4LZB2QG/p1749029829611889

Mai-Saad avatar Jun 04 '25 19:06 Mai-Saad

Here's the FR version of this new category: https://fr.docs.wp-rocket.me/category/1872-polices

camilamadronero avatar Jun 04 '25 21:06 camilamadronero

@DahmaniAdame, @camilamadronero so far, we always used articles, and not categories in the Helper beacon. Can you confirm we want to put a category there now? If that's the case, the plugin team will need to explore how the beacon can work with categories.

MathieuLamiot avatar Jun 05 '25 08:06 MathieuLamiot

Hey @MathieuLamiot, for the LazyLoad, the NEED HELP button shows a few related articles, like this.

So, if I'm not wrong, as per this, it looks like the article IDs are used.

These IDs could be used for the the NEED HELP button for Fonts :

EN

  • 5eab7729042863474d19f647 (Preload fonts)
  • 673358b02ddbd952f6241b38 (Self-host Google Fonts)

FR

  • 5eb3add02c7d3a5ea54aa66d (Précharger les polices)
  • 675ab51d46b8d26833b2af82 (Auto-héberger les Google Fonts)

And, for the href value, we can use the Self-host Google Fonts article which is the first feature (similar to what we have for the LazyLoad button). Or, we can use the Fonts category.

In any case, the Fonts category (which was originally created to solve this issue) is still useful for the documentation organization.

camilamadronero avatar Jun 06 '25 17:06 camilamadronero

Yes, we can do a list of the articles currently in the Fonts category 👍

MathieuLamiot avatar Jun 06 '25 20:06 MathieuLamiot