How to install wordpress theme’s plug-ins?

It sounds like you are trying to upload archive files to the plugin directory. You can’t do that. You need to upload the original source files. Unzip or unrar the plugins (s)FTP the decompressed files to wp-content/plugins Activate the plugins from the backend control panel That should be all you need to do. Some of … Read more

Does Google detect files in the WordPress plugin directory

It will, but why not go further and add a robots.txt? # Google Image User-agent: Googlebot-Image Disallow: Allow: /* # Google AdSense User-agent: Mediapartners-Google Disallow: # digg mirror User-agent: duggmirror Disallow: / # global User-agent: * Disallow: /cgi-bin/ Disallow: /wp-admin/ Disallow: /wp-includes/ Disallow: /wp-content/plugins/ Disallow: /wp-content/cache/ Disallow: /wp-content/themes/ Disallow: /trackback/ Disallow: /feed/ Disallow: /comments/ Disallow: … Read more

Showpost and last

Try this : $the_query = new WP_Query( array( ‘post_type’ => ‘ad’, ‘posts_per_page’ => 10, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’, ‘tax_query’ => array( array( ‘taxonomy’ => ‘ad_category’, ‘field’ => ‘id’, ‘terms’ => array(‘8’) ) ) )); posts_per_page tells how many items you want to retrieve from DB orderby tells to order items by date (optional … Read more

using .htaccess only for wordpress security no plugins

Yes, you can use a htaccess. In fact, I often recommend htaccess based protections over plugins because they do not depend upon PHP code or WordPress. The use a completely independent system – Apache. The more important question is: Do your htaccess rules protect against the threats you with to mitigate? Some protections may require … Read more