Skip Navigation

[Closed] Show value from custom field in another shortcode 2

This support ticket is created 2 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 3 replies, has 2 voices.

Last updated by Christopher Amirian 2 years, 8 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2377341
Screenshot 2022-06-03 at 19-03.png

Update:
I try your suggestion with raw url output but got some error see attached image:

[matterport src="[types field='link-na-3d-prehliadku' output='url'][/types]" width="900"]

---------

Hello, i got real estate website created with toolset. So far so good.
Now i wan to show 3d virtual tour from matterport.com. So i activate this module hidden link

I got toolset custom field with url value (filled with url of tour):
[types field='3d-tour-matterport-com-url'][/types]

Matterport plugin use this shortcode to show 3d tour:
[matterport src="hidden link" width="900"]

SO I wan to combine it. I try this:
[matterport src="[types field='3d-tour-matterport-com-url'][/types]" width="900"]

But i got some error.

Many thanks for help <3

#2378243

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

I am not sure if it is possible to use the shortcode inside that shortcode.

We do not know how the third-party shortcode work, but would you please try this?

[matterport src='[types field="3d-tour-matterport-com-url"][/types]' width='900']

So the difference is that the outer shortcode has ' and the inner one has " for the attributes.

But again it might be the fact that the shortcode in question is not accepting such values.

Thanks.

#2379481

Sadly it didnt work.
BTW do you have any idea how to show 3d matterport tours embed to the real estate listing, by using Toolset (user friendly)?

#2380095

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Unfortunately, we do not have any integration with the plugin in question and as we do not know their codebase I doubt we can be of help.

The best way is to hire a developer that is familiar with both plugins and can use their hooks to integrate them.

Here is the list of the hooks available in Toolset:

https://toolset.com/documentation/programmer-reference/toolset-hooks/

For a list of developers familiar with Toolset you can use the link below:

https://toolset.com/contractors/

Now regarding the shortcode that you have, did you test it inside a VIEW? Because it might be the fact that you add the shortcode inside an HTML block and it is not rendered. So what happens if you try to add the shortcode inside a view to forcing the shortcode to work?

Thanks.

The topic ‘[Closed] Show value from custom field in another shortcode 2’ is closed to new replies.