Script in the menu
-
Hello,
How could I insert HTML into my WordPress menu?
I explain:
A section of my menu, Catálogo 2025, leads to this url: https://742c06f6.flowpaper.com/CATLOGO2425compressed1/#page=1
But I don’t want that url I want something like honimunn.com/catalogo-2025
From the tool I have done this it provides me with a script but when I added it to the menu it is not saved:

The page I need help with: [log in to see the link]
-
Hello monicaamb12
Thank you for contacting WooCommerce support.
You can simply add the URL in that field instead of the complete HTML anchor tag. You already have the URL inside the href=”…..”.
So put only the URL starting with https in that field and save the menu.Here is a screenshot for your reference:

I hope this helps. 🙂
Best regards.
Thank you for your reply.
But I don’t want this url:
https://742c06f6.flowpaper.com/CATLOGO2425compressed1/#page=1
I want this one:
https://honimunn.com/catalogo-2025
🙂Hello monicaamb12
Thank you for your reply.
I checked this URL and noticed that it redirects to a different website not created with WordPress.
If you want to show a PDF file on your site’s page https://honimunn.com/catalogo-2025 then you will need to create a new page called “catalogo-2025” and then embed a PDF file into that page.
To embed a PDF you can use the default Block Editor of WordPress or 3rd party plugin such as PDF Embedder. Please look at this tutorial, which shows both ways to embed a PDF file.
Please don’t hesitate to contact us again if you have more questions or concerns. I am here to help 🙂
Best regards.
Thank you very much for your help
Hi @monicaamb12,
I’m glad we were able to help!
If you have a few minutes, we’d love if you could leave us a review: https://ww.wp.xz.cn/support/plugin/woocommerce/reviews/
Thanks.
The topic ‘Script in the menu’ is closed to new replies.