Prasanna helped me with a random function last year. (https://forum.graphene-theme.com/graphene-support/can-i-insert-the-php-code-for-random-post-link-on-child-theme) I just noticed that the function only pull Pages but not Posts. So I tried modifying that code by deleting post_type=post& from the function. But it is still only pulling Pages only.
Is there a way to pull either a Page or a Post? If so, how can I do that? I read up on WP http://codex.wordpress.org/Template_Tags/get_posts but it didn’t help.
Thank you.