Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

How to pass WP parameters/vars to the iframe source link(s)?
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=4177
Page 1 of 1

Author:  guenter [ 18. Nov 2016, 08:01 ]
Post subject:  How to pass WP parameters/vars to the iframe source link(s)?

Hi,

I want to use WP site parameters especially the post-titel within the iframe-scr-link.

To get/pass parameters from the url works fine, but how to use existing wp-parameters?
(has this to be implement for each parameter itself or is there another way around to use all existing WP-parameters/variables?)

Thank you very much for your support.

KR,
Guenter

Author:  TinyWebGallery [ 18. Nov 2016, 12:19 ]
Post subject:  Re: How to pass WP parameters/vars to the iframe source link

Hi,

this feature does not exist yet. I have a way to add user data and meta data.
But not data of the page itself.
This would have to be implemented.

Which variables are you referring to.

Best, Michael

Author:  guenter [ 19. Nov 2016, 20:01 ]
Post subject:  Re: How to pass WP parameters/vars to the iframe source link

Hi Michael,

I´m not really sure about the varibale name(s).

I want to use the actual post title (of the post in a Wordpress-Blog) in the iframe-src-link.

What I´ve found is:
Class Reference/WP Post:
Member Variables of WP_Post:
post_title string The title of the post
(post_name string The post's slug)

Si I hope that post_titel is the right choice. (hopefully a useful form for you).

Hope I´ve described the problem well so that you are sure what I like to have.

Many thanks & kind regards,

Guenter

Author:  TinyWebGallery [ 20. Nov 2016, 08:43 ]
Post subject:  Re: How to pass WP parameters/vars to the iframe source link

post_name seems to be right.

This is no feature yet. This has to be extended.
Are you a developer or should I create a custom version for you?

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/