Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • I was having the same problem and even in “code” mode it wouldn’t work. I found out that two things were causing my problem:

    1) I was using the “Tiger Style Administration” plugin (disable this if using WP 2.1.x)

    2)When in code mode, I have to put the <!–adsense–> code right up against my text. If I leave a linebreak, it won’t work.

    Correct example:
    This is my blog entry, lalala. Here is a <a href="http://mydomain.com">link</a>.<!--adsense-->

    Incorrect example:

    This is my blog entry, lalala. Here is a <a href="http://mydomain.com">link</a>.
    <!--adsense-->

    At least that is what worked for me, hopefully you get it working.

    Forum: Plugins
    In reply to: AdSense Deluxe and 2.1.2

    I was having the same problem and even in “code” mode it wouldn’t work. I found out that two things were causing my problem:

    1) I was using the “Tiger Style Administration” plugin (disable this if using WP 2.1.x)

    2)When in code mode, I have to put the <!–adsense–> code right up against my text. If I leave a linebreak, it won’t work.

    Correct example:
    This is my blog entry, lalala. Here is a <a href="http://mydomain.com">link</a>.<!--adsense-->

    Incorrect example:

    This is my blog entry, lalala. Here is a <a href="http://mydomain.com">link</a>.
    <!--adsense-->

    At least that is what worked for me, hopefully you get it working.

    Thread Starter lul2x

    (@lul2x)

    bump

    Thread Starter lul2x

    (@lul2x)

    Fixed. All I did was added this code before and after my movie page’s script.

    <?php require('/home/username/server/wp-blog-header.php'); ?>
    <?php get_header(); ?>
    #source code for script here
    <?php get_footer(); ?>

    Now when I go to mysite.com/movies, the page is wrapped in a WP header and footer. May be easy, but took a while for me to find out.

    Thread Starter lul2x

    (@lul2x)

    bump

    Thread Starter lul2x

    (@lul2x)

    Anymore ideas out there?

    Thread Starter lul2x

    (@lul2x)

    Hmm, I added the $ before both highlights. Now, neither Home nor Gallery will highlight when clicked. The other pages are still working fine. You can take a look at what I mean at http://pbriscoe.com

    Here is my current code:

    <?php if (is_home()) $highlight1="current"; elseif (!is_page()) $highlight2="current"; ?>
    <div id="mainmenu">
    <ul class="level1">
    <li class="$highlight1"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home','andreas09'); ?></a></li>
    <li class="$highlight2"><a href="/wp-gallery2.php">Gallery</a></li>
    <?php
    if(function_exists("wp_andreas09_nav")) {
    wp_andreas09_nav("sort_column=menu_order&list_tag=0&show_all_parents=1&show_root=1");
    }
    ?>
    </div>

    Thread Starter lul2x

    (@lul2x)

    I’m sorry for being such a newb, but I’m not sure exactly what you mean. This is what I tried, and the same results happened.

    <?php if (is_home()) $highlight1="current"; elseif (!is_page()) $highlight2="current"; ?>
    <div id="mainmenu">
    <ul class="level1">
    <li class="highlight1"><a href="<?php echo get_settings('home'); ?>"><?php _e('Home','andreas09'); ?></a></li>
    <li class="highlight2"><a href="/wp-gallery2.php">Gallery</a></li>
    <?php
    if(function_exists("wp_andreas09_nav")) {
    wp_andreas09_nav("sort_column=menu_order&list_tag=0&show_all_parents=1&show_root=1");
    }
    ?>

    I’m not sure if that’s what you were saying or not.

    Thread Starter lul2x

    (@lul2x)

    What should I change it to? If I use this code…

    <li class="<?php echo $highlight; ?>">

    the same thing happens. Do I need to add something else to class?

    Thread Starter lul2x

    (@lul2x)

    Anyone. I figure it can’t be too difficult, I just have no idea what I’m missing.

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