Skip Navigation

[Resolved] Creating a list of documents that will be updated annually (e.g. policies).

This support ticket is created 3 years, 9 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by lindsayH 3 years, 9 months ago.

Assisted by: Waqar.

Author
Posts
#1942733
Front End - full path.png
Inline Field - Link looks fine.png
HTML edit.png

I need a list of various documents; e.g forms and polices that will be used on various pages.

I think the best way is to create a Post Field Group with File fields that is linked to pages. Although this list will be available for all pages (I will remove from pages that won't use at all by following this https://toolset.com/forums/topic/assigning-custom-fields-to-one-specific-page-only/). Even with those pages left all the forms\policies available will NOT be applicable to each. Just trying to make it easier for someone who isn't very IT literate to be able to update their forms\polices in one place throughout their site, simply by uploading a new pdf. Is this the best option?

Thinking along these lines, I've then added an Inline Field and edited the HTML so the path isn't displayed. It looks great on the backend but on the frontend it reverts to the full path. See images. Is there any way round this?

#1943427

Actually re-reading the link above I think I can solve my problem in the same\similar way.

But it'd still be interesting to see if you can use link text rather than displaying the link itself on the front end when using an Inline Field.

#1943449

Hi,

Thank you for contacting us and I'd be happy to assist.

To show the custom field group only on selective posts/pages, the code snippet from Minesh should work well.

I've done some tests on my website with the inline dynamic source feature and it offers no control to customize the output from the URL or file type fields. The saved URL is returned as it is.

I've passed on this limitation to the concerned team for further review and for now, a workaround can be to use the Types Fields shortcodes, which would give you more control over the output:
https://toolset.com/documentation/customizing-sites-using-php/functions/

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#1948887
Link - Front End Fields and Text.png

Actually you can just use the Fields and Text block - HTML below:

<p>Accidents can be very distressing for anyone involved so at My Nursery we follow this [types field='accident-and-incident-policy' title='Accident and Incident Policy' target="_blank" style='display:inline-block' item='632'][/types] to ensure all parties are supported and cared for, and their health, safety and welfare is protected throughout their time in the nursery.</p>

As links are quite commonly used inline, the same should work though on the Inline Field - so would be grateful if this could be reviewed as you suggest.