File Permissions: Be Aware !

#What is File Permission? There are all together 3 operations that are done in any file & directory: read, write & execute. So, file permissions specify who and what can perform these operations. #File Permissions as a structure Generally speaking, there are two categories that need to be considered when viewing file permissions: Actions and user groups. Actions your site’s plugins and files can make are: Read– allows access to a file to view its contents

Continue Reading

Internationalization & Localization

Internationalization: –   It is the process of developing your plugin so it can easily be translated into other languages. –  In general term, internationalization is the design and development of a product, application or document content that enables easy localization for target audiences that vary in culture, region, or language. –   As wordpress is used world-wide, plugins developed by any developer should be translatable in any language without playing with the source-code itself. –   Internationalization

Continue Reading

Custom image as a pin: Google maps

The script below adds your own custom image say logo as a location pin in the google maps. The default google-map pin will be replace by the image you’ve provided the full path in the below script on variable ‘image’: #script <script type=”text/javascript” src=”http://maps.googleapis.com/maps/api/js?v=3&sensor=false&callback=initialize”></script> <script type=”text/javascript”> function initialize() { var mapOptions = { center: new google.maps.LatLng(abc, xyz),   //[Latitude, Longitude] zoom: 14, zoomControl: true, draggable: true, mapTypeControl: false, streetViewControl: false, overviewMapControl: true, mapTypeId: google.maps.MapTypeId.ROADMAP };

Continue Reading

No solution

Continuous scratch on head, water bottle on hand & the eyes intact on the screen, something was wrong but what? Every line of the script looked spot on but what was that error for, no idea. Tired hands & mind of googling the issue but no help.  Now the issue can’t be solved, its impossible to solve it. The frustration leading to hit the enter button so hard it would have easily broken someone’s nose

Continue Reading

Using mailchimp with contact-form 7

#steps 5 steps with screenshots for each steps to describe it: Now, whenever the user puts his/her mail address on contact form’s “Email” field & hits the ‘submit’ button, then he/she receives the email that says “Yes, Subscribe me to the list”. Checkout the screenshot below: 2. At the same time an email goes to the admin [“To:” field of the contact-form at the back-end] with the information of the user who had submitted that contact

Continue Reading