lul2x
Forum Replies Created
-
Forum: Plugins
In reply to: Adsense Deluxe Plugin Not showing up WP 2.1 UpgradeI 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.2I 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: Fixing WordPress
In reply to: Custom Page w/ Highlightbump
Forum: Fixing WordPress
In reply to: Wrap a Non-WP page within a WP PageFixed. 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.
Forum: Fixing WordPress
In reply to: Custom Page w/ Highlightbump
Forum: Fixing WordPress
In reply to: Custom Page w/ HighlightAnymore ideas out there?
Forum: Fixing WordPress
In reply to: Custom Page w/ HighlightHmm, 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>Forum: Fixing WordPress
In reply to: Custom Page w/ HighlightI’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.
Forum: Fixing WordPress
In reply to: Custom Page w/ HighlightWhat 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?
Forum: Fixing WordPress
In reply to: Custom Page w/ HighlightAnyone. I figure it can’t be too difficult, I just have no idea what I’m missing.