I would like to add a toggle button of wpml at the top right side where the social icons, Let me know how could I do this, website link is on the private information section.
Does the plugin provides a shortcode to add the toggle?
The social icons seems added with a block element, can you go to appearance > elements, see if there’s a block element – hook, hook name might be generate_before_header?
I think this is not easy as I think as its required PHP code editing and I am not using child theme now so don’t take any risk, below are some queries I would like to ask you
1. Do I need to install the child theme and then edit the shortcode provided by wpml?
2. If anything mess up on the website can I easy to retrieve it by using the child theme as I am new to this?
Link added on the private information provided by wpml website shortcode example.
I think this is not easy as I think as its required PHP code editing and I am not using child theme now so don’t take any risk, below are some queries I would like to ask you
There won’t be any need for PHP editing if you’re only going to use some default shortcode WPML already provides.
You can use the Custom HTML block or the Shortcode block within Block element you’re trying to edit to place the required shortcode. 🙂