Sunday, September 10, 2023

How to Fix or Remove hentry Schema and Classes From WordPress

How to Fix or Remove hentry Schema and Classes From WordPress


How to Fix or Remove hentry Schema and Classes From WordPress


===========================


Copy code and paste in function.php file


<?php


function themes_remove_hentry( $classes ) {

if ( is_page() ) {

$classes = array_diff( $classes, array( 'hentry' ) );

  }

return $classes;

}

add_filter( 'post_class','themes_remove_hentry' );


?>


================================





How to Fix or Remove hentry Schema and Classes From WordPress [Gujarati]


#How_to_Fix
#Remove
#hentry_Schema
#hentry
#Schema
#Classes
#WordPress
#Gujarati
#Nayan_Parmar
#Success_Technohub

No comments:

Post a Comment

Affordable SEO Company NYC USA - Affordable SEO Services for Small Businesses NYC

  Affordable SEO Company NYC USA - Affordable SEO Services for Small Businesses NYC https://www.youtube.com/watch?v=8DPQGSamLIc #Affordab...