I recently upgraded Newspaper 6 to Newspaper 8 and I am noticing that the Custom Links in all VC Single Image modules cease to render and ignore any parameters entered into custom_link field. The hyperlink is replaced with only a single hashmark and the field is ignored. I have attempted to edit the raw text as well as using the WPBakery Page Builder and the fields are saved and editable but ignored when rendered in both. I have also attempted to manually use the parameter “link” as well as “img_link” by editing the raw shortcode in the build-in WordPress editor in Text mode and it also fails to render.
Here is an example of the raw shortcode text using the build-in WordPress view to show the raw code that I am attempting:
[vc_single_image image="14780" img_size="full" onclick="custom_link" img_link="/breast-health/" el_id="breast-health-link" link="/breast-health/"]
And here is how the VC Single Image is rendered in the DOM:
<a class="td_single_image_bg" style="background-image: url('https://[REDACTED IMAGE URL HERE].jpg'); background-size: cover; background-repeat: no-repeat; background-position: center center;" href="#" rel="bookmark"></a>
You can see that neither the href field is being populated from the link or img_link field, nor the id field from the el_id field is being rendered.
These fields works perfectly fine in Newspaper 6, but not on the upgraded Newspaper 8.8.2. I have attempted to render this in a child theme of Newspaper 8 as well as the native Newspaper 8 theme and both fail. The plugin versions in use are
- WPBakery Page Builder 5.5.1
- td-api-plugin 1.0.2
- tagDiv Speed Booster 4.9.1
- tagDiv Social Counter 4.4
- tagDiv Composer 2.3
- tagDiv Books custom post types sample 1.0
- Slider Revolution 5.4.8
Hopefully someone can point me in the right direction to fix this.
Thanks.
Hi,
There will be problems when both composers are active, some elements will not work properly. Deactivate the tagDiv composer in this case and everything will look and function as before.
Note that the tagDiv composer will be activated automatically when the theme is updated.
Thanks
So the single images are still not working as before, try on a new page as a test. Place a single image with WPBakery, set an image and a custom link. Check if that works. Maybe also clear any caching as well as CDN if used.
I made some tests with same version of WPBakery single images and custom links, they seem to work
– https://www.screencast.com/t/w3meqaho
– https://www.screencast.com/t/ltAKVMj5Gt
Hi Simion,
I just trying to create a brand new page and added a single VC Single Image on it using WPBakery Page Builder and I experienced the same problem. The hyperlink is ignored and is replaced with a single hashmark.
Is there something else I can try? Thanks!
Hi,
Please send us an email at contact@tagdiv.com and provide admin access to the website. If the tagDiv composer is deactivated there would be no problem.
I can’t replicate the issue you describe using the latest theme version and WPBakery 5.5.1 provided in the theme package.
Include a link to this topic in the email.