Hello vako, thank you for your prompt reply.
I would like to add more social icon fields to the footer of the homepage using the Customizer and the Social Media sub-item.
Unfortunately, there is no entry for WhatsApp and Telegram in this list yet.
Therefore, I would like to know how I can add these two entries myself.
Here are two screenshots:
https://4181516.de/screenshots/Screenshot%202025-11-12%2021.46.43.png
https://4181516.de/screenshots/Screenshot%202025-11-12%2021.46.50.png
And the link to the website:
https://4181516.de/short/ui162.html
Thank you and best regards,
Tim
Ok, what a pity that there is no function for this.
I am now trying to solve this using user-defined fields, but I need to know which CSS file is responsible for the dark mode.
Could you let me know?
This is the code I am trying to work with so far:
function add_dark_mode_css_custom_field() {
if (get_post_meta(get_the_ID(), ‘dark_mode’, true) === ‘true’) {
wp_enqueue_style(‘dark-mode’, get_stylesheet_directory_uri() . ‘/dark-mode.css’);
}
}
add_action(‘wp_enqueue_scripts’, ‘add_dark_mode_css_custom_field’);