Monday, 30 September 2019

Blogger/WordPress Me Comment Date Kaise Remove Kare

Aaj is article me hum Blogger or WordPress Blog se comment date remove karna shikhenge.
Ydi aap bhi is sawal ka jawab dhundh rahe ye article apke liye helpful hoga.
Kai bar aisa hota hai old article ko update karna padata hai. To isse post date to change ho jati hai but Comments date wahi raheti hai. Jisse wo article old najar aata hai. Aise me aap comment date remove karke use up to date show Kar sakate hai.
Comment date hide karne se koi bhi user nahi samajh pata hai ki kis date ko wo comment kiya gaya tha. To chaliye jante hai:
Blogger or WordPress me comment date remove Kaise kare
Table of Contents [hide]
  • Blogger or WordPress me comment date remove Kaise kare
    • Blogger Me Comment Date Kaise Remove Kare –
    • WordPress Me Comment Date Kaise Remove Kare –

Blogger or WordPress me comment date remove Kaise kare

Blogger Me Comment Date Kaise Remove Kare –

Blogger me comment date remove karna bhut eassy hai. Iske liye sirf blogger CSS me ek simple code add karna hai. Chaliye steps aise follow kare :
Step 1: Sabse pahile blogger me login Kare aur layout me click Kare.
Step 2: Ab sabse upper theme designer ka option hoga usme click Kare.
Step 3: Ab ek page open hoga jisme Kai menu honge unme se advance me click Kare.
Step 4: Ab add css me click Kare. Ab apke samane ek box khulega jisme neeche diya gaya code copy karke paste kar de.
.comments .comments-content .datetime{
display: none!important;
}
Step 5: Ab right side me apply to blog menu hoga. Usme click Kar de.
Note: CSS Add karne ka tarika Blogger me with Image.
Ab apki blogger website se comment date hide or remove ho jayegi. Iske liye aap apna blog open karke check Kar sakte hai.
*Aur jab bhi comment date ko fir se show karna hai to to css code remove Kar Dena hai Jo apne paste Kiya tha.

WordPress Me Comment Date Kaise Remove Kare –

Chaliye ab wordpress me comment area se date hide karna sikhte hai. Iske apko kuch code paste karne hoge.
Follow these steps –
Step 1: Sabse pahile wordpress dashboard me Jaye aur ydi website login hai to login Kare.
Step 2: Ab neeche diye gaye code ko copy Kar le.
// Remove comment date
function wpb_remove_comment_date($date, $d, $comment) {
if ( !is_admin() ) {
return;
} else {
return $date;
}
}
add_filter( 'get_comment_date', 'wpb_remove_comment_date', 10, 3);

// Remove comment time
function wpb_remove_comment_time($date, $d, $comment) {
if ( !is_admin() ) {
return;
} else {
return $date;
}
}
add_filter( 'get_comment_time', 'wpb_remove_comment_time', 10, 3);
Step 3: Ab WordPress dashboard me search appearance me Jaye aur editor me click Kare. Ab yaha function.php ki file milegi jise open karna hai. Ab isme copy Kiya hua code is php code ?> Se pahile paste kar Dena hai. ?> ko php closing tag bolate hai.
Wordpress comment date hide kare in hindi me help
Step 4: Ab update file me click karke update kar de.
Ab apki WordPress website se comment date remove ho jayegi. But jab aap apni website ko open karenge to comment date nahi show hogi but uski jagah at or posted likha hoga. Ye apki theme par depend karega ki usme at hai ya posted.
wordpress date me at ko hide kare
Ydi aap ise remove karna chahate to in steps ko follow kare.
Step 5: Sabse pahile apne comments area me Jaye aur aur mouse se at or posted ko select Kare aur right click Kare. Ab inspect element me click Kare. Ab apko yaha se div or span tag ka class name copy karana hai.
wordpress comment ka source code check kare
Aur is code ko notepad me paste kar de.
Step 6: Ab neeche diya gaya code bhi copy karna hai aur notepad me paste kar de.
comment-metadata {
display:none;
}
Ab is code me meta data ki jagah inspect element see copy Kiya hua class code paste kar de.
Ab is code ko copy Kar le. Jo abhi apne banaya.
Step 7: Ab copy kiye hue code ko WordPress me css external me paste Kar ke update kar de.
Ab apke comment area se at ya posted bhi remove ho jayegi.
At last:


Blogger or WordPress se comment date remove karane wali ye post apko kaisi lagi comment me jarur bataye. Pichhali post me Maine blogger google amp ke bare me bataya tha. Aap logo ne kafi positive comment diye the. Thanks to all.