Thread Starter
tenrex
(@tenrex)
ok found one that seems to work simple enuf, however there is one problem i carnt seem to put my mind around, how to stop it from showing on every page,
Tenrex
if ya go to my site and click any picture or what ever you will see the download, and preview buttons, however they are showing for every post rather than the one i just want it on “Edit” somehow before i dident manage to copy
<?php if ( in_category(‘5’) ): ?>` however now i have im getting an error all the time.. help anyone please.. i relly want this to clean up my site -_-.
<?php if ( in_category('5') ): ?>
<div class="livepreviewlink">
<a href="<?php echo c2c_get_custom('livepreview_url'); ?>" title="View the live preview">Preview</a>
</div>
<?php endif; ?>
<?php if ( in_category('20') ): ?>
<div class="downloadlink">
<a href="http://dodesign.us/download/<?php echo c2c_get_custom('design_file_name'); ?>.zip" title="Download this design for free!">Download</a>
</div>
<?php endif; ?>