• When WordPress is installed in a directory that is different to the site the tag button images don’t show up. The plugin is specifying the location of the files relative to the URL of the site, not the WordPress install.

    A better way to do this is by specifying the URL relative to the plugin directory:
    .attr({src: '<?php echo plugins_url( "calais-auto-tagger/images/add.png" , dirname(__FILE__) ); ?>'})

    Since there is a stylesheet being included with the plugin is it possible to create the buttons using CSS and specify either a Base64 encoded background image or use an icon font subset?

    Happy to contribute something along those lines if it could be merged into the plugin.

    https://wordpress.org/plugins/calais-auto-tagger/

  • The topic ‘Button Image Locations’ is closed to new replies.