June 13, 2013 at 2:50 pm #9204mustseeMember
I have 2 plugins…they both work fine on their own but when i try to use them together with shortcodes it breaks the external webpage url inside lightbox shortcode.
Fix did not work.
I spoke with support for my other plugin..they said the short code was breaking on lightbox side of things, here is the code…is there anyway to make it work so that lightbox will work with another shortcode inside of it?
[wp_lightbox_display_external_page link=”http://www.epxbody.com/%5BDAPUpline showField=”custom_epxusername”]/index.php?toDo=product-burn” width=”1000″ height=”800″ title=”Please wait for the page to load!” source=”http://epx.s3.amazonaws.com/products/burn-small.jpg”%5D
Screen shot of 2 codes…one works but second one with second shortcode doesn’t Screen shot >> [http://screencast.com/t/OTPWyP18zoNx]
Here is the page it is on…http://www.xtreme10k.com/test/
Screen shot >> [http://screencast.com/t/1tu75Wodf3]
As you can see the link for lightbox is breaking at the second short code…any idea how to fix this…I am sure if the lightbox code was structured maybe with
[lightbox] [second shortcode here] [/lightbox] it would allow for short code nesting as this is already being done on my site with the short code structured like this. Need a fix please.June 14, 2013 at 12:14 am #56097
linkparameter in the shortcode is designed to take just a plain URL to a page (which you want to pop up in lightbox). If you add your custom content or shortcode to it the popup will not work.November 23, 2013 at 7:01 am #56098justin2016Member
I am not sure if this is the right place to post this question but am hoping you’ll get it and be able to help me out.
I am trying to get my readmore links to open in the popup.
default code is – ” class=”readmore”>Read More
I have changed it to – <?php echo do_shortcode(‘[wp_lightbox_anchor_text_display_external_page link=”<?php the_permalink(); ?>” width=”640″ height=”480″ title=”title goes here” text=”Read more”]’); ?>
But to no avail.
Is there a correct way to do this? Am I even on the right track?
JustinNovember 23, 2013 at 4:44 pm #56099
I followed the instructions on your website here for using the shortcode for Vimeo videos. This is the place i got your shortcode from:
I modified the code for the video i want and the size i want. The video plays but the size is not correct, here is the shortcode i used.
[wp_lightbox_prettyPhoto_anchor_text_video link=”http://vimeo.com/45878034″ width=”960″
height=”540″ text=”Click here to open the Vimeo video” description=”Video description goes here”]
I want the video to play at the same size it plays on Vimeo which is 960×540 but it is playing in the lightbox at 500×280.
Here is the front end where the problem can be seen:
To see the issue click on “Click here to open the Vimeo Video”
I am using WordPress 3.7.1, yours is the only plugin i am using besides aksimet, I am using the wordpress 2013 theme. I uploaded your pluggin through FTP
Please tell me why the size is not correct and how i can fix this? Thanks.November 23, 2013 at 10:57 pm #56100
@justin, Can I see the HTML code for your
@RocketBanner, The HTML code looks broken on the front end. Please copy the exact shortcode from here and paste it in the “text” editor:
[wp_lightbox_prettyPhoto_anchor_text_video link="http://vimeo.com/45878034" width="960" height="540" text="Click here to open the Vimeo video" description="Video description goes here"]November 24, 2013 at 6:15 am #56101justin2016Member
Hi again moderator,
I have worked it out.
For those that are interested correct usage is as follows;
<?php echo do_shortcode('[wp_lightbox_anchor_text_display_external_page link="'.get_permalink().'" width="640" height="480" title="title goes here" text="Read more"]'); ?>
JustinNovember 25, 2013 at 1:28 pm #56102
I posted that code directly into the text editor and on the front end it is just showing the code exactly as i posted it.November 25, 2013 at 1:30 pm #56103
here is a link to how it looks on the frontend:
[http://rocketbanner.com/blog/?page_id=54]November 25, 2013 at 10:41 pm #56104
You don’t seem to have the Lightbox Ultimate plugin installed under [http://rocketbanner.com/blog/]. This is why shortcodes are not getting filtered.
- You must be logged in to reply to this topic.