• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Remove Send To Text Editor Buttons From AgentPress Listings Property Details Meta Box

This tutorial provides a simple solution which enables you to use CSS to remove the Send To Text Editor buttons located on the single listings admin screen.

This solution removes the 3 buttons as seen in the above image.

There’s 2 steps :

Step 1 : Add the following PHP code to the end of your child themes functions file :

add_action( 'admin_enqueue_scripts', 'enqueue_admin_style_sheet' );
function enqueue_admin_style_sheet() {

wp_enqueue_style( 'custom-admin-css', get_stylesheet_directory_uri() . '/admin.css', false, '1.0.0' );

}

Step 2 : Create a new file named admin.css in your child themes root directory and add the following CSS rule to the file :

#listing_details_metabox .button {
    display: none;
}

You could also use PHP code to achieve the same result.

Related Solutions

  • Modify AgentPress Listings Property Details Meta Box

AgentPress Pro Theme

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.