Widget Logic
Widget Logic Fatal Error (2 posts)

  1. johnfrancis
    Posted 3 years ago #

    I am running Magazine Basic 2.7.3 theme.

    I installed the widget logic plugin and used the following call to put a text widget in my sidebar.


    But I get the following error

    Fatal error: Call to undefined function if_page() in /hermes/web06/b271/moo.johnfrancis/mywebpage.com/wp-content/plugins/widget-logic/widget_logic.php(161) : eval()'d code on line 1

    I have no idea about coding so any help is much appreciated.


  2. alanft
    Plugin Author

    Posted 3 years ago #

    if_home() is not a known conditional tag, nor is if_page() which is what the error indicates is the first statement it chokes on.

    try is_home() and is_page()

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic