Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1368511

    Please see this link:

    https://dev.galaxypress.com/?s=stephen+king

    When you do a search the short code is showing up. Is there some CSS I can use to hid these?

    For example would not want to see:
    [av_button label='Trade Paperback' icon_select='no' icon='ue800' font='entypo-fontello' size='small' position='left' label_display='' title_attr='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' link='product,20615' link_target='' id='' custom_class='' av_uid='' admin_preview_bg=''] [av_button label='Audiobook CD' icon_select='no' icon='ue800' font='entypo-fontello' size='small' position='left' label_display='' title_attr='' color='theme-color-subtle' custom_bg='#444444' custom_font='#ffffff' link='product,20527' link_target='' id='' custom_class='' av_uid='' admin_preview_bg='']

    Thank you, Jason

    #1368518

    Hi Jason,

    Try using the solution given in this thread: https://kriesi.at/support/topic/search-results-preview-showing-shortcode/#post-423784
    Hope this helps.

    Best regards,
    Nikko

    #1368665

    Dear Nikko,

    I added the code in the quick CSS but I am still seeing the short code? Can you see the attached screen shot to see if I did ti wrong?

    Best, Jason

    /* Removes short code in search*/
    span.ajax_search_excerpt {
    display: none !important;
    }

    #1368702

    Hi Jason,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( to be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Nikko

    #1368758

    Thank you so much! I have the temporary login in the private field.

    #1368943

    Hi,
    Thanks for the login, I added this code to your child theme functions.php:

    add_filter( 'the_excerpt', 'do_shortcode');

    and now the buttons show instead of the shortcode:
    2022-10-15_001.png

    Best regards,
    Mike

    #1368995

    Dear Mike, THANK YOU!!!! That is great! Maybe in the future this is something everyone would benefit from.

    Thanks again. Jason

    #1368998

    Hi,

    Great, I’m glad that Mike could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1369025

    Thanks so much. You can close the ticket.

    Best, Jason

    #1369028

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Search resultes are showring short code in the text?’ is closed to new replies.