warwell
Forum Replies Created
-
Forum: Plugins
In reply to: Widget Logic on 2.8How can I make a statement so that the wdiget does NOT show on a certain page OR that page’s child pages? Thank you!
Forum: Fixing WordPress
In reply to: wp_head is adding a meta tag I don’t want!!OK, I figured it out.
IT WAS GODADDY BEING A BASTARD.
I usually use the all mighty dream host, who asks a few questions before installing WP on my server, one is which “Do you want your blog to show up in search engines and whatever else”. I always choose yes.
But GoDaddy does not ask this on the install – it just automatically blocks search engines like a big retard. SO, to fix this, just go into settings > Privacy and click “I would like my blog to be visible to everyone, including search engines (like Google, Sphere, Technorati) and archivers”
OK, hope that helps some one. For the record, I don’t advise any one to use GoDaddy for hosting. In case I hadn’t made it obvious that they suck. Don’t even get me started on their .htaccess crap….
Forum: Plugins
In reply to: Fold Page List helpYo. Maybe I can help. Where you want your list to display, use this code
<ul> <?php //if current post's parent is not 0, track back up the chain until parent is zero //then use that as the value passed in for child_of $emp_parent_post = 1; $emp_testingpage = $post->ID; //print $emp_testingpage." "; while ($emp_parent_post <> 0){ $emp_parent_post = $wpdb->get_var("SELECT post_parent FROM $wpdb->posts WHERE ID = $emp_testingpage"); //print $emp_parent_post." "; if ($emp_parent_post <> 0) $emp_testingpage = $emp_parent_post; //print $emp_testingpage." "; } ?> <?php wp_list_pages(fold_page_menus(). "title_li=&Sub-Pages&depth=2&child_of=" . $emp_testingpage); ?> </ul>