melbell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Smilies don’t work in posts or pagesdoes anyone know what I can check to see why this is broken?
Forum: Plugins
In reply to: Function to tell if a page password protectedHere’s what I did. I have very limited MYSQL knowledge so please let me know if this might break anything.
In my new get_pages_nopassword(), where it says:
"FROM $wpdb->posts " .
"WHERE post_status = 'static' " .
"$exclusions " .
"ORDER BY " . $r['sort_column'] . " " . $r['sort_order']);
And changed it to:
"FROM $wpdb->posts " .
"WHERE post_status = 'static' " .
"AND post_password = '' " .
"$exclusions " .
"ORDER BY " . $r['sort_column'] . " " . $r['sort_order']);
It seems to work, I just want to make sure it won’t break anything.
Forum: Plugins
In reply to: Function to tell if a page password protectedSorry to be such a pain. But I’m going in circles here.
Ok, I copied wp_list_pages() and named it wp_list_pages_nopassword(). Did the same with get_pages() calling it get_pages_nopassword().
Now I have this:
<?php if (!empty($post->post_password)) { ?>
<?php } ?>But where do I need to put that if statement?
Forum: Plugins
In reply to: Function to tell if a page password protectedI was actually hoping that I could copy the wp_list_pages() function and create a new one based on that so that I don’t have to make any permanent changes to the functions and processes that come with wordpress. Do you happen to know where this function is located?
Forum: Plugins
In reply to: Function to tell if a page password protectedYeah, after I thought about for a while I realized that I would have to edit the wp_list_pages() function itself to get my desired results…I can’t seem to find which file that function is included in.
Let me know if you find where it is.
Forum: Plugins
In reply to: Function to tell if a page password protectedOk, I tried that. Here’s how I used it:
<?php if (!empty($post->post_password)) { ?>
<?php wp_list_pages('title_li'); ?></ul></li>
<?php } ?>It doesn’t list any of the pages.
Forum: Plugins
In reply to: Function to tell if a page password protectedoooh…that looks good! ??
Thanks! I will go try it now!
Forum: Your WordPress
In reply to: My first blogVikia, I know I’m a little late finding this, but I just did a search for “panda” to see if I could find a panda theme to use for my WP site, and I found this thread. The first post I saw when I looked at your site was about the college world series. While I’m not a Nebraska fan, I do live in Omaha! It’s a small world, huh? ??
Love you theme, by the way.
Forum: Themes and Templates
In reply to: SIdebar Headers not working correctly in IEDid you get it fixed? I’m not seeing the problem in IE.
Forum: Themes and Templates
In reply to: Template. Why is it alright with FF and not with IE?Forum: Plugins
In reply to: How can I keep sidebar items still while changing themeYou have to change your new theme (that you are switching) to show it just as the original theme (that you are switching from) has it.
Each theme has it’s own stylesheet and it’s own sidebar.php file. If those aren’t the same then the layout and content won’t be the same.
Make sense?
Forum: Plugins
In reply to: Where to put gravatar line?OOOooooohhh…You don’t have the gravatar plugin, just the signup one…that should explain it then. Good catch Cypher
Forum: Plugins
In reply to: Where to put gravatar line?There you go…I see your comments now
Forum: Plugins
In reply to: Where to put gravatar line?No, I mean in the plugin file itself. If you have any spaces at the beginning or end of the file it can mess things up
Forum: Plugins
In reply to: Where to put gravatar line?make sure there are no blank spaces before or after your php tags in the plugin file. That can sometimes cause WordPress not to read it properly