|
|
Subject:
Simple PHP/Wordpress tweak needed
Category: Computers > Programming Asked by: rservice-ga List Price: $40.00 |
Posted:
26 Jul 2006 10:11 PDT
Expires: 26 Jul 2006 11:49 PDT Question ID: 749756 |
I have a Wordpress 2.0 blog and I have added the Simple Asides plugin (http://www.mikexstudios.com/simple-asides/). The plugin works fine, but I'm having problems trying to figure out how to prevent the Wordpress loop from displaying the "Email/Print" icons I have at the bottom of each post generated from index.php. What I'm hoping for, is some PHP code that basically performs this function: IF CATEGORY DOESN'T EQUAL "ASIDES" Then continue with the regular postmetadata IF CATEGORY EQUALS "ASIDES" Then do not display the following postemeta data Here is the actual code in my template: <p class="postmetadata_right"> <?php edit_post_link('Edit ', '', ''); ?> <?php if(function_exists('wp_email')) { email_popup('<img src=http://www.insidethecbc.com/uploads/icon_email.jpg width=15 height=12 border=0 /> Email This', 'Email This'); } ?> <?php if(function_exists('wp_print')) { print_link('<img src=http://www.insidethecbc.com/uploads/icon_print.jpg border=0 /> Print This', 'Print This'); } ?> </p> How can I have Wordpress ignore the postmetadata information on posts that are in the Asides category? |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |