Implementing a custom plugin with shortcode

Posted in: Newspaper
Post count: 35

Hey there,

I have created a slider element in order to better display a few selected news from my website. I am having 2 issues:

1. I am adding the slider shortcode in plain HTML element on tagDiv composer. It does not appear on the page. I then use the text element and it does appear but above an ad placement, which is something we do not want. As you can see from the image, the code is placed below the ad but the slider appears on top of it.

https://imgur.com/a/bMmWGQ4

2. The slider is the last element that is being loaded on the page. Why is that and how can we fix this?

EDIT: Forgot the link…
There you go: https://bit.ly/3tYwHAI

  • This topic was modified 5 years by questit.
Post count: 18283

Hello !

You can use the column text element in order to render shortcodes or use HTML codes.

Simply copy the code and insert it in the text area of the column text as you can see here: https://www.screencast.com/t/UEMEsVKog

Column text is an element from tagDiv Composer.

The slider is the heaviest and that is why is loaded last. but from what I can see there is not that much of a difference to when its loaded. Hard to notice.

Thank you!

Post count: 11

Hi @questit,

I see the slider on your homepage, it is really nice. Can you please share the solution/code with me? I want to do the same for my website.

Regards.

Post count: 11

Using the column text is frustrating. I clicked on edit, typed the text but it does not save

Post count: 22

Did you ever solve this? I have the same problem – it never saves

Post count: 27744

Hello,

Please check the console if you have any errors when you try to open the wp editor, maybe is possible to be from the firewall or security module which blocks the admin-ajax.php request, which usually displays a 403 or 404 error.
If you don’t use a security plugin, please ask your host about this, maybe you have a security module that blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Also, if you are using Cloudflare, please make sure that is set as in our guide https://forum.tagdiv.com/cloudflare-cdn/, you need to disable the Rocket Loader.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.