GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Quick Wordpress template / PHP question (https://gfy.com/showthread.php?t=998889)

rogueteens 11-23-2010 01:33 PM

Quick Wordpress template / PHP question
 
On Wordpress, to show a link for the next page you put this ...
<?php next_posts_link('Next Page') ?>
But if i wanted to show a graphic button instead, how do i do it?

Thanks.

redwhiteandblue 11-23-2010 02:20 PM

I don't know the answer but I would try putting the image tag inside the string that you are passing in, inside single quotes and using double quotes in the tag, e.g.

<?php next_posts_link('<img src="/path/to/your/image.gif" alt="something" />') ?>

rogueteens 11-23-2010 02:29 PM

that works, cheers mate.


All times are GMT -7. The time now is 01:13 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123