Wordpress pe post me ads kaise lagaye


(ATUL MAURYA) #1

wordpress के सभी पोस्ट में ads कैसे जगाये क्या कोई plugins use करे मैने code डाला था पर वो सेव नहीं हो रहा है

//* Show ads below post title by https://www.supportmeindia.com
genesis_register_sidebar( array(
‘id’ => ‘ad-after-title’,
‘name’ => __( ‘Ads After Title’, ‘custom’ ),
‘description’ => __( ‘This is Ad section under post title’, ‘custom’ ),
) );
add_action( ‘genesis_entry_header’, ‘basicwp_post_ad_feature’, 12 );
function basicwp_post_ad_feature() {
if ( is_single() && is_active_sidebar( ‘ad-after-title’ ) ) {
echo ‘

’;
dynamic_sidebar( ‘ad-after-title’ );
echo ‘
’;
}
}

ye code use kar raha hu to function.php me error show ho raha hai


(Sanjay jadav) #2

Aap ad inserter plugin ka use kare jisme aap jaise chahe ads manage (show) kar sakte hai
Ye plugin me bhi use kar raha hoo aur SMI par bhi (shayad) yahi plugin use ho raha hai


(ATUL MAURYA) #3

thanks bhai kaya koi post hai jisase mai read kar saku …kyoki mai abhi new hu


(Sanjay jadav) #4

Bro aap search kar lijiye “adsense ads plugin hindi”


(Rupendra Kumar) #5

http://www.wpbeginner.com/beginners-guide/how-to-add-google-adsense-to-your-wordpress-site/ aap is simple article ko follow karo