Skip Navigation

[Resuelto] Add author id format to [wpv-post-author]

This support ticket is created hace 9 años, 11 meses. 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
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 2 respuestas, has 2 mensajes.

Last updated by Stanislav hace 9 años, 11 meses.

Assisted by: Caridad.

Autor
Mensajes
#183772

Can you add author id as a format for the [wpv-post-author] shortcode?

Example:
[wpv-post-author format="id"]

Returns:
1

(Or whatever the author id of the current post is.)

It is very useful in my application, because I am sending this ID into another custom shortcode.

#183883

Dear Stanislav,

You can use the meta format, like this:

[wpv-post-author format="meta" meta="ID"]

Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.

Regards,
Caridad

#184083

Great, thanks!

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