Forum Replies Created
-
AuthorPosts
-
MalinDParticipant
Solved it myself. WordPress 5.5 is causing a problem with jQuery. I installed the jQuery Migrate plugin. Now everything is working!
MalinDParticipantHi and a big big thank you!!
It was the callback function in customizer.php that did the trick, I already had get_theme_mod in the front-page-file.Now it works like a charm!
Thank you for taking your time and for solving this 🙂MalinDParticipantThat was an interesting article, I will save this for later! Thank you
I am sorry, but I think I have explained the problem porly... I don't think I can use this for my problem.In customizer.php I have added some sections, settings and controls. In this case I created a few text fields that the user could fill in to display the text and headline (Appearance/Customize/Header Section).
When filling in this text field the tags are disappearing when saving.
So what I have to do it allow html tags in the text field and to display them on the front page (or other places)MalinDParticipantIn the header I have a background image with a headline, text and a button.
I would like to be able to add a breakline (<br>) and other tags in the text and headline.
But this are ignored/disappearing when saving, so I belive that I have to add some code in the customizer.php to prevent that. I am not sure... Maybe something in the code at the front-page.php as well. -
AuthorPosts