SQL order by fields
SELECT * FROM wp_posts WHERE ID IN (5,26,4) ORDER BY FIELD(ID,5,26,4)
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;…
Copy the codes below to your functions.php add_filter('rtmedia_plupload_files_filter', 'rt_custom_allowed_types', 10, 1); function rt_custom_allowed_types( $types ){ global $bp; if ( $bp->current_component == 'activity' && isset( $types[0] ) && isset( $types[0]['extensions'] ) ) { $types[0]['extensions'] = 'jpg,jpeg,png,gif'; } return $types; } For more information please read this article https://rtmedia.io/docs/developers/allow-custom-media-types/
Hi guys !!! How to add like button in media gallery item using Buddypress and rtMedia WordPress plugin? Please follow the steps below. Step 1: Override the “media-gallery-item.php” in your WordPress theme. wp-content/themes/mytheme-folder-name/rtmedia/media/media-gallery-item.php Step 2: Place the code anywhere inside of your “li” tag. <?php wdes_rtmedia_like( rtmedia_id(), bp_loggedin_user_id() ); ?> Step 3: Paste this code…
ERROR MESSEGE: npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. TOOLS ONLINE MENTIONED IN THE VIDEO: Download Node.js: https://nodejs.org/en/download/current Create React App: https://create-react-app.dev/docs/getting-started/ #ReactJS #LearnReact #WebDevelopment #JavaScript #FrontendDev #ReactComponents #CodingTutorial #React101 #DevTips #Programmers