• Resolved zbyneksmetana

    (@zbyneksmetana)


    Hello,
    Sorry for language mistakes.
    Im new user of relevanssi. I have installed Oxygen builder plugin. I noticed when Oxygen builder is turned on, on “custom fields” relevanssi option appear “ct_builder_shortcodes”.
    Problem is when i try to add additional “custom fields” after coma i cant.
    When i add additional field and save “custom fields” returns to its previous state … it means return to “ct_builder_shortcodes” only.

    Im also try to change custom fields from “some” to “all” the same result all returns to state “some” with “ct_builder_shortcodes”

    This problem does not show up when I turn off oxygen plugin

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Congratulations, you have discovered a bug in Relevanssi.

    You can fix this by adding this to your theme functions.php:

    remove_filter( 'pre_option_relevanssi_index_fields', 'relevanssi_oxygen_fix_none_setting' );

    I will fix this in the next version of Relevanssi. Thanks!

    Thread Starter zbyneksmetana

    (@zbyneksmetana)

    Thanks, I try to add this code to “code snippets” (“Code Snippets” plugin) but not working. In oxygen functions.php dont exist (no theme in oxygen :))

    Plugin Author Mikko Saari

    (@msaari)

    Ah, that’s true. I checked, and this way it works:

    add_action( 'init', function() { remove_filter( 'pre_option_relevanssi_index_fields', 'relevanssi_oxygen_fix_none_setting' ); } );

    Thread Starter zbyneksmetana

    (@zbyneksmetana)

    Thanks!!! … works well

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I cannot add custom fields’ is closed to new replies.