I'm trying to change the target for the next post link. My code: $Next_Button = next_post_link('« %link'); $Next_Button2 = str_replace('">', '" target="_top" >', $Next_Button); echo $Next_Button2; Code (markup): But it's not working could someone point out where I'm going wrong.
I don KNOW Much about this wordpress code but May be this can help you ronrothman.com/public/leftbraned/wordpress-fix-category-exclusions-in-next_post_linkprevious_post_link/ sorry if it cannot help you