Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1079044
Quickfinder
Closed

Comments

  •  2
    simonx2k started the conversation

    Hello,

    how can I add seo friendly tags (like <strong>) inside the quickfinder items?


    Thank you!

  •  7,121
    Oliver replied

    HI!

    You need to edit Quickfinder tempates, check:

    /wp-content/themes/thegem/gem-templates/quickfinders

    It's templates, just copy it to the child theme.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    simonx2k replied

    Tried it but that's the visualization part, you can apply tags to the whole text... but if I want to apply tags only to certain part of text, the tags disappear when the quickfinder is saved (inside the administration part)

  •  7,121
    Oliver replied

    You need to edit:

    /wp-content/plugins/thegem-elements/inc/post-types/quickfinders.php

    line 85 

    remove 

    esc_textarea

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    simonx2k replied

    Actually I had to comment the line 224 too.

    Thanks!


  •  7,121
    Oliver replied

    Sorry?

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  •  2
    simonx2k replied

    I had to comment this line too (224)

    $quickfinder_item_data['description'] = implode("\n", array_map('sanitize_text_field', explode("\n", $quickfinder_item_data['description'])));

    otherwise, it would remove html tags at every quickfinder save