invisiontech
Member
Posted 3 years ago #
Hi,
I just converted almost all of my sites from joomla and Article Manager to wordpress and trying to figure some stuff out.
How do I show certain links/text(html), etc. on HOME page only? In the sidebar widget? Even if its hard code rather than using the widget, it will do.
Please help.
Thank you!
invisiontech
Member
Posted 3 years ago #
Bumpy
Okay, so i've got this far:
<?php
// shows link on homepage only
if (is_home()){
echo 'htmlcode';
}
?>
Lets say I want to have links in a list... like the one a widget would generate, would that work with the code above?
Thanks!