Hello guys,

Can someone help me with my problem?
I need the boxes towards the bottom of the page to link to proper pages that have to do with subject instead of catatories:
Code: 
www.loyalforex.com/wp
The first three links are correct, but the 3 links above are not:
http://i.imgur.com/urUP5.png

This is the correct links that I need:

Code: 
why trade forex, 
http://loyalforex.com/wp/about-us/ 

Leverage 
http://loyalforex.com/wp/forex-trading/account-types/ 

affilate 
http://loyalforex.com/wp**********

web trader 
http://loyalforex.com/wp/web-trader-platform/

metatrader 
http://loyalforex.com/wp/metatrader-platform/

deposit 
http://loyalforex.com/wp/deposit/
This is the file that I'm edit:
http://paste2.org/p/2031111

This is some part of the code above:


PHP Code: 
<div class="article-image">
                        
                                <?php if (has_post_thumbnail()) : ?>
   <?php if (in_category('Affiliates')){ ?>
 <a class="darken" href="<?php bloginfo('url'?>**********">
<?php  }elseif (in_category('News')){ ?> 
 <a class="darken" href="<?php bloginfo('url'?>/about-us/">
<?php }elseif(in_category('Partners')){ ?>
 <a class="darken" href="<?php bloginfo('url'?>/news/why-trade-forex/">
<?php } elseif(in_category('Metatrader')){ ?>
<a class="darken" href="<?php bloginfo('url'?>/metatrader-platform/">
<?php } elseif(in_category('Technology')){ ?>
 <a class="darken" href="<?php bloginfo('url'?>/forex-trading/account-types/">
<?php }elseif(in_category('Deposits')){ ?>
 <a class="darken" href="<?php bloginfo('url'?>/deposit/">
 <?php }elseif(in_category('Webtrader')){ ?>
 <a class="darken" href="<?php bloginfo('url'?>/web-trader-platform/">
                                    <?php } else { ?>
                                             
                                <a class="darken" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                                <?php ?>
                                    
                                        <?php the_post_thumbnail('feed', array( 'title'    => '' )); ?>
                                        
                                    </a>
                                    
                                <?php else: ?>
                                
                                    <div class="article-image-placeholder">&nbsp;</div>
                                
                                <?php endif; ?>
                                
                            </div>

PHP Code: 
<div class="content">
                            
                                <h2 class="adelle">
   <?php if (in_category('Affiliates')){ ?>
 <a class="post-title" href="<?php bloginfo('url'?>**********">
<?php  }elseif (in_category('News')){ ?> 
 <a class="post-title" href="<?php bloginfo('url'?>/about-us/">
<?php }elseif(in_category('Partners')){ ?>
 <a class="post-title" href="<?php bloginfo('url'?>/news/why-trade-forex/">
<?php } elseif(in_category('Metatrader')){ ?>
<a class="post-title" href="<?php bloginfo('url'?>/metatrader-platform/">
<?php } elseif(in_category('Technology')){ ?>
 <a class="post-title" href="<?php bloginfo('url'?>/forex-trading/account-types/">
<?php }elseif(in_category('Deposits')){ ?>
 <a class="post-title" href="<?php bloginfo('url'?>/deposit/">
 <?php }elseif(in_category('Webtrader')){ ?>
 <a class="post-title" href="<?php bloginfo('url'?>/web-trader-platform/">
                                    <?php } else { ?>
                                             
                                <a class="post-title" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
                                <?php ?>

                                <?php the_title(); ?></a></h2>
PHP Code: 
<div class="fullstory">
                            
                                <?php if($isreview) { ?>
                                
                                    <a href="<?php the_permalink(); ?>"><?php _e'Full Review''continuum'); ?> &raquo;</a>
                                
                                <?php } else { ?>
                             <?php if (in_category('Affiliates')){ ?>
 <a href="<?php bloginfo('url'?>**********">
<?php  }elseif (in_category('News')){ ?> 
 <a href="<?php bloginfo('url'?>/about-us/">
<?php }elseif(in_category('Partners')){ ?>
 <a href="<?php bloginfo('url'?>/news/why-trade-forex/">
<?php } elseif(in_category('Metatrader')){ ?>
<a href="<?php bloginfo('url'?>/metatrader-platform/">
<?php } elseif(in_category('Technology')){ ?>
 <a href="<?php bloginfo('url'?>/forex-trading/account-types/">
<?php }elseif(in_category('Deposits')){ ?>
 <a href="<?php bloginfo('url'?>/deposit/">
 <?php }elseif(in_category('Webtrader')){ ?>
 <a href="<?php bloginfo('url'?>/web-trader-platform/">
                                    <?php } else { ?>
                                             
                                <a href="<?php the_permalink(); ?>">
                                <?php ?>
                                    <?php _e'Full Story''continuum'); ?> &raquo;</a>
                                
                                <?php ?>
                            
                            </div>

Can someone please help me? :-)
What Im doing wrong!?

Regards,
Divvy

---------- Post added at 04:48 PM ---------- Previous post was at 01:35 AM ----------

Hello guys,

Can someone please help me?

Thanks,
Divvy
Divvy Reviewed by Divvy on . Wordpress issue, can someone help me? Hello guys, Can someone help me with my problem? I need the boxes towards the bottom of the page to link to proper pages that have to do with subject instead of catatories: www.loyalforex.com/wp The first three links are correct, but the 3 links above are not: http://i.imgur.com/urUP5.png This is the correct links that I need: Rating: 5