-
Author
-
January 8, 2016 at 19:11 #97363
fersamp
ParticipantHi,
is it possible to insert a shortcode in Theme Options->Header Option-> Main menu info?
Thank you
January 9, 2016 at 14:08 #97456sharmstr
ModeratorYes
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.January 11, 2016 at 10:31 #97705fersamp
ParticipantI mean other shortcode, not kleo, for example custom code.
I need to show WPML selector with this code<?php do_action('wpml_add_language_selector'); ?>Is it correct this function?
COPY CODEfunction language_selector() { // Code do_action('wpml_add_language_selector'); } add_shortcode( 'add_language_selector', 'language_selector' );January 11, 2016 at 15:14 #97749sharmstr
ModeratorShortcodes are shortcodes. It doesnt matter what plugin/theme created it.
I have no idea if that’s correct. According to this it is: https://wpml.org/forums/topic/language-switcher-shortcode-for-text-box/
So, you should be able to use [add_language_selector]. I cant test since I dont have it. But you can test your shortcode in a text widget or post to see if it works there first.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
You must be logged in to reply to this topic.

