Results 1 to 1 of 1
-
22nd May 2012, 03:48 PM #1OPMember
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:
Code:www.loyalforex.com/wp
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/
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"> </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'); ?> »</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
---------- Post added at 04:48 PM ---------- Previous post was at 01:35 AM ----------
Hello guys,
Can someone please help me?
Thanks,
DivvyDivvy 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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Wordpress Issue
By KINGTHE_ALI in forum Hosting DiscussionReplies: 0Last Post: 13th May 2012, 05:30 PM -
How to Fix this Wordpress Issue
By Faizann20 in forum Webmaster DiscussionReplies: 8Last Post: 1st Oct 2011, 10:20 AM -
WordPress Issue
By gmaister22 in forum Technical Help Desk SupportReplies: 21Last Post: 25th Dec 2010, 04:08 AM -
Wordpress issue.
By ZeroAT in forum WordpressReplies: 0Last Post: 2nd Aug 2010, 09:41 PM -
Wordpress Issue
By User12399 in forum Webmaster DiscussionReplies: 2Last Post: 30th Oct 2009, 05:25 PM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...