Jump to content

Wordpress issue, can someone help me?


Divvy

Recommended Posts

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:

 

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:

 

 

<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"> </div>
                                
                                <?php endif; ?>
                                
                            </div>

 

 

<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>

 

<div class="fullstory">
                            
                            	<?php if($isreview) { ?>
                                
                                	<a href="<?php the_permalink(); ?>"><?php _e( 'Full Review', 'continuum'); ?> »</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'); ?> »</a>
                                
                                <?php } ?>

						</div>

 

 

Can someone please help me? :-)

What Im doing wrong!?

 

Regards,

Divvy

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.