Description not showing on pages created with Visual Composer

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Description not showing on pages created with Visual Composer

This topic contains 8 replies, has 2 voices, and was last updated by

 
Participant
6 years, 11 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #3834

    Participant

    Hi there,
    there is no description in search results for post created with Visual Composer…
    I tried different options like RUN SHORTCODES, STRIP… I also tried to visualize Excerpts instead, but nothing seems to work (no excerpt when this is not manually written)
    This is happening in portfolio pages, normal pages and everywhere with the exception of blog posts where I didn’t use Visual Composer.
    I have more than 180 portfolio items…
    What can I do?

    • This topic was modified 6 years, 11 months ago by  francesco.
    #3835

    Hi!

    It’s most likely that the content is stored within different HTML tags, that are allowed and there might be a syntax error (most likely unclosed html) causing the content to completely disappear.

    You should try to allow more tags on the Advanced Options -> HTML Tags exclude from stripping content option. Currently you can see a,abbr,span,b tags as non stripped. Try to add div and p as well, those are common ones.
    So the final options should look like this:

    <span><a><abbr><b><p><div>

    And of course the Run shortcodes found in post content should be enabled and the Strip shortcodes from post content should be disabled.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #3838

    Sorry, I meant these tags:

    <span><a><abbr><b><p><div>
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #3842

    Participant

    Thanks for your fast reply but… it doesn’t works! I’ve added those tags before.
    Look at this img:
    – results with no description = visual composer
    – results with description = no visual composer

    and “Run shortcodes” is enabled and strip disabled…
    Other ideas?

    Attachments:
    You must be logged in to view attached files.
    #3846

    I have no idea. Maybe the description isn’t stored in the post description field, maybe in a meta? I have a copy of visual composer myself for testing puproses, but it works 🙁

    I can’t really provide or promise 3rd party plugin compatibility, but usually visual composer is an exception due to it’s wide user base – and it’s very well written plugin, I must say.

    In your case all I can do is manually debug and check for possible errors and such. To do this however I need temporary ftp and admin access. If you can provide that, I will probably be able to tell what’s the problem there. You can do that by editing your first post in this thread, or uploading a txt file with details. Both way is secure, not visible to anyone else.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #3849

    Participant

    edited first post with ftp details…

    #3910

    Participant

    Hi there! Did you have time to check my site?
    Thanks again
    f.

    #3911

    Hi!

    Yes. The problem was that the description length was 60 characters and the leftover stripped html tags were incomplete as I expected. Luckily this was not an error or a bug. All I did is changed the strip tags to this:

    <b>

    So every other tag will be stripped besides “b”. The description should be visible now.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #3912

    Participant

    Thanks, very kind of you

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.