Latest release doesn't have shortcode function in sidebar

This topic contains 18 replies, has 2 voices, and was last updated by  lminternet 8 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #289277

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #289282

    lminternet
    Expired Member
    Post count: 70
    This reply has been marked as private.
    #289304

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Just this code:

    
    
    function enable_shortcodes_on_geo_listings($html, $variables_array=array()){
    	return apply_filters('the_content', $html);
    }
    
    add_filter('geodir_show_geodir_testing_html','enable_shortcodes_on_geo_listings',10,2);
    add_filter('geodir_show_geodir_shortcodes','enable_shortcodes_on_geo_listings',10,2);
    add_filter('geodir_show_geodir_special_offers','enable_shortcodes_on_geo_listings',10,2);
    add_filter('gd_special_offers_content','enable_shortcodes_on_geo_listings',10,1);

    This line makes the special offers tab work

    add_filter('gd_special_offers_content','enable_shortcodes_on_geo_listings',10,1);

    this line

    add_filter('geodir_show_geodir_shortcodes','enable_shortcodes_on_geo_listings',10,2);

    you had the wrong htmlvar name, you had geodir_show_geodir_html_shortcodes instead of geodir_show_geodir_shortcodes.

    The theme update should not affect it.

    Stiofan

    #289349

    lminternet
    Expired Member
    Post count: 70
    This reply has been marked as private.
Viewing 4 posts - 16 through 19 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount