Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter softext

    (@softext)

    On lines 16 and 30 of the plugins webriti-companion.php file the plugin checks to see if its name matches Quality, Quality blue, Quality orange, Quality green, or Mazino.

    This can be updated to simply check if the theme is Quality or Mazino or if its a child of one of them.

    Sample code below:

    $parent_theme = wp_get_theme(get_template()); // gets the current theme parrent
    if ( 'Quality' == $theme->name || 'Quality' == $parent_theme->name || 'Mazino' == $theme->name || 'Mazino' == $parent_theme->name){

    Please implement this into your next update.

    • This reply was modified 5 years, 11 months ago by softext.
    • This reply was modified 5 years, 11 months ago by softext.
Viewing 1 replies (of 1 total)