WhatsApp Group Join Now
Telegram Group Join Now

Post Footer Me Subscribe Box Add Kaise Karen ?

Welcome back Hindihelp4u today main aap log ke liye Post footer me subscribe Box add kaise karen Agar aapko hamari ye post pasand aaye to Comment karke feedback jarur dijiyega jaisa ki aap mere post footer me main dekh sakte hai.

Doston post footer me aap kahi bhi Subscribe badi Aashani se laga sakte hai, jaise Aapko share button ke niche aur Author box ke niche kahi bhi laga sakte hai.

Post-footer-me-subscribe-box-add-karen.

Post ke niche (Content Footer) Area me subscribe box lagane ke fayda ye hai, Agar koi visitor Ko aapka post pasand aa jata hai, yo vo Just Subscribe kar lega. Mere hisab se Aapko ko post footer me subscribe box laga lena chahiye.

Post footer me Subscribe Box add kare?

Blog me subscribe box add karna bahut hi aashan hai, bas aapko code sahi jagah add karna hai.

content post ke footer Subscribe box add kare?

Yadi post ke just niche subscribe box show karna chahte hai to niche step follow karen.

1.-First aapko WordPress dashboard per jana hai.

2.-Ab appearance Section me Editor per jana hoga.

3.-Uske baad ab Function.php file open kare aur niche diye gaye code ko copy karke paste kar de.

Subscribe box code-

function add_my_optin( $content ) 
{ $post_type = get_post_type(); 
// Return the unfiltered content if we're not on a post. if ( $post_type != 'post' ) 
{ return $content; } // If we're not on a single post page, bail. 
// You can remove this if you want the form to appear on your homepage too. if ( ! is_single() ) 
{ return $content; } ob_start(); ?> <!-- Add your opt-in form code here! Example: --> 
<form> <input type="text" name="email" placeholder="Enter your email"> 
<input type="submit" name="submit" value="Subscribe"> </form> 
<?php // Add the opt-in form after the post content. return $content . ob_get_clean(); } add_filter( 'the_content', 'add_my_optin', 125 );

Note- bold colour ke code ki jagah per apna Subscribe box ka code paste karke save kar dena hai.

2.Author box ke Niche Subscribe box (widget) kaise lagaye?

Agar aap chahte hai ki subscribe (newsletter box) Author box ke just niche add karan to Vo bhi bahut simple tarike se add kar sakte hai. Bas thodi si coding karna hoga.

1.First apne WordPress ke dashboard me jaye aur Appearance Section me theme Editor option per jaye.

2.Ab aapko theme file ke Author.php ya Content-author-box-php file ko open karna hai.

3.Ab aapke samne author box ka code milega.

4.Ab niche author box code me Description ka code niche hi hoga code ke last me ?> ke niche uper ke subscribe box code paste kar dena hai.

Final words– Agar aapko Ye post pasand Aayi ho to Comment karke feedback jarur de, Aur Hindihelp4u se Facebook page Twitter aur Subscribe kar sakte  hai. thanks for visiting.

WhatsApp Group Join Now
Telegram Group Join Now
Share on:

4 thoughts on “Post Footer Me Subscribe Box Add Kaise Karen ?”

Leave a Comment