• Using this plugin I found the in_the_loop() condition on line 64 preventing the post title on child-pages from being altered to include the protected_title_format.

    With this condition my post title (that was not in the loop) does not show the protected_title_format.

    Removing the condition as follows allowed me to display the formatted Post Title:

    Changed:

    if ( is_page() && in_the_loop() ){

    to

    if ( is_page() ){

    https://www.ads-software.com/plugins/ft-password-protect-children-pages/

  • The topic ‘Why use in_the_loop on line 64’ is closed to new replies.