Forum Replies Created
-
AuthorPosts
-
wix
ParticipantHello Ernest,
I work with this on PJ
( i cant set here because your ticket software block my response )Does this seem coherent to you?
wix
ParticipantHello
Indeed this code does not work correctly and I can’t edit to that it is functional.
If the text of the CPT contains in the middle the word it’s ok
For all other cases (even non-CPT) there is only “……” so match[0] is always empty
I think it comes from the regex but I can’t find what you are using
Thankswix
ParticipantHi,
1.
Post-type :wp --allow-root post-type get fiche +-----------------+---------------------------------------------------------------------------------------------+ | Field | Value | +-----------------+---------------------------------------------------------------------------------------------+ | name | fiche | | label | Fiches de service | | description | | | hierarchical | true | | public | true | | capability_type | post | | labels | {"name":"Fiches de service","singular_name":"Fiche de service","add_new":"Ajouter","add_new | | | _item":"Ajouter un nouveau Fiche de service","edit_item":"Modifier Fiche de service","new_i | | | tem":"Nouveau Fiche de service","view_item":"Voir Fiche de service","view_items":"Voir Fich | | | es de service","search_items":"Recherche de Fiches de service","not_found":"Aucun Fiches de | | | service trouv\u00e9.","not_found_in_trash":"Aucun Fiches de service trouv\u00e9 dans la co | | | rbeille.","parent_item_colon":"Page parente\u00a0:","all_items":"Tous les Fiches de service | | | ","archives":"Tous les Fiches de service","attributes":"Attributs de page","insert_into_ite | | | m":"Ins\u00e9rer dans la page","uploaded_to_this_item":"T\u00e9l\u00e9vers\u00e9s sur cette | | | page","featured_image":"Image mise en avant","set_featured_image":"D\u00e9finir l\u2019ima | | | ge mise en avant","remove_featured_image":"Supprimer l\u2019image mise en avant","use_featu | | | red_image":"Utiliser comme image mise en avant","filter_items_list":"Filtrer la liste des p | | | ages","filter_by_date":"Filtrer par date","items_list_navigation":"Navigation de la liste d | | | es pages","items_list":"Liste des pages","item_published":"Page mise en ligne.","item_publi | | | shed_privately":"Page mise en ligne en priv\u00e9.","item_reverted_to_draft":"Page reconver | | | tie en brouillon.","item_scheduled":"Page planifi\u00e9e.","item_updated":"Page mise \u00e0 | | | jour.","item_link":"Lien de page","item_link_description":"Un lien vers une page.","menu_n | | | ame":"Fiches de service","name_admin_bar":"Fiche de service"} | | cap | {"edit_post":"edit_post","read_post":"read_post","delete_post":"delete_post","edit_posts":" | | | edit_posts","edit_others_posts":"edit_others_posts","delete_posts":"delete_posts","publish_ | | | posts":"publish_posts","read_private_posts":"read_private_posts","read":"read","delete_priv | | | ate_posts":"delete_private_posts","delete_published_posts":"delete_published_posts","delete | | | _others_posts":"delete_others_posts","edit_private_posts":"edit_private_posts","edit_publis | | | hed_posts":"edit_published_posts","create_posts":"edit_posts"} | | supports | {"title":true,"editor":true,"thumbnail":true,"excerpt":true,"revisions":true,"author":true, | | | "page-attributes":true,"post-formats":true} | +-----------------+---------------------------------------------------------------------------------------------+– Advanced Custom Field :
"fields": [ { "key": "field_58b971c1ab7ef", "label": "Description", "name": "description_fr", "type": "wysiwyg", "instructions": "", "required": 1, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "tabs": "all", "toolbar": "full", "media_upload": 1, "delay": 0 }, { "key": "field_58b871c1ab7ef", "label": "Description", "name": "description_en", "type": "wysiwyg", "instructions": "", "required": 1, "conditional_logic": 0, "wrapper": { "width": "", "class": "", "id": "" }, "default_value": "", "toolbar": "full", "media_upload": 1, "tabs": "all", "delay": 0 },In your plugin setting i set “{descriptionfield}{description_fr}{description_en} ”
3. Ok thanks we wait
4. Ok I want try to dev this with jquery after loading page with _POST var
Thanks
Williamwix
ParticipantThank you for your reply
1. is it possible that I can create a hook to apply the same filter? My custom field is equivalent to content of a post
2. sorry i didn’t find it thank you
3. it’s impossible, its a private intranet and google analytics does not comply with our GDPR rules. Can’t you integrate this solution natively? I don’t want to modify your plugin and maintain updates manualy. We mainly bought this plugin for this function, because we had read that it offered analytics and thought that was what it was for. :/
4. There is another request: We use kadence block to create tabs (but it’s the same principle for all tab blocks). When the search result is in a secondary tab, well it would be interesting to have the ID of the div in the URL so that it opens directly.thank you in advance
-
AuthorPosts