Simply delete the .maintenance file from website root folder.
That’s all.
Simply delete the .maintenance file from website root folder.
That’s all.
by dev 3 Comments
Contact form 7
[checkbox* SelectTree class:SelectTree "Flowering Dogwood" "Red Maple" "Sugar Maple" "Service Berry (Amelanchier Canadensis)" "Service Berry (Amelanchier arborea)" "River Birch" "Elm (Canopy tree)" "Fruitless Sweet Gum (Canopy tree)" "American Linden (Canopy tree)" "American Hornbean (Canopy tree)" "American Hazelhut (Fruit tree)" "Apples (Fruit tree)" "BlueBerry (Fruit tree)" "Pears (Fruit tree)"]
Jquery (Limit select 3)
jQuery(function(){ var max = 3; var checkboxes = jQuery('.SelectTree input[type="checkbox"]'); checkboxes.change(function(){ var current = checkboxes.filter(':checked').length; checkboxes.filter(':not(:checked)').prop('disabled', current >= max); }); });
Home url: home_url( ‘/’ ); [with echo and sanitization]
Site name: bloginfo( ‘name’ );
Site description: get_bloginfo( ‘description’, ‘display’ );
Navigation Menu: wp_nav_menu()
After changing the email address and sender name, add the following code in the functions.php file of your active theme.
<code class="php comments">// Function to change email address</code> <div class="container"> <div class="line number3 index2 alt2"><code class="php keyword">function</code><code class="php plain">wpdev_sender_email( </code><code class="php variable">$original_email_address</code><code class="php plain">) {</code></div> <div class="line number4 index3 alt1"><code class="php spaces"> </code><code class="php keyword">return</code><code class="php string">'bdhostit@example.com'</code><code class="php plain">;</code></div> <div class="line number5 index4 alt2"><code class="php plain">}</code></div> <div class="line number6 index5 alt1"></div> <div class="line number7 index6 alt2"><code class="php comments">// Function to change sender name</code></div> <div class="line number8 index7 alt1"><code class="php keyword">function</code><code class="php plain">wpdev_sender_name( </code><code class="php variable">$original_email_from</code><code class="php plain">) {</code></div> <div class="line number9 index8 alt2"><code class="php spaces"> </code><code class="php keyword">return</code><code class="php string">'BD HOST IT'</code><code class="php plain">;</code></div> <div class="line number10 index9 alt1"><code class="php plain">}</code></div> <div class="line number11 index10 alt2"></div> <div class="line number12 index11 alt1"><code class="php comments">// Hooking up our functions to WordPress filters </code></div> <div class="line number13 index12 alt2"><code class="php plain">add_filter( </code><code class="php string">'wp_mail_from'</code><code class="php plain">, </code><code class="php string">'wpdev_sender_email'</code><code class="php plain">);</code></div> <div class="line number14 index13 alt1"><code class="php plain">add_filter( </code><code class="php string">'wp_mail_from_name'</code><code class="php plain">, </code><code class="php string">'wpdev_sender_name'</code><code class="php plain">);</code></div> </div> <div>