Home Tags Wordpress

Tag: wordpress

how to block the access to wp admin

How to block your wp-admin access Note: Do not edit your Root .htaccess file, don’t paste these codes in there. It must be /wp-admin/.htaccess if you...

wordpress imoprt data simple database site

$length) return (preg_match('/^(.*)W.*$/', substr($string, 0, $length+1), $matches) ? $matches : substr($string, 0, $length)) . $replacer; return $string; } global $wpdb; //$posts = query_posts('showposts='.$numposts); $posts =$myrows = $wpdb->get_results( "SELECT fa.*,cat.slno as...

How can i change meta (alt and title) in catalog thumbnail...

add_filter('wp_get_attachment_image_attributes', 'change_attachement_image_attributes', 20, 2); function change_attachement_image_attributes( $attr, $attachment ){ // Get post parent $parent = get_post_field( 'post_parent', $attachment); // Get post type to check if it's product $type =...

Remove type attribute for Javascript and style in WordPress

Mostaly wordpress website facing a problem with W3 Validator that constantly show some Warnings : ” The type attribute is unnecessary for JavaScript resources.” in my...

HOT NEWS