• Resolved whereverpanda

    (@whereverpanda)


    Hi Mikko,

    I hope all is well!

    It seems like there might be another issue with Oxygen Builder. I only noticed this yesterday but I think it may have been an issue for some time.

    It looks like Relevanssi is not indexing any content within Oxygen Builder’s ‘Tabs’ element.

    Do you possibly know what could cause this? Don’t rush on this – I realize it’s the weekend!

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

    (@msaari)

    In lib/compatibility/oxygen.php, try replacing

    $content = preg_replace(
      array(
        '/\[oxygen.*?\]/',
        '/\[\/?ct_.*?\]/',
      ),

    with this:

    $content = preg_replace(
      array(
        '/\[oxygen.*?\]/',
        '/\[\/?ct_.*?\]/',
        '/\[\/?oxy_.*?\]/',
      ),

    Based on my tests this should include the tab content, but check if there are some side effects.

    Thread Starter whereverpanda

    (@whereverpanda)

    Hi @msaari,

    That seems to have solved it, thank you so much! You are genuinely a hero! I don’t see any issues with it thus far, but I’ll keep my eye on it.
    Will this fix be included in the next update?

    Plugin Author Mikko Saari

    (@msaari)

    Yes, it’ll be included in the next version, especially if you find no issues with it.

    Thread Starter whereverpanda

    (@whereverpanda)

    Great, thanks Mikko,

    So just to clarify, it’s just this one line that needed to be added:

    
    '/\[\/?oxy_.*?\]/',

    And that’s because of the way Oxygen wraps them?

    Plugin Author Mikko Saari

    (@msaari)

    Yes, that one line. That has the effect of removing the tab tags [oxy_tab_... but not their content. Trying to expand those tags doesn’t work, but removing them leaves the content and makes it easier to read.

    Thread Starter whereverpanda

    (@whereverpanda)

    Great, thanks again, Mikko.

    You have been an amazing help, as always!

    Thread Starter whereverpanda

    (@whereverpanda)

    Hi Mikko,

    Hope all is well!

    Just wanted to check whether the new version includes this fix?

    Thanks!

    Plugin Author Mikko Saari

    (@msaari)

    It should’ve, but looks like I didn’t add it to the main plugin files and it’s not included in the current version. Sorry! I added it now, so now it will definitely be in the next version.

    So if you update to the current version, you still need to apply the fix manually. Sorry about that.

    Thread Starter whereverpanda

    (@whereverpanda)

    Thanks again @msaari

    I have updated the plugin and made the single line addition to the oxygen.php file again accordingly.

    Thanks so much!

    Thread Starter whereverpanda

    (@whereverpanda)

    @msaari Hi Mikko,

    Just saw there was a new version out and remembered that I didn’t thank you for adding this compatibility in the previous version.

    So thanks for that! ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not indexing content in Oxygen Builder Tabs’ is closed to new replies.