Put an element only in the main page
-
Hi guys, I would insert in my home page – and only in my home page – a table containing only the LAST post tagged as “highlights”.
before the container main code, I could put a div like this:
<div class="news"> <table width="100%"> <tr valign="top"> <td align="left"> ????????????????????????????????????????? </td> </tr> </table> </div>
but what about the php code to visualize the div only in the home and only tha last post with a specific tag?
many thanks for helping
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Put an element only in the main page’ is closed to new replies.