Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Description not showing on pages created with Visual Composer
- This topic has 8 replies, 2 voices, and was last updated 11 years, 3 months ago by
francesco.
-
AuthorPosts
-
February 10, 2015 at 5:05 pm #3834
francesco
ParticipantHi 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 11 years, 3 months ago by
francesco.
February 10, 2015 at 5:12 pm #3835Ernest Marcinko
KeymasterHi!
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: [code]<span><a><abbr><b><p><div>[/code]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 11 years, 3 months ago by
Ernest Marcinko.
February 10, 2015 at 5:14 pm #3838Ernest Marcinko
KeymasterSorry, I meant these tags: [code]<span><a><abbr><b><p><div>[/code]
February 10, 2015 at 5:24 pm #3842francesco
ParticipantThanks 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?February 10, 2015 at 5:40 pm #3846Ernest Marcinko
KeymasterI 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.
February 10, 2015 at 5:53 pm #3849francesco
Participantedited first post with ftp details…
February 12, 2015 at 3:58 pm #3910francesco
ParticipantHi there! Did you have time to check my site?
Thanks again
f.February 12, 2015 at 4:41 pm #3911Ernest Marcinko
KeymasterHi!
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:
[code]<b>[/code]
So every other tag will be stripped besides “b”. The description should be visible now.
February 12, 2015 at 6:27 pm #3912francesco
ParticipantThanks, very kind of you
-
This topic was modified 11 years, 3 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.