Custom password set/reset link in same URL format as default does’t work
The error (flagged in debug) was that I was using $user_data in the line $key = get_password_reset_key( $user_data ); instead of $user. Works now on WP 4.9.6.
The error (flagged in debug) was that I was using $user_data in the line $key = get_password_reset_key( $user_data ); instead of $user. Works now on WP 4.9.6.
How to hide or remove a custom widget area when empty
I use the Persist Admin Notices code available on github for admin notices. [EDIT] What you’re looking for are Admin Pointers. There are used to help users navigate/use some new functionality.
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
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
What you are looking for sounds a lot like a tabbed content pattern, a front-end only solution allows you to enter all the content on one post, but the user clicks different tabs to expose different parts of the content. You can hand-craft something like this with CSS and Javascript. But I prefer to develop … Read more
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
You’re trying to do a CSS override, can’t really classify this as a ‘hack’ 😉 First, you mentiod you place the css in the theme files, make sure you do it in a child theme, so you can update the theme and don’t loose your changes. More info about child themes here. When i check … Read more
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
Contact form 7 ajax response true/false based on some condtion