Adding rel=”nofollow” to WP functions

Recently, one of my clients requested me add a rel=”nofollow” argument in the about page of his site. WordPress by default only adds that to its comments section to prevent spam marketing. There might be various ways doing so but I found it pretty difficult to find a good solution in this case. Why? Because the page list wasn’t being called directly using wp_list_pages(). It used a custom function. Not only that, due to some customization to the function, it also used a php variable in the parameter.

Continue reading