Browser css compatibility
Disable safari select fields css to avoid unparalleled height of your form fields.
select {
-webkit-appearance: none;
}
Copy the codes below and follow the instructions. FOR SPECIFIC CATEGORY 1. Install Category Featured Images plugin. 2. Add an image to your category post. 3. Create a file that named category-7.php ( NOTE : The “7” in category-7.php is the category ID of your specific category ). 4. Copy and paste the codes in…
Override rtMedia media-gallery.php template into current WordPress theme is now not a problem. For example you have artist role in your users and you want different template for the artist role. This apply in `http://www.sample.com/members/artist/media/music/` page. add_filter( 'rtmedia_template_filter', 'rtmedia_template_filter_override', 10, 3 ); function rtmedia_template_filter_override( $template ){ global $bp; $role = get_user_meta( $bp->displayed_user->id, 'wp_capabilities', true );…
How to solve Jquery on click inside or outside the div element ? Just copy the codes below to your script. $( document ).click( function( e ){ var mde = $( '.my-div-element' ); if( ! mde.is( e.target ) && mde.has( e.target ).length === 0 && mde.length ){ // I'm clicking outside of my div element…
How to style your radio button? Using simple CSS, you can do whatever styles in your radio button (<input type=”radio” value=”my radio button” />). Try this code your own. Output: my radio button my radio button input[type=radio] { -webkit-appearance: textfield; background: green; border: 5px solid #000; padding: 7px; border-radius: 50%; } input[type=radio]:checked { background: red;…
Hi guys, having a trouble on how to merge your personal and friends activity stream using Buddypress WordPress plugin? Codes below may help you to solve the issue. The codes will apply only in your personal activity but it is includes the friends activity also. $user_id = '1,2,3'; // this is the list of user…
You’re a among a form blogger in this field. Keep up the work. It’ll pay off.
Wow, it’s no surprise why you’ve so many people following you online.