Category Archives: Homeschool

WordPress Hack For Adding Signature After Posts Content

Open your theme’s function.php and add the following code. Remember changing text after equal sign with your own.

function custom_content_after_post($content){
if (is_single()) {
$content .= ‘<p>Load Your Content Here</p><img src=”‘. get_template_directory() .’/images/signature.png” alt=”Your Name” />’;
}
return $content;
}
add_filter( “the_content”, “custom_content_after_post” );

You may also use WordPress Signature Plugin for doing so. It allows WP users to put signatures below every post. After installing and activating it you can easily access it by navigating to WP-Admin Dashboard >> Tools >> WPSignature.

Become Google’s Verified Author For Your WordPress Blog

After getting Google’s verified authorship you will be seeing your blog post search results with the screen shot of your Google Plus Profile Image. As show below:

Google Search Results, Before And After Activating Google’s Verified Authorship

For doing this in your blog results, follow these steps

Open your theme’s header.php file and add the following given code block in head section –

<link rel=”author” href=”https://plus.google.com/107466614529996508363/posts” />

Remember:

  • Change the profile URL with your Google Plus Profile URL in the above given code block.
  • Head section is between <head> and </head> tag so add the given code in between these tags.

Now open your theme’s function.php file and the following action at last:

add_action(‘wp_head’, ‘add_google_rel_author’);
function add_google_rel_author() {
echo ‘<link rel=”author” href=”https://plus.google.com/107466614529996508363/posts” />’;
}

  • Visit your Google+ Profile.
  • Click Edit and make your +1s pubic.
  • Scroll down to  contributors section.
  • Under the heading “Contributor to” add your blog’s address.

That’s all. Next Google’s re-crawl to your blog pages will start showing your face in Google search results. So wait for it. You can  reduce this time by writing a new blog post.

Tablets And Smartphone Running Latest Version Of Android

Google released the new updated distribution chart for Android platform. Following table information is based on the number of Android devices that have accessed Google Play within a 14-day period ending on the data collection date as mentioned below:

Version

Codename

API Level

Distribution

1.5

Cupcake

3

0.2%

1.6

Donut

4

0.5%

2.1

Eclair

7

4.2%

2.2

Froyo

8

15.5%

2.3 – 2.3.2

Gingerbread

9

0.3%

2.3.3 – 2.3.7

Gingerbread

10

60.3%

3.1

Honeycomb

12

0.5%

3.2

Honeycomb

13

1.8%

4.0 – 4.0.2

Ice Cream Sandwich

14

0.1%

4.0.3 – 4.0.4

Ice Cream Sandwich

15

15.8%

4.1

Jelly Bean

16

0.8%

Historical Data

Screen Sizes and Densities

 

 

Open GL Version

Outlook.Com Is Loaded With Vast Privacy Issue

I am using Gmail since long and will keep using it. Microsoft Outlook.Com is loaded with vast privacy issue of contemporary world.

Outlook.Com Keeps Your Mail Without Your Permission Even After You Delete It And You Think It Is A Cool Feature

It offers you a feature for Recovering Deleted Mails even after emptying your trash you can get your mails back from Deleted directory’s link “recover deleted messages.”

This might be useful sometime but it is the most serious flaw. Outlook.com doesn’t respect your privacy. Its spying on you. Its a CIA agent. You can get your deleted messages back; it means all of your content is safe on their server even after removing it permanently.

When you delete anything on Gmail it moves to Trash bin. You can restore it from there but if you want to delete it permanently then you empty the trash bin and your mail is completely gone and you are free. But in case of Outlook.com where you delete your mail, it moves to trash, you empty the trash bin for removing your mails permanently from your account but it is still there. You don’t know where it it. You cannot see it but it is there on the server and they tell that this vast privacy issue is a cool feature.

If You Think That Outlook Offers Unlimited Space, you are Wrong. Microsoft Is Misguiding You.

On Internet there is nothing like unlimited. Anyone who offers you unlimited space, bandwidth or anything is fake. Internet runs on hardware not space and hardware cannot provide anything which is unlimited. Google is honest and respects science-mathematics so it tells you the truth that they offer you 10 GB storage. Outlook.com is just opposite and it came from the proprietary background of Microsoft so they trick on you. Open and clear fact is that on Outlook.com you can receive email with maximum size of 25 MB which is similar to Gmail. If Outlook.Com is better than Gmail then it should increase this size. Saying that you give Unlimited storage doesn’t matter because one can backup the mails on other machine but receiving mail more than 25 MB might be a step ahead. Then also I will not be using Outlook.Com because still it has privacy issue and proprietary background.

Google integrates Google+ network with your mailbox. May be none of your friends use it. May be they are using Facebook,  Twitter and LinkedIn which easily gets integrated with Outlook. Is that actually matters for you, if yes then I am sure you will be using Facebook Email Service for all of your mails and Facebook Search for finding things.

People who are more close to science and math use Google like Linus Torvalds because they understand the technical superiority and honesty of Google.

How can you trust anything from Microsoft. You know what its founder says:

“I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it”

And what he actually does, he choose toppers knowing that toppers work day and night for merit.

Microsoft is misleading you, tricking you since a very long time. They are selling the most insecure operating system at very high rates (and also in parts). So it is better to change your mind if it is bending towards the wrong side. Don’t use Microsoft products. Don’t use Outlook. They are less scientific. Use Linux as  it is free and open. Use Google as it is honest and scientific.

When Your Facebook Group Chat Stops Working

If your Facebook group chat is not working or suddenly it stopped working and your are checking Facebook group settings to find out the problem and enable Facebook Group Chat. Then you must know:

You cannot enable chatting in any Facebook group which has more than 250 members because Facebook group chat automatically gets disabled when the number of group members exceeds the default limit of 250.

There are only two conditions when Facebook Group Chat stops working:-

When your Group Chat Settings are Off

SOLUTION – Visit your group >> Select Edit settings >> Check Send Me Group chat messages

When Group members are more than 250

SOLUTION – You cannot do anything for this because members are more important than chat. Use Group Wall for discussions. You may tag your friends in a post by using @ followed by the name and it drops down the name suggestion. Select it and add friend for the public message. It sends a notification to the person you have added in your post.

Disable Comments On WordPress Media Attachments

Using WP Plugin

Download and activate Disable Comments plugin. Using this plugin admins can easily disable comments site wide or according to post type. After installation it can be accessed from settings menu of admin area dashboard.

Using WP Hack

Add this code in your theme’s function.php file:

function filter_media_comment_status( $open, $post_id ) {
$post = get_post( $post_id );
if( $post->post_type == ‘attachment’ ) {
return false;
}
return $open;
}
add_filter( ‘comments_open’, ‘filter_media_comment_status’, 10 , 2 );

Google Has Changes Google Play’s Content Policy; Now No More Intrusive Ads

Google is developing a positive experience for Google Play. Some are saying that Google is trying to move away from its Wild West image and that is good. From now the content of your app in Google Play must be rated in accordance with our Content Rating Guidelines which means:

All the developers must be labeling their applications in accordance with Google Play ratings system. It has four different levels:

  • Everyone
  • Low maturity
  • Medium maturity
  • High maturity

All applications should adhere to the Google Play Developer Content Policy. Now following items in the list must not be added in Google Play by any how –

  1. No Sexually Explicit Material
  2. No Violence and Bullying
  3. No Hate Speech
  4. No Impersonation or Deceptive Behavior
  5. No unauthorized publishing of others Personal and Confidential Information
  6. No infringe on the intellectual property rights of others
  7. No Illegal Activities
  8. No Gambling
  9. No Dangerous Products like transmitting of viruses, worms, defects, Trojan horses, malware etc.

Applications must not create unpredictable network usage that has an adverse impact on a user’s service charges or an Authorized Carrier’s network.

For Spams in Google Play Store:

  1. No repetitive content posting.
  2. No attempt to manipulate search ranking at Google Play Store  by misleading keywords in product’s description.
  3. Product descriptions should not be misleading or loaded with keywords in an attempt to manipulate ranking or relevancy in the Store’s search results.
  4. No attempt to change the placement of any Product by multiple rating done by any how.
  5. No submission of apps that are created by some automated tool or service by the operator of that service on behalf of other persons.
  6. No submission of apps with primary functionality of driving traffic to a particular website.
  7. No submission of apps with primary functionality of providing a webview of other’s website without permission
  8. No sending of SMS, email etc on the behalf of the user without permission. You must provide user with the ability to confirm content and intended recipient.

Developer must use  Google Play’s payment system for charging for Apps and the developers who are offering additional content, services or functionality within an application downloaded from Google Play must use Google Play’s payment system as the method of payment, except in case payment is primarily for physical goods or services and if payment is for digital content or goods that may be consumed outside of the application itself. View Details

Following is the email message for developers:

Hello Google Play Developer,

We are constantly striving to make Google Play a great community for developers and consumers. This requires us to update our policies when we launch new features, like subscription billing, and also when we see unhealthy behavior, like deceptive app names and spammy notifications. This email is to notify you that we’ve made some changes to our policies which are highlighted below.

– We’ve added clearer details to the payment policy, and guidelines on how we will handle cancellations in our new subscription billing feature

– We are restricting the use of names or icons confusingly similar to existing system apps in order to reduce user confusion

– We are providing more detail on the kinds of dangerous products that are not allowed on Google Play. For example, apps that disclose personal information without authorization are not allowed.

– We are giving more examples of practices that violate the spam policy.

Additionally, we are adding a new section that addresses ad behavior in apps. First, we make it clear that ads in your app must follow the same rules as the app itself. Also, it is important to us that ads don’t negatively affect the experience by deceiving consumers or using disruptive behavior such as obstructing access to apps and interfering with other ads.

Please take a look at the Google Play Developer Program Policy at http://play.google.com/about/developer-content-policy.html to see all the changes and make sure your app complies with our updated policies.

Any new apps or app updates published after this notification will be immediately subject to the latest version of the Program Policy. If you find any existing apps in your catalog that don’t comply, we ask you to fix and republish the application within 30 calendar days of receiving this email. After this period, existing applications discovered to be in violation may be subject to warning or removal from Google Play.

Regards,

Google Play Team

How To Configure Apache WebSite To Use Multiple Ports ?

  1. Open httpd.conf file in your host.
  2. Find Listen 80 and on the next line add Listen 8080
  3. Find VirtualHost section for your Site config.
  4. Add *:8080. It should look like this: <VirtualHost *:80 *:8080>
  5. Restart Apache
  6. Test your work by hitting your site to the new port number. Example: http://www.yoursite.com:8080

This would be helpful for you if your ISP is blocking any port. You can add an alternate port in your website. Here we have used port 8080 but you are free to use any other.

Creating Temporary And Permanent Redirects Using Apache

301 is a permanent redirect and 302 is a temporary redirect. 301 redirect is used when you want to redirect pages without penalizing them in search engines. And 302 redirect is used when you want to set up temporary redirect for keeping your page rank better in search engines. Learn more.

How To Set Up Permanent Redirect Using Apache ?

Open your site’s .htaccess file.

If there is no .htaccess redirect then create a new text file in your site’s root.

Add this line at the very end of your .htaccess file:

Redirect 301 /REDIRECT_PATH NEW_URL

Where:

REDIRECT_PATH = Directory path on your web server. And

NEW_URL = Is the path you want the pages redirected to.

Save the file and test your URL.

Example: 

Redirect 301 /tags/lamp/ https://www.sangkrit.net/tags/lamp/

How To Set Up Temporary Redirect Using Apache ?

Open your site’s .htaccess file.

If there is no .htaccess redirect then create a new text file in your site’s root.

Add this line at the very end of your .htaccess file:

Redirect 302 /REDIRECT_PATH NEW_URL

Where:

REDIRECT_PATH = Directory path on your web server. And

NEW_URL = Is the path you want the pages redirected to.

Save the file and test your URL.

Example:

Redirect 302 /tags/lamp/ https://www.sangkrit.net/tags/lamp/

Difference Between Permanent And Temporary Redirects

301 redirect is a permanent redirect whereas 302 is a temporary redirect. Permanent redirects tell search engines that old URL is out so that they can pull this new URL in it’s place. 301 is used when you want to preserve the page index and keep the page rank.

Ubisoft Uplay Has Been Blocked By Firefox

Ubisoft Uplay has been blocked by Firefox. It got a security vulnerability that can be exploited by malicious websites to gain control over the user’s system. All Firefox users who have installed this addon are affected so Firefox suggests other users who are currently using this addon to remove it but they are free to continue if they accept the risks described.

How To Protect wp-config.php And .htaccess Files In WordPress ?

You can block access to your site’s wp-config file from browser by adding following code in your .htaccess file:

# Block access to wp-config
<files wp-config.php>
order allow,deny
deny from all
</files>

For blocking access to your .htaccess file add this code inside your .htaccess file:

# Block access to htaccess
<files .htaccess>
order allow,deny
deny from all
</files>

Note:.htaccess file is present in your site’s root at the same place where you find wp-config file.

Facebook Announced Improvements In Photos Section

Today Facebook has announced few improvements in the photos section.

Now You Can See Bigger Photos On Facebook

By clicking photos at the top of your timeline you can see larger pictures filling up all over your page. You can use menu for finding shots you are tagged in, images you have shared and albums you have created.

Now You Can Showcase The Photos You Like

You can easily show your favorite photos to your friends from Facebook’s new photos all in one section. Click star button to make important photos stand out as shown in the following image:

Protecting Your WordPress Admin From Hacks

You may use this trick for adding an additional layer of security on your WordPress site so that your site don’t get compromised and hacked:

  1. Open your cPanel.
  2. From Security section click Password Protect Directories.
  3. Now on the Pop Up. Select root then from your WordPress installation select wp-admin.
  4. Check Password protect this directory.
  5. Create a user for that directory; there is an option below the check box. That’s it..

Now anytime you visit wp-admin directory you should notice an authentication box asking you for the username and password for authentication.

Sometimes it may show some errors depending on how your server is configured. Don’t worry, just ask me here about the problem(if you face one).

Monitor, Manage And Backup All Of Your WordPress Sites At Once From A Single Place

Using WP Remote you easily monitor, update and backup all of your WordPress sites at the same time from a single place. It communicates with your WordPress site using API like Akismet so there is no need of providing username and password and it is completely free to use.

Features:

Know WP Remote Latest Enhancements

  1. It can track all of your sites.
  2. No limitation to number of sites you add.
  3. It can update WP-Core, all plugins and themes.
  4. Check WP Remote Security policy here.