Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #875913

    EliteWebscapes
    Participant

    Hey Guys,

    How do i keep the search results from showing the VC codes in the descriptions? Currently my client is getting this on their search.

    See attached photo.

    #876266

    Paul R
    Moderator

    Hi,

    Can you confirm that you are fully updated? (Theme and Plugins)

    The latest version numbers as of this time are (http://theme.co/changelog/)

    X Theme 4.4.1
    Cornerstone 1.2.3

    Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Thanks

    #876578

    EliteWebscapes
    Participant

    Yes I am on X 4.4.1 and Cornerstone 1.2.3

    This was happening before and was solved, but now its back.

    Let me know on this please

    EP

    #876628

    EliteWebscapes
    Participant

    Also I have checked all my plugs including Visual Composer and they are all up to date as well.

    EP

    #876988

    Rupok
    Member

    Hi Guys,

    Thanks for posting in! It’s because you didn’t place any excerpt for the pages/posts and they don’t have any real text to display on the excerpt field. So it’s apparently pulling the shortcodes.

    To solve this issue, you need to use real text or excerpts for the content.

    If you want to remove the excerpt fields from search result page then you can use :

    .search-results .entry-content.excerpt {
      display: none;
    }
    
    .search-results .hentry {
      margin-top: 2em;
    }

    Hope this helps.

    Cheers!

    #877195

    EliteWebscapes
    Participant

    Hey Guys,

    Unfortunatley deleting them is not an option. Currently wordpress has only the Exerpt built into POSTS vs pages, where i need them. Is there a tool for doing this that is compatible with your framework?

    #877222

    EliteWebscapes
    Participant

    OK it looks like the Advanced Excerpt plugin does the trick, by removing the VC codes ONLY on search pages! Sweet!

    #877835

    Paul R
    Moderator

    Hi,

    Glad to know it’s fixed.

    Have a great day!