• Hi

    This thing have been driving me nuts for the past days, and I have no clue how to fix it:

    Out of the blue the add media-button stopped working on posts. When I click it, nothing happens (just a # adds to the url). Same thing with the screen options-button: when I click it nothing happens. And again, same thing with the option for publishing the post later or backposting it..

    I’ve tried deactivating all the plugins, but it doesn’t help.

    And I’ve installed a fresh copy of WordPress (except for the wp-content-folder), but that didn’t help either.

    I tried the define(‘CONCATENATE_SCRIPTS’, false); fix, but that didn’t help either.

    NOW, the weird thing is that when I use another theme it works. I tried to restore my theme from a backup I had from when I know it worked, but that didn’t help.

    My wordpress is version 3.5.1, and the theme is a customized version of Irresistible by WOO Themes. My site is at https://elverumfhs.no.

    I’d really appreciate all help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • when I use another theme it works

    Then it’s clearly a theme-specific issue. I’m sorry but as you are using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from www.remarpro.com here.
    Try https://www.woothemes.com/support/

    Thread Starter [email protected]

    (@eivindehgmailcom)

    Hi again. I managed to find a fix for this.

    In the theme’s functions.php-file i deleted three lines of code including JQuery.

    In my theme, it looked like this:

    add_action( 'wp_print_scripts', 'woothemes_add_javascript' );
    function woothemes_add_javascript( ) {
    	wp_enqueue_script('jquery');
    	wp_enqueue_script( 'tabs', get_bloginfo('template_directory').'/includes/js/tabs.js', array( 'jquery' ) );
    }

    I know others have done the same with success.

    You could also try adding JQuery from Google’s API. Add this code after <?php in the top of your document:

    //Making jQuery Google API
    function modify_jquery() {
    	if (!is_admin()) {
    		// comment out the next two lines to load the local copy of jQuery
    		wp_deregister_script('jquery');
    		wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js', false, '1.8.1');
    		wp_enqueue_script('jquery');
    	}
    }
    add_action('init', 'modify_jquery');

    Hope this helps others with the same problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add media button, screen options-button and more don't work on posts’ is closed to new replies.