WordPress.org

Ready to get started?Download WordPress

Forums

Password Protect Children and Category Shortcodes conflict (1 post)

  1. glasspeach
    Member
    Posted 2 years ago #

    I'd like to use category shortcodes on my site; however, the logic of these plugins seems to conflict with Password Protect Children Pages. I get an error when I try to use any category shortcode:

    Warning: Invalid argument supplied for foreach() in /home8/public_html/wp-content/plugins/ft-password-protect-children-pages/ft-password-protect-children-pages.php on line 72

    From what I understand, I'd like to add a line to the Password Protect PHP that says something like "If there's a shortcode on the page, don't bother with your ancestry logic" but I'd also love to hear other solutions.

    Is there a way for these two functions to coexist?

Topic Closed

This topic has been closed to new replies.

About this Topic