This topic has 3 replies, 2 voices, and was last updated 8 years by sharmstr.

  • Author
  • #59490
     giorgos
    Participant

    I would like to use another theme for mobile devices. When I use any theme switcher plugin, I’m betting below error.

    Fatal error: Call to undefined function kleo_get_img_overlay() in xxxx/wp-content/plugins/k-elements/shortcodes/templates/buddypress/kleo_bp_members_grid.php on line 56

    Is it possible to have k-elements deactivated for a mobile version?

    #59499
     sharmstr
    Moderator

    The short answer is that I dont know. I would google for a way to conditionally load plugins.

    The longer answer is more of a “lets talk through this error message.” The kleo_get_img_overlay function doesn’t exist in Kleo. You can see its being called from k-elements and the function exists in k-elements as well (/k-elements/functions/helpers.php). So, not sure why its not finding it.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59500
     sharmstr
    Moderator

    I just installed one of the theme switchers and received the error. You can probably get around that by going into VC and hiding any of the k-element shortcodes from mobile devices by using the visibility shortcode.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #59501
     sharmstr
    Moderator

    Hmmm, actually that didnt work.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?