Skip Navigation

[Resolved] The use of Link Relationship (XFN)

This thread is resolved. Here is a description of the problem and solution.

Problem:
In the WordPress menu items, there is a Link Relationship (XFN) field, what is the purpose for?

Solution:
You refer to the WordPress native Link Relationship https://codex.wordpress.org/Defining_Relationships_with_XFN

The above DOC will provide you all the necessary info in regard.

This support ticket is created 8 years 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.

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)

This topic contains 2 replies, has 2 voices.

Last updated by kelvinL-2 7 years, 12 months ago.

Assisted by: Beda.

Author
Posts
#379447

Dear Beda,

From the customising menu, there is a Link Relationship (XFN) field, what is the purpose for? I want to have a menu item only be showed on desktop but hide on mobile, is it possible to do?

Best regards,

Kelvin.

#379512

I apologize my confusion, can you provide me a screenshot of what you see?

But probably you refer to the WordPress native Link Relationship https://codex.wordpress.org/Defining_Relationships_with_XFN

The above DOC will provide you all the necessary info in regard.

Regarding specific Menus only on Mobile, or specific Menu Items only on mobile, this is not something directly related to Toolset.

With Toolset you do not build Menus, this is done by WordPress, and you need to either use 2 different Menus and load them dynamically via Custom Code on your screen ports, or use CSS and CSS Classes to hide specific Items on small screens with @media Queries.
Again, this is done all in WordPress menu and Theme Style CSS.
hidden link
https://wordpress.org/support/topic/how-to-hide-sub-menu-items-on-mobile-devices
https://wordpress.org/support/topic/theme-point-hide-sub-menu-items-on-mobile

You can sure create Menus as example with Views, but this is generally not suggested as it is sort of too much query for just generating a Menu.

Please let me know if you have further questions regarding the issue mentioned in this Thread

Thank you for your patience.

#379530

Dear Beda,

I think you provide the good site for me. The XFN should be the WordPress stuff but not Toolset. Many thanks for your reply.

Best regards,

Kelvin.

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