hi
i made a website in wordpress and i changed the template. there is two buttons in home page that says "download" and "view demo" and they both go to home page. i changed the images but i don't know how to change the links since i don't really know css. in the index file of the template there is two codes for buttons:
and there is a functions file that has a related code:Code:<div class="buttons"> <a href="<?php echo get_option('Ndegree_dlink'); ?>"><img class="" src="<?php bloginfo('template_url'); ?>/images/download.png" title="Click to download" alt="Download"/></a> <a href="<?php echo get_option('Ndegree_demolink'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/view-demo.png" title="Click to view demo" alt="View Demo"/></a> </div>
i know i need to somehow change the "ndegree_dlink" and "ndegree_demolink". but i don't really know how.Code:<td>Download Button Link:</td> <td><input type="text" name="Ndegree_dlink" id="Ndegree_dlink" size="50" value="<?php echo get_option('Ndegree_dlink'); ?>" /> </td> </tr> <tr> <td>Demo Button Link:</td> <td><input type="text" name="Ndegree_demolink" id="Ndegree_demolink" size="50" value="<?php echo get_option('Ndegree_demolink'); ?>" /> </td>
i replaced them with the url i wanted but they still go to home page. if you can tell me how to change one of them it would be enough.
and excuse my bad english.
tanks in advance


Reply With Quote


Bookmarks