Divi 

WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Conditional codes + Plugins

Discussion in 'Plugins and Hacks' started by roshan, Mar 19, 2017.

  1. roshan

    New Member

    Joined:
    Mar 13, 2017
    Messages:
    4
    Likes Received:
    0
    Hi,
    How do you use conditional codes along with plugins??

    Sample scenario: Polylang plugin is running
    Need to get help of Polylang plugin to multilingualize some sentences in the footer menu. Since these sentences are in footer.php, Polylang cannot be used directly.

    I need some code saying that if the plugin is in condition 1, then display "xyz", else display "abc"
     
    #1

Share This Page