SurferDude

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Category Images, Icons & Listing Descriptions #239114

    SurferDude
    Buyer
    Post count: 3

    Hello Giri. Thanks for your reply. I would like to replace term icons with “Default Listing Image” in the “GD > Popular Post Category widget” and the Popular Categories widget which I think may be fed by the same information (not 100% sure on that). I attached a screenshot. Areas labeled 1 and 2 in the green boxes I photoshopped in.

    in reply to: Category Images, Icons & Listing Descriptions #234295

    SurferDude
    Buyer
    Post count: 3

    Hi Paolo. Thanks for the reply. It would be great if there is a hook, but if I have to edit the plugin I will. I keep detailed logs for when I have to do updates. I just can’t seem to find what should replace $term_icon_url to show the default image.

    I will provide a link and admin credentials.

    in reply to: Category Images, Icons & Listing Descriptions #233847

    SurferDude
    Buyer
    Post count: 3

    Thanks for your reply.
    So in the Popular Category widget code in general_functions.php, I see the below code. What can I replace $term_icon_url with to show the Default Listing Image instead?

    echo '<img alt="' . esc_attr($cat->name) . ' icon" style="height:20px;vertical-align:middle;" src="' . $term_icon_url . '"/> <span class="cat-link">'; echo $cat->name . '</span> <span class="geodir_term_class geodir_link_span geodir_category_class_' . $post_type . '_' . $cat->term_id . '">(' . $total_post . ')</span> ';

    I actually need to change the character count of the “Latest Places” sidebar widget on the homepage. The character filter in the widget does not change anything. How is this changed?

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