Skip Navigation

[Resolved] Display the type of file or a link to the file in View

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 8 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Tagged: 

This topic contains 15 replies, has 2 voices.

Last updated by olegB-2 8 years, 7 months ago.

Assisted by: Beda.

Author
Posts
#335733

I would like to inform you that I have successfully solved the problem. I found this code:

function my_attach( $atts ){
    global $post;
    return $post->guid;
}
add_shortcode( 'myattach', 'my_attach' );

Thank you for your participation!

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.