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