• Resolved nluecke

    (@nluecke)


    Hi,

    I were able to create a mobile version of the “Rollout” page which is showing the desired content, but when I open the “Rollout” page on a mobile device, it’s only showing the content from the desktop version.

    Mobile version link:
    https://test.idsgmbh.com/de/rollout-mobile/

    I would highly appreciate your help

    Best,
    Niklas

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Author Jose

    (@giuse)

    Hi @nluecke Thank you for the file.

    The problem is caused by KingComposer. With Freesoul Deactivate Plugins you disabled KingComposer on the desktop version, but not on mobile.

    I’ve detected the part of the code of KingComposer that causes this issue. Changing directly its code the problem is solved on my local computer, but of course, this is not a solution, you would lose the fix with the next update of KingComposer.

    I’m trying to find a way to solve the problem changing only the code of my plugin without touching the code of KingComposer. When it’s ready, I will provide you a beta version to test.

    Until then, if you want a quick and dirty solution, you can open the file wp-content/plugins/kingcomposer/includes/kc.fronnt.php and replace these lines from 96 to 101:

    if (isset($post) && !empty( $post->post_content_filtered))
     {
            $post->post_content =  html_entity_decode( stripslashes_deep( $post->post_content_filtered ) );
     }
               
    $post->post_content = apply_filters('kc_raw_content', $post->post_content_filtered, $post->ID);

    with the following lines

    if (isset($post) && !empty( $post->post_content_filtered))
    {
        $post->post_content =  html_entity_decode( stripslashes_deep( $post->post_content ) );
    }
               
    $post->post_content = apply_filters('kc_raw_content', $post->post_content, $post->ID);

    You can see the original code here https://plugins.trac.www.ads-software.com/browser/kingcomposer/trunk/includes/kc.front.php

    The next version of SCFM will work also with the original KingComposer code. If you prefer to wait, take into account that it will require a few days.

    • This reply was modified 4 years, 7 months ago by Jose.
    Plugin Author Jose

    (@giuse)

    Hi @nluecke

    instead of modifying the code of KingComposer, I suggest to try the new beta version 0.1.3 of SCFM.
    On my computer with your website, it solves the issue.

    You can download it with this link: https://downloads.www.ads-software.com/plugin/specific-content-for-mobile.0.1.3.zip

    If the direct link doesn’t work, scroll the page https://www.ads-software.com/plugins/specific-content-for-mobile/advanced/ until “Please select a specific version to download.”, select 0.1.3 and click on Download.

    Then you need to extract the zip and transfer it via FTP.

    I would say with your plugins and theme this beta version is stable and you should not have problems, but if you prefer to wait for the official new version, I need to perform more tests also in other situations and it will be ready in a few days.

    If you try the beta version, please let me know if you still have issues.

    Thread Starter nluecke

    (@nluecke)

    Hi @giuse

    The beta version runs perfectly! Thanks a lot for giving me access to it.

    So far I haven’t seen a single issue with it.

    Thank you so much for your help, this is highly appreciated!

    Plugin Author Jose

    (@giuse)

    Hi @nluecke

    Perfect! Happy to know all works right now.
    You are welcome! Thanks to you for discovering this issue with KingComposer.

    So, I will close this thread. For any issues don’t hesitate to open a new one.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Mobile content isn’t displayed’ is closed to new replies.