Replace custom logo with text

To display the text which you input from Appearance > Customize > Site Identity you can use this code: <h1><a href=”https://wordpress.stackexchange.com/questions/354477/<?php echo esc_url( home_url(“https://wordpress.stackexchange.com/” ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></h1> Otherwise, tell us from where that text should be coming from. You may also … Read more

Missing tested up to on readme text validator

Start by reading the developer docs here: https://developer.wordpress.org/plugins/wordpress-org/how-your-readme-txt-works/#how-the-readme-is-parsed . The example readme on that page explains all of what is required, what to put there, and the other optional items. There are also several readme generators that might help you. One is here: https://tools.wedevs.com/readme/ . Others are available.

Divi – How can we show background video on mobile

I figured out a “down and dirty” fix in the theme code. This will be overridden when you update the theme so you’ll have to do it again at that time. themes/Divi/includes/builder/scripts/frontend-builder-scripts.js Lines 1316 – 1330 if ( et_is_mobile_device ) { $( ‘.et_pb_section_video_bg’ ).each( function() { var $this_el = $(this); $this_el.closest( ‘.et_pb_preload’ ).removeClass( ‘et_pb_preload’ ); … Read more

Custom Field created in add_meta_boxes reappearing itself again in the default Custom Metabox

Prepending your metakey with an underscore _ makes it private and prevents the data from showing up in the default metabox. So instead of this, update_post_meta( $post_id,’product_desc_en’, wp_kses_post( $_POST[‘product_desc_en’] ) ); do this, update_post_meta( $post_id,’_product_desc_en’, wp_kses_post( $_POST[‘product_desc_en’] ) ); and your custom meta shouldn’t show up in the default metabox. P.s. And of course, when … Read more

How can i attach the attachment-ID to the user profile image?

Generally speaking you can add the attachment ID to the user’s profile using the User Meta API, then display the image using the show_user_profile and edit_user_profile hooks. Adding the image to the user listing can be done using the manage_users_columns and manage_users_custom_column filters, which Robert hue covered in this answer: https://wordpress.stackexchange.com/a/160423/2807