Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By jomarkosabel

Thread: Remove php line with snippets

  1. #1
    Thread Starter
    thzorro's Avatar
    Join Date
    Aug 2012
    Location
    Switzerland
    Posts
    8
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Remove php line with snippets

    Hello, I want to remove/deactivate the wallpaper upload for users. It’s in content-edit-profile.php
    I want to remove/deactivate with the "code snippets" plugin instead of using a extra child theme.

    What do I have to insert? Any advice please?
    Thanks!



    lines/funktion to remove/deactivate/hide:

    <?php
    appthemes_media_manager(
    $current_user->ID,
    array(
    'id' => 'cover_image',
    'object' => 'user',
    'title' => __( 'Header Cover Image', APP_TD ),
    'upload_text' => __( 'Choose File', APP_TD ),
    'no_media_text' => '<div class="text-muted text-small">' . __( 'No media added yet', APP_TD ) . '</div>'
    ),
    array(
    'mime_types' => 'Image',
    'file_limit' => 1,
    'embed_limit' => 0,
    'file_size' => wp_max_upload_size(),
    'delete_files' => true,
    )
    );
    ?>

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,965
    Thanks
    169
    Thanked 3,406 Times in 3,277 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    thzorro likes this.
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Rich Snippets
    By williac in forum Directory
    Replies: 3
    Last Post: December 1st, 2014, 05:33 AM
  2. Rich Snippets Anyone?
    By visogero in forum Help Using Clipper
    Replies: 5
    Last Post: July 28th, 2014, 04:20 AM
  3. How to Remove line of text
    By tbase in forum Vantage General Discussion (Legacy)
    Replies: 1
    Last Post: January 1st, 2013, 11:08 PM
  4. [SOLVED] Remove grey line on search Box
    By pnog in forum ClassiPress General Discussion
    Replies: 2
    Last Post: February 17th, 2011, 09:34 AM