• louisbujol

    (@louisbujol)


    Bonjour et merci pour ce plugin bien sympa et surtout très simple a mettre en oeuvre.
    J’ai un problème de liens vers les définitions.
    J’ai créé ma page glossary dont le lien est https://monsite.fr/glossary
    J’ai créé plusieurs définitions et cliqué sur le bouton de ré-indexation.
    Les liens dans mes pages ou posts vers les définitions se retrouvent sous une forme https://monsite.fr/glossary/dernière-definition-créée/#definition/.
    Ce lien renvoi systématiquement sur ma page d’accueil.
    Le lien qui fonctionnerait serait : https://monsite.fr/glossary/#defintion qui renvoi bien vers la page glossary et qui vient déployer la bonne définition de cette page.
    Est-ce un problème dans le plugin ou un problème de configuration de mon site ?
    Merci d’avance.

    • This topic was modified 2 years ago by louisbujol.
    • This topic was modified 2 years ago by louisbujol.
Viewing 10 replies - 1 through 10 (of 10 total)
  • I have the same problem.
    And what if I have used shortcode and url where glossary is embedded is different?

    Plugin Author Bastien Martinent

    (@bmartinent)

    Bonjour, et navre pour la longue attente.
    Il y a une mise a jour qui arrive pour le plugin, rien de révolutionnaire, mais je vais voir si je peux reproduire et corriger votre problème avant la sortie.

    hi, and sorry for the long waiting.
    A plugin update is comming, nothing game changing, but i will try to reproduce and fix your essues before the release.

    Plugin Author Bastien Martinent

    (@bmartinent)

    Bonjour,

    Je n’ai pas reproduit ce comportement. mais je vais vous proposer mon hypothèse la plus simple et croiser les doigts.

    Le plugin nécessite que vous créez une page avec le bloc glossaire dedans pour faire office d’archive. Avez-vous bien respecté cette étape ?

    Hi, i cannot reproduce this behavior. but i will give you my simple hypothesis and hope it is a good one.

    The plugin requires you to create a page with the glossary block to behave as an archive. Have you done this step ?

    Do you mean another page than the one where i embedded the shortcode?
    I have a page with another content (hero, description) where I put glossary shortcode. Do I need sth more?

    • This reply was modified 1 year, 11 months ago by gosiazks.
    Plugin Author Bastien Martinent

    (@bmartinent)

    No.
    On paper the shortcode or the glossary block do the same.
    The plugin needs just one of them.
    But you find the issue. I have simply forgotten to check for the shortcode in someplace.

    if you can use gutenberg try to use the glossary block instead of the shortcode.
    I will fix this issue in the next update ( just a last bug to fix without counting this one ).

    Thank you again for your patience and feedback.

    I’m happy that we found the issue ?? I use page builder, so I can’t mix it with gutenberg blocks.

    Can I temporary disable this function for finding words in content?

    Plugin Author Bastien Martinent

    (@bmartinent)

    we know my wp glossary lack configuration screen but there is a lot of filters you can use to change this behavior.

    There is all the avalable filters

    “mywpglossary_matching” change term matching rules ( is_singular or in the in_the_loop and is_main_query and not in a glossary page by default )
    “mywpglossary_insertion_style” change term display mode use ‘link’, ‘popin’ or ‘tippy_poppin’ ( ‘link’ by default )
    “mywpglossary_override_term” change the terms data ( content, link, etc ) match in the current context
    “mywpglossary_exclude_tags” change parent tags ignored when searching for glossary terms ( hx and a by default )
    “mywpglossary_override_glossary_link” change the link generated for each terms
    “mywpglossary_display_term_content” change the content of each terms
    “mywpglossary_override_tag_limit” change the number of terms who can be displayed by pages ( -1 for infinite by default )
    “mywpglossary_tippy_theme” change the tippy theme
    “mywpglossary_glossary_term_limit” change the maximum display term in the glossary page ( 200 by default )
    “mywpglossary_glossary_term_archive” change the archive markup for the glossary page
    “mywpglossary_use_single” enable terms single, replace terms content into the block by links to the single
    ‘mywpglossary_alpha’ for index chars used by the glossay
    ‘mywpglossary_encapsulation_chars’ for accepted encapsulations chars
    ‘mywpglossary_term_transient_key’ for cache transient key
    ‘mywpglossary_term_transient_expiration’ for cache expiration time

    so if you whant to desactivate the term detection you can send a false into the filter “mywpglossary_matching”

    add_filter( 'mywpglossary_matching', '__return_false', 0, 10 );

    But i have just update the plugin your probleme shoud be solved. ( terms link are in cache it may take 6h to update or you can delete the “{your_table_prefix}_options” entry “_transient_transient_glossary” and “_transient_timeout_transient_glossary” ) form your db.

    Thread Starter louisbujol

    (@louisbujol)

    Bonjour,
    Désolé j’ai changé de plugin.

    Plugin Author Bastien Martinent

    (@bmartinent)

    C’est tout a fait compréhensible.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problème de liens vers les définitions’ is closed to new replies.