exclude ID on avatar

Should help, if user isn’t admin show avatar, if user is admin hide avatar. <?php if(!is_admin()) { ?> <div class=”single-post-about-author”> <div class=”author-avatar-w”><?php echo get_avatar(get_the_author_meta( ‘ID’ )); ?> </div> <?php } ?> <div class=”author-details”> <h3 class=”author-name”><?php the_author_meta( ‘display_name’ ); ?></h3> </div>

WordPress4.1.15 Dashboard links not working

It could be that your upgrade hasn’t worked properly. Does it still think you have an upgrade to 4.7.2 waiting? Personally I would download a fresh copy of 4.7.2 and re-upload this to be sure nothing is broken or missing. Make sure to take a backup of your database and files should anything bad happen. … Read more

Is it possible to create a custom admin page for users?

Assuming that you want to show only some Admin page items to a user-type, this page might get you started: https://www.johnparris.com/how-to-restrict-access-to-menu-items-in-the-wordpress-admin/ . Not much detail there, but might get you started. You would then limit access based on the person’s login level (Editor, Subscriber, etc). Or create a new login-level, and use that to limit … Read more

Get content and send to 3rd party

absolutely it is possible. function add_property_import_meta_box() { add_meta_box(‘property-import-images’, ‘Property Actions’, ‘function_import_images_metabox’, ‘property’, ‘side’, ‘high’); } add_action(‘add_meta_boxes’, ‘add_property_import_meta_box’); function function_import_images_metabox($post) { // Noncename needed to verify where the data originated echo ‘<input type=”hidden” name=”property_actions_nonce” id=”property_actions_nonce” value=”‘ . wp_create_nonce( plugin_basename(__FILE__) ) . ‘” />’; ?> <p><a href=”https://wordpress.stackexchange.com/wp-admin/admin.php?page=actionhere” class=”button button-primary button-large”>Second Action</a></p> <p><a href=”https://wordpress.stackexchange.com/wp-admin/admin.php?page=actionhere” class=”button button-primary button-large”>Third Action</a></p> … Read more

How to truncate the description in the admin panel for a custom taxonomy

One approach is to use JavaScript to add the maxlength attribute to the term description field: function wpse_term_description_attributes() { ?> <script type=”text/javascript”> jQuery(document).ready(function($) { $( ‘.taxonomy-custom_taxonomy_name #description, .taxonomy-custom_taxonomy_name #tag-description’ ).attr( ‘maxlength’, ’20’ ); }); </script><?php } add_action( ‘admin_head’, ‘wpse_term_description_attributes’ ); Replace custom_taxonomy_name with the name of your taxonomy, and customize the value assigned to the … Read more