Help with post_edit_link() arguments
-
In the following line from index.php, I added a few non-breaking spaces to the $after argument to add some pseudo-padding when logged in as an admin or other contributor.
How can I add and IMAGE to the $before argument? I want to add a preceding icon but ONLY when logged in as an admin or other contributor.
<?php edit_post_link(‘Edit’, ”, ‘
‘); ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Help with post_edit_link() arguments’ is closed to new replies.