• Resolved webmarka

    (@webmarka)


    Hello, I found a little bug in the exclude functionnality when the excluded page is the homepage or blog posts page.

    It is a variable type problem, because those pages are stored as “string” in database, but the source code expect it to be “int”.

    Here is a example to fix it :

    (in function mtnc_check_exclude(), add this line after the if/else statement, around line 2237 in includes/functions.php)

    $curr_id = (int) $curr_id;

    That’s all!

Viewing 1 replies (of 1 total)
  • Plugin Author WebFactory

    (@webfactory)

    Morning ??,
    Thank you so much for sending that in! I’ll make sure we put it in the next release!

Viewing 1 replies (of 1 total)
  • The topic ‘Exclude frontpage and blog page not working’ is closed to new replies.