Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • In the Event Manager Settings (Events > Settings on the left sidebar in your admin system), go to the “Formatting” tab. You can then enable “Advanced Mode” and then within the “Events” accordion you will find an option for “No events message” under the “Event List Formats” heading. This field should accept standard HTML, so you can. add an <img> tag in there. Remember to hit that “Save Changes (All)” button once you’ve updated it.

    Hope this helps get your desired result.

    Further to my last post, if I use is_plugin_active() to detect the categories-images plugin, it returns false, yet in other parts of my code it returns true.

    All I can think is that it is something to do with the JSON API plugin.

    I’m having a very similar issue.

    I am running WordPress 3.9.2 with a custom theme, and I’ve created a custom API controller. I’m using JSON API 1.1.1 and Categories Images 2.4.2.

    At the top of the custom controller I have
    include_once(ABSPATH.'wp-admin/includes/plugin.php');

    Then I use the following code for the category image:

    $image = '';
    if (function_exists('z_taxonomy_image_url')) $image = z_taxonomy_image_url($category->term_id);

    I have set this up on a development server and a production one. It works fine in development, but in production the function_exists command is failing.

    Re gielcobben’s issue, what error are you encountering? Are you getting a php error such as “call to undefined function” or are you getting a false value returned from the z_taxonomy_image_url function?

Viewing 3 replies - 1 through 3 (of 3 total)