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 francesco 9 years, 7 months ago.
- AuthorPosts
- February 10, 2015 at 5:05 pm #3834
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 9 years, 7 months ago by francesco.
February 10, 2015 at 5:12 pm #3835Hi!
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.
- This reply was modified 9 years, 7 months ago by Ernest Marcinko.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 10, 2015 at 5:14 pm #3838Sorry, I meant these tags:
Best,<span><a><abbr><b><p><div>
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 10, 2015 at 5:24 pm #3842Thanks 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 composerand “Run shortcodes” is enabled and strip disabled…
Other ideas?Attachments:
You must be logged in to view attached files.February 10, 2015 at 5:40 pm #3846I 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 :)
February 10, 2015 at 5:53 pm #3849edited first post with ftp details…
February 12, 2015 at 3:58 pm #3910Hi there! Did you have time to check my site?
Thanks again
f.February 12, 2015 at 4:41 pm #3911Hi!
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 :)
February 12, 2015 at 6:27 pm #3912Thanks, very kind of you
- AuthorPosts
You must be logged in to reply to this topic.