Profile cover photo
Profile photo
Ravish Jha
116 followers
116 followers
About
Communities and Collections
View all
Posts

Post has attachment
Add a comment...

Post has attachment
JavaScript rewrite URL
if (document.URL == "http://www.domainName.com/") { console.log(document.URL);         var restOfUrl = window.location.href.substr(11);         window.location = "http://" + restOfUrl;     } Comments are welcome
Add a comment...

Post has attachment
wordpress post subcategory list with count
Hi, When using WordPress as a CMS, or even as a blog you might want to display subcategories on category pages. <?php      if (is_category()) {      $this_category = get_category( $cat );      }      ?>      <?php      if ( $this_category ->category_parent)...
Add a comment...

Post has attachment
React toggle Class Name on click
getInitialState: function() {     return {       myclass: "ravish"     }   },   handleClick: function() { var temp="ravish"; if( this.state.myclass=="ravish"){   temp="ravish open" } this.setState({       myclass: temp     }); <div id="change button" classN...
Add a comment...

Post has attachment
Fixed: input type number spinner hide
Remove input number arrows firefox input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {   -webkit-appearance: none;   margin: 0; } input[type=number] {     -moz-appearance:textfield; }
Add a comment...

Post has attachment
Happy Birthday!
Happy Birthday!
wishes.narendramodi.in
Add a comment...

Post has attachment
I won the Barcelona cup, an exclusive cue and 1 000 Pool Coins!
Add a comment...

Post has attachment
Widgets Admin Page Not Working
 I needed to enable the widgets. <admin>  Widgets > Screen Options > Enable
Add a comment...

Post has attachment
Gulp image sprite css
npm install --save-dev gulp.spritesmith var gulp = require ( 'gulp' ); var spritesmith = require ( 'gulp.spritesmith' ); gulp . task ( 'sprite' , function () { var spriteData = gulp . src ( 'img/sprites/.png' ) . pipe ( spritesmith ({ / this whole image p...
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded