Wordpress blog ke footer ko change karna


(Manjeet Singh) #1

Hello Sir,
Maine kal hi genesis theme purchase ki hai but footer me genesis ka name aa raha hai mai use hatana chahta hu or bas apne blog ka naam dalna chahta hu. please find below screen shot.


(Jumedeen khan) #3

Very simple ye code theme functions.php me add karo.

//* Change genesis footer text
add_filter('genesis_footer_creds_text', 'sp_footer_creds_filter');
function sp_footer_creds_filter( $creds ) {
	$creds = '<p><div class="site-footer">Copyright [footer_copyright]</div><div class="credit-links"><a href="/">About</a><a href="/">Contact</a><a href="/" target="_blank">Sitemap</a><a href="">Privacy Policy</a></div></p>';
	return $creds;
}

(Manjeet Singh) #4

Sir maine functions.php me ye code add kar diya but footer me theme ka name abhi bhi aa raha hai


(Jumedeen khan) #6

Ye code child theme functions.php me add karna hai na ki framework me.


(Manjeet Singh) #9

Sir mera confusion badhta hi ja raha hai maine aapse 7:20 am par dusre topic par pucha tha ki genesis sample theme child theme hai kya? aapne usme bola hai ki wo child theme hai.

But aapne is topic me muzko bola ki ye code child theme functions.php me add karna hai na ki framework me to fir sir mai to genesis sample theme use kar raha hu ye to child theme hai aap uper screen shot me dekhe genesis sample likha hua hai.

please mera confusion door kare


(Jumedeen khan) #12

Its my mistake, actually maine sirf genesis read kyia sample words nahi dekha. Aapke liye uapr btaya code work nahi kar raha hai to aap ye tutorial ke steps follow kare.