Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hirangoly

    (@hirangoly)

    what should i do then to got access within iframe?

    Thread Starter hirangoly

    (@hirangoly)

    getting this error while using this code:
    Fatal error: Call to undefined function get_search_form() in C:\wamp\www\wordpressflem\wp-content\themes\Flamingo\sidebar.php on line 6

    Thread Starter hirangoly

    (@hirangoly)

    i copied this code :
    <?php endif; ?>
    </div>
    </div>
    <?php $url = TEMPLATEPATH.’/sidebar.php’ ?>
    <iframe src=”<?php $url ?>” </iframe>
    </div>
    <?php get_footer(); ?>
    inplace of :
    <?php endif; ?>
    </div>
    </div>
    <?php get_sidebar(); ?>
    </div>
    <?php get_footer(); ?>

    in the index.php (Main Index Template)

    The problem is i am unablt to see anything. The iframe seems blank (white page) without any scroller.

    Thread Starter hirangoly

    (@hirangoly)

    But i want to hide the sidebar only from search engine not from user. The solution you suggested will hide the sidebar from users also. I want user to use the sidebar.
    Also my company suggetsed to keep the sidebar in iframe so that it is not caught by search engine.
    Please explain me how can i keep complete sidebar in the iframe.

    Thread Starter hirangoly

    (@hirangoly)

    I want to hide the tags cloud, Archives in the sidebar from the search engine. I thought to hide the complete the whole sidebar within iframe to protect it from search engine.
    Actually i want to hide the sidebar from individual post only not from the main page.
    From where i can edit the theme to call get_sidebar() inside the iframe. Please explain it more clearly

Viewing 5 replies - 1 through 5 (of 5 total)