How can I stop the plugin to wrap other elements with which are not related?
Viewing 2 Posts - 1 through 2 (of 2 total)
Author | Posts |
---|---|
January 18, 2014 at 7:26 pm 14564 | |
sjeev |
The plugin wraps everything in the post-meta with it's <ul> and treat like it's own custom fields. If the post-meta has div and span elements, the plugin wraps them too.
That makes the code invalid and the page looks ugly if it wraps all the divs which are not related to WPUF.
For example, if I have related_posts plugin and add_this plugins installed and their content will also be wrapped by your plugin. And the code looks like this:
I managed to separate the div elements from the plugin's class="wpuf_customs" using jquery. But that causes another trouble on posts loop.
So I had to remove the entire function wpuf_show_meta_front in the plugin file.
Can you provide a solution to stop the plugin wrapping elements which are not related to it?
Thanks! |
January 19, 2014 at 12:51 pm 14576 | |
Tareq Hasan | That shouldn’t be the case. It only wraps them in that |
January 19, 2014 at 5:13 pm 14585 | |
sjeev | Hello Tareq, It wraps every element which is not related to WPUF after the plugin’s custom fields. |
Viewing 2 Posts - 1 through 2 (of 2 total)