How to Fix “Briefly Unavailable For Scheduled Maintenance. Check Back in a Minute.”
Login via FTP and delete the file .maintenance. That’s it !
Login via FTP and delete the file .maintenance. That’s it !
We often need to add a new post type in WordPress beside the POST and PAGES menu. Below is a sample PHP code below to write in the theme or plugin function file. add_action( ‘init’, ‘create_posttype_qr_code’ ); function create_posttype_qr_code() { register_post_type( ‘ogpqrcode’, // CPT Options array( ‘labels’ => array( ‘name’ => __( ‘QR Code’ ),…
Simply write the code below in the PHP Function of wordpress. // Add the custom columns add_filter( ‘manage_ogpqrcode_posts_columns’, ‘set_custom_columns’ ); function set_custom_columns($columns) { unset( $columns[‘author’] ); $columns[‘ref_name’] = __( ‘Ref’, ‘your_text_domain’ ); $columns[‘qr_code’] = __( ‘QR Code’, ‘your_text_domain’ ); return $columns; } // Add the data to the custom columns add_action( ‘manage_ogpqrcode_posts_custom_column’ , ‘custom_column’, 10,…