Short Code instead of URL

Hi

Couple of questions on this - somewhat related.

Site url is: www.btmv.rest

First I am wanting to embed a video popup using a video player plugin (as opposed to a video popup directly playing from Youtube.) All of the ways I have considered using this have the ability to input a url (such as a link attached to a image). However I would like the link to be the shortcode generated by the popup NOT the url. Therefore how/where do I place the shortcode in the place of the url link to achieve the desired result?

Second I have a responsive Lightbox that is generated by the image link to a line of text (see: www.btmv.rest/photogallery). This option is working fine. However rather than using the link to text option I would like to use the button element in Cornerstone (I prefer the way it presents). The problem is when I add the image link to the button url, it displays the picture, and does not activate the Lightbox. How can I correct this?

I am a real novice on all of this - so please keep any responses detailed - especially the how and the where.

Thanks so much in advance.

Craig

Hi Craig.

1 - I am unsure which plugin you are using, but if you would like to open a video in a lightbox you could use X Lightbox function, it can be launched from a button or an image.

In order to achieve that you need to a raw code element with the lightbox selector using the launcher class, for example, class: video

[lightbox selector=".myvideo"]

Then if you want toa dd from a button or image, you can add the button or image element and link to your video.

You also need to add the class video to the element.

2- This link was not found http://www.btmv.rest/photogallery

But you can follow exactly the same steps as above.

Hope it helps

Thanks so much for your response. Unfortunately neither were of help. It is most likely I wasn’t clear enough on the question. Also rather than trying to fix two problems concurrently, I’ll just focus on one at a time - specifically launching using shortcode.

It may be easier if I completely rephrase the question. I have the following shortcode from a popup builder plugin:

[sg_popup id=2]

The question is how do I trigger this from X Pro? I have seen a tutorial on how to launch it with the raw code text screen. However I am not using raw code text - I am using Cornerstone (editing using X Pro). So in detail how do I trigger this shortcode modal popup?

Again can you please list the steps/code/fields I need to use/follow.

Thanks again.

Hi There,

Shortcodes should work if you place them in a raw code element.

What will be generated from there, depends on the plugin and on the plugin compatibility with the theme.

You need to read the documentation of the plugin. If you follow the steps and you suppose to simply add a shortcode, you have added and it did not work, it is most likely that the plugin you are using is not compatible with X

In this case, the best would be to search for an alternative. We offer bundled with X ConvertPlus which is a Popup plugin, which can be launched from a button or text based on class, if that solves your issue, you can check this video on how to do that.

Hope it helps

Hi

Thanks for your reply. I have convert plug but have temporarily chosen not to use it as I am struggling with the functionality.

My desire is to : trigger a modal plugin that then triggers a video plugin.

I have 2 solution paths - however I am struggling with a different component of each. It has been a question of which problem on which solution will be easier to resolve.

My problem with convert plug is simple to explain but I have no idea how to resolve it. I need to display the video on a blank template using CSS. I have the video shortcode string from the plugin: [universal_video_player_and_bg settings_id=‘3’]

All I need to know is what is the CSS to use so that I can display this. Convertplug have said they don’t support such queries. Is there anything you can do to help me with this. I don’t know even where to begin.
Thanks
Craig

Hi

Please don’t worry about previous request. Problem is now solved.

Thanks
Craig

Hey,

You are most welcome!