Today’s post is about generating Twitter Bootstrap 3 HTML markup using WordPress’s menu component function wp_nav_menu(). Below are the HTML markup and PHP Script for…
1 CommentTutorials / Programming tips Posts
In the beginning of career i used to write regular expression or long lines of code for validating and sanitizing the user submitted data(Ex:come from…
Leave a CommentThis tutorial will show you, creating your own custom filters in AngularJS with simple steps and example. Angular filters provides a way to format the…
Leave a CommentAbout Qualtrics :Qualtrics API allows applications to integrate survey functionality, with specification of questions to ask, conditional display of questions depending on answers to prior…
1 CommentHere I would will like to show you how to use Angular JS in CodeIgniter and I will show you how to get data from…
16 CommentsHere i will show you how to prevent hot linking of images and other file types.This can greatly impact bandwidth usage. By using htaccess we…
Leave a CommentHere is the code snippet for validating email using JavaScript function IsEmail(email) { var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/; return regex.test(email); }
Leave a CommentHere is the example snippet for highlighting current menu item using php.
Leave a CommentHere is the simple script to check live username or email availability using jQuery’s Ajax method in CodeIgniter. you can also apply this logic/method to…
2 CommentsZeroClipboard is a library that provides you with a way of coping text to your clipboard using Adobe flash and a Javascript interface. Flash can…
3 CommentsRecently i have worked on language translation project for that i need to read emails using PHP From the gamil inbox based on the email…
30 CommentsLaravel allowing us to extend the HTML facade with additional functionality. we use the HTML::macro() method to extend the HTML facade with our own methods.So…
Leave a Commentfunction titleRestrictionFilter($title){ global $post; $title = $post->post_title; $restrictedWord = “forbidden”; if (stristr( $title, $restrictedWord)) wp_die( __(‘Error: This title is containing restricted word’) ); } add_action(‘publish_post’,…
Leave a Commentfunction titleLimitChar($title){ if(strlen($title) > 55 && !(is_single()) && !(is_page())){ // not in single post page and page. $title = substr($title,0,55) . “..”; } return $title;…
Leave a CommentCodeIgniter default environment is development and so error reporting by default in turn on state, if you want to turn off reporting then change the…
2 Comments