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 padta hai. To isse post date to change ho jati hai but Comments date wahi rahti hai. Jisse wo article old najar aata hai. Aise me aap comment date remove karke use up to date show Kar sakte 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:
Page Contents
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 aap ke 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.
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.
Ydi aap ise remove karna chahte to in steps ko follow kare.
Step 5: Sabse pehle 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.
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 comment–metadata 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 aapko 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.
sir aapke Article bahut badhiya hai aur sabke liye kafi usefull hai
yadi aap blog ke maalik hain, to aap aasaanee se ise kabhee bhee hata sakate hain
Jab mai post publish krta hu to usme publish date author name orr tag bhi show krr rha hai isko mai hide kaise karu
Bahut Hi Achcha Hai Meri Isse Bahut Help Huyi
sir Mene 2 Link add lgai hai me google ki auto add bhi lga sakta hu kya
Haa bilkul laga sakte ho koi issue nahi hai.
Sir meri sabhi Post ke Footer me Login Bar show hoti hai wo hide kese karu pls btaiye
Uska widget hata dijiye..
Nice – Good Keep It Your Blog Is Very Helpful For Us Be A Pro Blogger
Nice – Good Keep It Your Blog Is Very Helpful For Us Be A Pro Blogger
Very nice information
Very helpful Article sir
thora tricky ha but kar liya
haa, agar dhiyan se kare to aaram se ho jata hai.
Nice – Good Keep It Your Blog Is Very Helpful For Us Be A Pro Blogger
sir maine apki backlink ramoving ki post padi. usse mujhe kafi maddt mili par sir mere dimag me ek sawal bar bar aa rha hai ki jb hum koi keyword ko analysis krte hai khas krke hindi to vo google autocomplete me to dikhta hai but uska volume 0 dikhata hai to use keyword par kitna traffic ata hai ya fir us keyword par koi traffic nhi hota.
Har keyword par traffic nahi hota.. Wo aapko samajna padega ki log kaise kya search karte hoge.
Very Nice Information sir.
thanks
Rohit sir aapne comment ke bare me badhiya post likha hai
rohit sir y trackbucks kya hote hai.
Agar koi hamari post ko link karte hai to uska notification milta hai..
Par isme server load padta hai
Thanks again !
successfully done sir