Evgeny Kyselev

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: HTML Field cut my DIV tags #287932

    Evgeny Kyselev
    Free User
    Post count: 8

    Solved. Added to functions.php

    
    
     // stop wp removing div tags
    function tinymce_fix( $init )
    {
        // html elements being stripped
        $init['extended_valid_elements'] = 'div[*], script[*]';
    
        // pass back to wordpress
        return $init;
    }
    add_filter('tiny_mce_before_init', 'tiny_mce_fix');
    in reply to: Neighbourhood field in Search Form Inputs #287836

    Evgeny Kyselev
    Free User
    Post count: 8

    Anyone? please help ))

    in reply to: Neighbourhood field in Search Form Inputs #287490

    Evgeny Kyselev
    Free User
    Post count: 8

    Okay, another question. We got CPT, and i create field that categorise my listings by neighbourhood.
    I add this field to the search form inputs and for 1 city it works great.

    For example if i choose Kiev i will get custom field with Kiev neighbourhoods, but if i choose Odessa, Kiev neighbourhoods stays. Can i set-up this field depends on which city i choose.

    Kiev – Kiev neighbourhood, Odessa – Odessa neighbourhood.

    Thank u.

    in reply to: Neighbourhood field in Search Form Inputs #287454

    Evgeny Kyselev
    Free User
    Post count: 8

    But maybe we can separete them?

Viewing 4 posts - 1 through 4 (of 4 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount