Don’t Fall For This Common WordPress Scam

WordPress is extremely popular. It powers over a fifth of the tens of millions of sites on the web. One of the reasons it’s so popular is the ease with which inexperienced people can build a site with WordPress. The ability of WordPress to empower millions by giving them a voice on the web is awe-inspiring. But there are those who would prey on the less-informed and take advantage of their lack of experience.

Don't Fall For This Common WordPress Scam
Don’t Fall For This Common WordPress Scam

WordPress is a modular system: much of its functionality is contained in third-party plugins and themes. For the most part, the plugin and theme ecosystem is at worst benign and at best incredibly useful. Unfortunately, parasitic “hackers” use plugins and themes as a vector for malware.

It usually works something like this. An individual who lacks to the skill to contribute something useful to the world will buy a premium WordPress plugin. The PHP code for plugins is easily modified. The malefactor will change the plugin’s code; they will add malware payloads and code to exploit the vulnerabilities in people’s browsers. The modified plugin will then be sold on a seemingly legitimate marketplace for a fraction of the original cost. To the inexperienced, it just looks like a great bargain.

The WordPress user suckered by the offer will install the plugin on their site, and it will work just as it’s supposed to. From the perspective of the site owner, they got what they needed. But the extra code in the plugin will infect the site’s users with malware, redirect them to dangerous sites, create thousands of additional pages for SEO poisoning, and any number of other unpleasant strategies that benefit the hackers.

The first thing a site owner is likely to know about the problem is when they get an email from Google informing them that their site is infected and has been blocked by browsers and dropped from the search index.

How To Avoid Being The Sucker

The advice here is quite simple. Don’t buy discounted themes and plugins you find on Google. Don’t download premium themes and plugins when they are offered for free. Always make sure that you are downloading from a recognized or reputable repository or developer.

Unless you really know what you are doing, for free themes and plugins stick to WordPress’ official repositories. Almost every free theme and plugin is there, and unless you have the expertise to check the code yourself or trust someone who does, it’s not worth the risk of downloading them elsewhere.

For premium plugins and themes, the situation is a little more complex. They are often sold via the developer’s site and theme marketplaces, and it can be tricky to assess the legitimacy of the source. Use your common sense: if it’s too good an offer to be true, avoid it. Research to find out who the developer of the plugin is, and make sure you are downloading from their site or from a reputable marketplace like ThemeForest.

PSD to HTML: An Effective Way for Developing Top-notch Website

At present, website has become an imperative medium for online visibility and branding. Many webmaster are very sensible about the design and development of their websites. The great design brings more audience. And hence, improvises their conversion rate. Today’s every professional as well as the beginner developers are wondering about how to develop the best website that not only have the great design, but also the internet-friendly. And, the answer is PSD to HTML conversion. Indeed, PSD to HTMLenables users to deploy the website with real designed format.

PSD to HTML: An Effective Way for Developing Top-notch Website

PSD to HTML: An Effective Way for Developing Top-notch Website
PSD to HTML: An Effective Way for Developing Top-notch Website

Photoshop, as we all know, has come with enormous features that ensure designer to go beyond the creativity. And, this advantage adds weight to the website too. With this, there are other benefits of PSD to HTML conversion that result to the effective and seamless websites. Let’s know how much effective it to convert PSD to HTML is.
Benefits of PSD to HTML Conversion:

  1. PSD to HTML conversion supports impressive website design

Photoshop is packed with trendiest widgets that not only ensure speedy delivery of design, but also the creative one. This enables designer to go beyond level for developing an astonishing design within short time.

  1. Minimizing the loading times and improvising the User Experience

Most of the webmasters deploy their website with heavy impressive images that slow down the loading time of the website on browser and this distracts potential audience to choose another site. PSD to HTML lightens website and enhances the User Experience throughout the site.

  1. PSD to HTML CSS enables strong website layout

Every webmaster wants website that should be completely error-free and has the clean architecture. PSD to HTML CSS helps in developing the website with clean or easy to understand architecture. That not only makes laying out the webpage with strong base, but also supports error free page.

  1. Delivering the Contentfriendly Sites

PSD to HTML CSS assists in deploying the website with clean architecture. This will support also content-friendly site. It means website owner can easily upload the content and organize it timely. That will also ensure the search engine crawlers to spot the content and make it visible to the audience.

  1. Implementing Websites with Cross-Browser Compatibility

Today, there are numerous of browsers available in the market like Internet Explorer, Opera, Chrome, Firefox, etc. It will be nightmare for webmasters, if their websites do not work on any of the major browsers. PSD to HTML conversion ensures the website compatible with every major platform.

  1. Improvising the brand value with SEOfriendly coding

PSD to HTML service assists in deploying the SEO-friendly websites, which will enhance the brand value too among the online audience. If the site is SEO-friendly,then it will be easy for implementing the effective keyword in the websites through Meta tags. Hence, the visibility of the site will surely boom.

  1. Deploying Responsive Website with superb contour

Today, there is the trend for smartphone. Therefore, audience prefers mostly to use their phone for accessing internet. To grab more audience, it will be good if the site works same on the smartphone as on the desktop. For this, it should possess responsive layout, which can only be possible with the help of PSD to HTML CSS.

  1. Featuring W3C Coding Standard

To make the website finish with perfect standard, PSD to HTML conversion ensures W3C coding standard. That supports every trendiest platform to be compatible with the websites.

Conclusion
PSD to HTML service will be the great option for webmaster to have the seamless as well as the features-rich websites. The clean architecture gives users a lot of options to make the site customizable according to the future need. Hope, you get understood that how good it will be for webmasters to adopt PSD to HTML conversion for having the great site. If you find any problem in this blog, then please share through the comment section given below.

how to inject html code into wordpress head

Question, how to inject html code into wordpress head section If you don’t want plugin then use code snippet for inject the code into wordpress head section.

how to inject html code into wordpress head

Many wp developers asked me same question multiple times. How to push the some HTML code into the wordpress head section. It is quite easy to push or inject the the some HTML code into the head section.There are multiple WP plugins which are giving this facility the push the HTML code into the head section. If you don’t want to use the WP plugin then you can use my code snippet for inject the code into wordpress head section.

If you are WP theme developer then you can use following code.

 function WPAPI_init() {
echo "YOUR_HTML_GOES_HERE";
if (is_admin()) {
echo "YOUR_HTML_GOES_HERE";
}
 }
 add_action('wp_head', 'WPAPI_init');

You need to put above code into functions.php file which you find in themes folder.

If you are WP plugin developer then you can put above code into your plugin file.

How to display attached images of posts

Many times people create bigger post or article. Many wp developers asks me many questions daily. Most commonly I asked about showing the all the post images as slide show or only thumbs. Using following code you can fetch the wordpress thumbnails. You just need to put following code into your functions.php file.

How to display attached images of posts

Using following code you can display attached images of posts. You just need to put following code into your functions.php file and you will be done.

functions.php file you can find in your wordpress theme folder. Put following function in that file.

function show_all_thumbs() {
global $post;
$post = get_post($post);

/* image code */
$images =& get_children( 'post_type=attachment&post_mime_type=image&output=ARRAY_N&orderby=menu_order&order=ASC&post_parent='.$post->post_parent);
if($images){
foreach( $images as $imageID => $imagePost ){

unset($the_b_img);
$the_b_img = wp_get_attachment_image($imageID, 'thumbnail', false);
$thumblist .= '<a href="'.get_attachment_link($imageID).'">'.$the_b_img.'</a>';

}
}
return $thumblist;
}

In index.php or single.php you can use following code.

<?php echo show_all_thumbs(); ?>

Using above code you will be able to show or display all the attached images of the posts.

How to create pages programmatically in wordpress

Creating the pages by using script or in wordpress is very easy. You just need to the following code snippet for create pages programmatically in wordpress. Many times we need to create the default page or post in wordpress. You just need to the following code snippet in functions.php file or your can put following code in your plugin file.

create pages programmatically in wordpress

If you are the wordpress plugin or theme developer then following code sample is rally useful to create the empty post or page in wordpress.

global $user_ID;
$page['post_type']    = 'page';
$page['post_content'] = 'Put your page content here';
$page['post_parent']  = 0;
$page['post_author']  = $user_ID;
$page['post_status']  = 'publish';
$page['post_title']   = 'Your Page Title';
$page = apply_filters('yourplugin_add_new_page', $page, 'teams');
$pageid = wp_insert_post ($page);

Create custom meta fields using Custom Field Suite plugin

In wordpress we can Create custom meta fields using Custom Field Suite wordpress plugin. wordpress supports custom post type and meta fields in the CMS. Now wordpress supports the custom post type and custom meta fields in the CMS. custom meta field is great feature in wordpress. We can use the meta fields for multiple custom purpose. I am using meta fields in many projects for achieving the custom user requirements.

Custom meta fields are used for add the custom data with specific posts and pages. We can attach any type of data through meta fields. It is very useful feature of wordpress. Custom Field Suite is great wordpress plugin which, makes really simple for you to create custom meta boxes visually for you posts, pages or any custom post types.

custom-meta-box1

It is a wonderful free plugin and have great documentation for you to get start. You can easily create text, text area, wysiwyg, color, select, file upload, user, relationship and loops using visual UI and with minimal code you could display the values in your theme.

Create custom meta fields using Custom Field Suite plugin

The placement rules help you to define, in which scenarios you want to display the custom meta boxes in each content type. You can choose from post type, user roles, exact post or taxonomy terms.

custom-meta-box2 Create custom meta fields
Create custom meta fields

The plugin also have an export and import feature, so it is easy for developers to move from development box to actual server.

URL : http://wordpress.org/extend/plugins/custom-field-suite/
Home : http://uproot.us
Documentation : http://uproot.us/custom-field-suite/documentation/

Remove short words from wordpress permalink URL

WordPress itself creates the permalink. WordPress permalinks are very important for SEO purpose. Short words are sometimes are not good for seo so you might need to remove the short words from permalink. Using the following code you can remove the short words from wordpress permalink URL.

Using code you can Remove short words from wordpress permalink.

You just need to add the following code functions.php file.

add_filter('sanitize_title', 'remove_short_words');
function remove_short_words($slug) {
 if (!is_admin()) return $slug;
 $slug = explode('-', $slug);
 foreach ($slug as $k => $word) {
 if (strlen($word) < 3) {
 unset($slug[$k]);
 }
 }
 return implode('-', $slug);
}

 

Source Link :wpsnipp.com

 

Delete users by date wordpress Mysql

spam users which was registered. I used following Mysql commands for removing he wordpress users. query for Delete users by date wordpress Mysql

 

Some days before I enabled the my site registration as subscribers. In last seven days there are four thousand subscribers has been registered on my site. After reviewing the users and there server request logs I got to know about that was spam users which was registered to my site. WordPress is always easy target for spammers and hackers. I tried to use some code for remove the wordpress users but then later I used following Mysql commands for removing he wordpress users.

Delete users by date wordpress Mysql

 

When you create or register the user in wordpress that time some tables are filled by wordpress. Some entries will insert into wp_usermeta table and wp_users table. If you want to delete the bulk users then you need to delete user entries from wp_usermeta table first. You can use following SQL command for deleting the user meta entries from wp_usermeta table.


DELETE wp_usermeta FROM wp_usermeta, wp_users WHERE wp_users.user_registered > '2013-11' AND wp_users.ID = wp_usermeta.user_id;

After deleting the user meta entries from table then remove users from wp_users table using following command


DELETE FROM `wp_users` WHERE `user_registered` > '2013-11';

Note: Before deleting the users from wordpress database, take the Database backup. Take the worpdress backup and restore on local box. Make sure your DB backup file is perfect.

Do not delete users from wp_users at the first. First delete user meta from wp_usermeta then execute the next command.

 

Get user log history in wordpress

There are many types of users we need to manage in our website. Admin wants to keep log history data in site for future use purpose. Saving log history is important when you have multiple users in wordpress site. In this article I will show you how to Get user log history in wordpress. when you have multiple users in wordpress site. In this article I will show you how to keep the log history of users.

Get user log history in wordpress

Why User Login History is important

Some times there are too many users with different roles in site. It is very hard to check which user is doing what. But you as admin of website want to know about user’s activity. It is important to record all the history of user so you can check which user is performing which actions and when user’s are active in site.

Some times you create multiple moderators in website to review your site content and media. For reviewing the user content user logs are very important so you can easily know about user’s logs. I found very nice wordpress plugin which will help you to keep user log history in wp site.

Simple History (http://wordpress.org/plugins/simple-history/)

Get user log history in wordpress,Get user log history in wordpress
Get user log history in wordpress

Simple History shows recent changes made within WordPress, directly on your dashboard or on a separate page.

The plugin works as a log/history/audit log/version history of the most important events that occur in WordPress.

There are multiple features are given by above wordpress plugin. Simple history plugin has great setting options which will help admin to keep limited user logs on site. It has features to filter user logs as per role.

I personally love this plugin. It has able to record multiple actions of users in wordpress like login, logout, media, upload, wrong password, creating posts or pages in site. There options are really great features of this plugin.

 

WP Login Security and History (https://wordpress.org/plugins/wp-login-security-and-history/)

By this smart plugin you can protect your login page from Brute-force attacks also you can track login history. Features:

  • Captcha on the admin login page to protect against auto-hacking.
  • You can set the number of failed logins to show Captcha or showing it always.
  • Login Blocker option to block the login processe for a period of time after specific number of failed logins.
  • Login history to show all login processes in details.

 

 

increase page views per visit wordpress

Getting the traffic every day is very hard and managing those traffic is very important. Many times visitors comes to your site but they do not visit the other pages of site. Here are some nice tips to increase page views per visit wordpress.

increase page views per visit wordpress

keeping busy the visitors on your site is important. Some blogger think getting the visitors on there website is easy but keeping busy the visitors is hard. If visitor comes to your site and without going to another site, visitor goes to another site or leaves the site then that is called bounce and It will not be helpful to increase the your site page views.

We do many tricks to increase the page views. If you are using wordpress for your website then you can use some nice wordpress plugins which will increase the page views per visitor. There are so many factors for increase the page views. I collected some nice wordpress plugins which will help you to increase the page views per visit.

Advanced Random Posts Widget

Advanced Random Posts Widget,increase page views per visit wordpress
increase page views per visit wordpress

This plugin will enable a custom, flexible and super advanced random posts widget. Allows you to display a list of the most random posts with thumbnail, excerpt and post date, also you can display it from all or specific or multiple category or tag. Using random post widget you can increase page views per visit wordpress.

Flare

flare,increase page views per visit wordpress
increase page views per visit wordpress

Flare is a simple yet eye-catching social sharing bar that gets you followed and lets your content get shared via posts, pages, and media types.
The Flare plugin isn’t in active development because we’ve created a hosted app version of Flare that works with virtually any website or CMS, including WordPress. Using flare wordpress plugin you can increase page views per visit wordpress.

GetSocial

GetSocial adds a lightweight and intelligent floating social media sharing box on your blog posts. Using getsocial plugin you can increase page views per visit wordpress.

Features:

  •     Floating social share box compatible with leading web browsers
  •     Out-of-the-box functionality like
  •         Twitter Tweet Button
  •         Facebook Like and Send button
  •         Google +1 Button
  •         Buffer Button
  •         Pinterest Button
  •         LinkedIn Button
  •         Stumbleupon Submit button
  •         Digg Submit button
  •         Your Own Button

nrelate Most Popular

The best way to display your most popular content from your website. Using most post popular widget you can increase page views per visit wordpress.

Installing this plugin is as simple as activating it, and you can leave the rest to nrelate. Once activated, the nrelate servers will immediately begin monitoring your website and start displaying your most popular content.

There are four ways to display popular content:
1. Automatically display before or after each post.
2. Use the [nrelate-popular] shortcode in your post.
3. Use our widget in any widget area in your theme
4. Place the nrelate_popular() function in your theme files.

nrelate’s style gallery allows you to customize the look of our plugin by choosing one of our set styles, or designing your own.
Check out the screenshots.

Advertising is also possible with the plugin. Ads come with the same display options as the popular content and are a great way to earn a little extra income from your blog.

Because all of the processing and analyzing runs on our servers and not yours, nrelate doesn’t cause any additional load on your hosting account (especially if you’re using shared hosting).

Post Ratings

Simple, developer-friendly, straightforward post rating plugin. Relies on post meta to store avg. rating / vote count. Using post rating plugin you can increase page views per visit wordpress.
What does this plugin do:

Allow your site users to rate posts (of any kind)
Display the average post rating, vote count or weighted (bayesian) rating within your posts
Display a widget with the top rated posts in your sidebar
Allow you to create your own rating formula

Why another rating plugin? Because the existing ones are either outdated, bloated with useless functionality, or just too buggy 🙂

SEO Smart Links

SEO Smart Links provides automatic SEO benefits for your site in addition to custom keyword lists, nofollow and much more. Using seo smart links you can increase page views per visit wordpress.

SEO Smart Links can automatically link keywords and phrases in your posts and comments with corresponding posts, pages, categories and tags on your blog.

Further SEO Smart links allows you to set up your own keywords and set of matching URLs. Finally SEO Smart links allows you to set nofollow attribute and open links in new window.

It is a perfect solution to get your blog posts interlinked or add affiliate links to other sites.

Everything happens completely transparent, and you can edit the options from the administration settings panel.

TW Recent Posts Widget

TW Recent Posts Widget is advanced version of the WordPress Recent Posts widget allowing increased customization to display recent posts from category you define. Using recent post widget you can increase page views per visit wordpress.

Output will depend on your settings, and you may define to set post title, post date, featured image and post excerpt.

If you set to display featured image, than you will be able to define image width and height in px.

If you set to display excerpt, than you will be able to define how many characters to print and also you may add custom read more text.

upPrev

upPrev,increase page views per visit wordpress
upPrev,increase page views per visit wordpress

Display cool, animated flyout or fade box with related content. Just like New York Times. Using upprev popup you can increase page views per visit wordpress.

When a reader scrolls to the bottom of a single post, page or custom post type, a button animates in the page’s bottom right or left corner, allowing the reader to select the previous or random available post or posts in the selected configuration:

Just previous
Previous in category
Previous in tag
Random
Related using YARPP (only post/pages)

WP Greet Box

This plugin lets you show a different greeting message to your new visitors depending on their referrer url. For example, when a Digg user clicks through from Digg, they will see a message reminding them to digg your post if they like it. Another example, when a visitor clicks through from Twitter, they will see a message suggesting them to twit the post and follow you on Twitter. You can also set a default greeting message for new visitors (not matching any referrer URLs) suggesting them to subscribe to your RSS feed. Having these targeted suggestions will help your blog increase exposure, loyal readership, and reader interaction. Best of all, this plugin is compatible with WPMU and various WordPress cache plugins (so you do not have to sacrifice speed). Using greet box you can increase page views per visit wordpress.
Features:

Show a different greeting message to your visitor depending on the referrer URL. You can add/edit/delete/disable these greeting messages as you choose.
Beautiful set of icons shipped along with the different default referrers.
Clickable icon in greeting messages with target=_blank option.
Greeting messages automatically get inserted into the top of your posts upon activation. There is no need to modify theme files.
Ability to auto-insert greeting message to the top or bottom of the post.
Greeting messages can be user closeable or not.
Ability to detect the visitor’s search keywords from major search engines and automatically display related posts under or above the greeting message.
Show a default greeting message even if the vistor does not match any of your configured referrer URL.
Show a default greeting message even if the visitor does not have javascript enabled.
Cache compatible mode makes use of AJAX to display greeting messages in the frontend. This makes WP Greet Box compatible with other caching plugins (such as WP Super Cache) and WPMU.
AJAX administrative interface that uses nonce verification to discourage hackers.
Ability to keep displaying the greeting message until after the user clicks close for the first time. After that, the greeting message will not show up for that user anymore.
Ability to set a timeout to forget a visitor so we do not keep nagging them with greeting messages.
Ablity to set rules to exclude some referrer URLs from seeing greeting messages. Regular expressions is also supported (but not required!).
Ultra customizeable greeting message box (with CSS) allowing you to prepend/append HTML around the greeting message box.
Ability to disable included CSS for manual CSS management.
Ability to disable included JS for manual JS management.
Available “greet_box_text” filter for other plugins to modify greeting message before outputting.
Ability to import and export all WP Greet Box Settings.
Currently the following referrers are installed by default, but you can easily.

My Comments: Above plugin will increase your page views by at-least 50% for sure. You just need to install above plugins in your wordpress site and add some widgets in sidebar or footer area. I tested the above plugins. I found above wordpress plugins are very promising.