Forums

Conditional Tag placement (1 post)

  1. ianmcabee
    Member
    Posted 2 years ago #

    I am using conditional tags to display post content depending on what page the view is on. However the sidebar content is taking over the main page content. For instance on my "Advertising" page I have a snippet where I am calling a post to display when someone is on the "Advertising" and "Advertising" sub pages.

    <php
    if (is_page()) {
            if (is_page(array('Advertising','Our Readers','Ad Specifications'))) {
    
    query_posts('p=603');

    How can I make sure the post content is put in the correct place and is not taking over the page?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.