Menu selection for header

One way of doing this would be to set a cookie when the user selects which menu they want to view, and on all page visits, check the cookie to see which menu they chose, and display the menu that matches their selection. A cookie can be set using JavaScript on the client side, while … Read more

Calling get_theme_mod() of an WP_Customize_Image_Control() returns an Array, how do I correctly return the image src for my custom theme?

Short answer: Pasting in your code, setting the images. I was able to get the string with <img src=”https://wordpress.stackexchange.com/questions/304906/<?php echo $colorlogoURL[“image_upload_test’] ?>”> Long answer: Having an array on each unique setting (nscoctwentyseventeen_*_logo[image_upload_test]) doesn’t make sense to me for this simple use. The functionality for it exists in core, so there’s obviously a reason for it, … Read more

Help needed creating a custom Hamburger menu in header

I see 2 things. 1 (your point 5). $(‘#toggle’).toggle( // don’t you need a click action here? And i think you’re using toggle() the wrong way. Example: $( “#toggle” ).click(function() { $( “#toggle” ).toggle( “slow”, function() { // The matched elements will be revealed or hidden // Animation complete. }); }); 2. <div id=”toggle”> <img … Read more

Customize WP website specific column with CSS

Include Rochester font from Google <link href=”https://fonts.googleapis.com/css?family=Rochester” rel=”stylesheet”> See wp_enqueue_style() or maybe you can use your theme (set font rochester to a heading you dont use for example). Add a class to that h2: <h2 class=”rochester-font”>CREATING STYLE FOR BETTER LIFE</h2> In your CSS: .rochester-font { font-family: ‘Rochester’, cursive; /* other css */ } Don’t forget … Read more