wpbeginner alghorithm