WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Widget Logic Fatal Error (2 posts)

  1. johnfrancis
    Member
    Posted 2 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.

    if_home()

    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.

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 2 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