to have the removing site on the listing site completely remove

Hi, I have this code in my css:

#post-286 > div > div > table > tbody > tr:nth-child(3) {

display: none;


The purpose of this code is to remove one of my site called “beauty eBooking” from “salon listings” menu tab, because this site will reserve to display information about my main site which is link to one of my tab menu called “add a business”. So now, I have a problem:

Every time I added a new site, this removal site “beauty ebooking” popped back to my ‘salon listings” How can I permanently remove/hid this site from the “salon listings” tab so it will not reappear on the “salong listings” every time I add in new site?



  • Nithin
    • Support Wizard

    Hi CHAD,

    Hope you are doing good today. :slight_smile:

    If I’m not mistaken you want the /sales subsite removed in your site listings page? If yes, since there isn’t any unique class, it’s pretty tough to achieve through CSS. Please try the following code in your themes functions.php, and then check whether it works fine.

    function remove_ebook_list() {
    <script type="text/javascript">

    jQuery(function() {
    jQuery('.blogs_directory_table td a[href^=""]').closest('tr').remove();



    add_action( 'wp_footer', 'remove_ebook_list' );

    Please remove the CSS code what you have provided in your initial response. Would highly recommend that you make changes like this to a theme using a Child theme, so that it won’t be overwritten when you update your theme.

    I hope this helps. Please let us know if you still need any further assistance. Have a nice day. :slight_smile:

    Kind Regards,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.