ittekudasai
Forum Replies Created
-
It was more devious (at least from my standpoint). I think I’m just working too long on this.
I introduced an additional instance of the loop that was affecting the loop I expected the child_of to respond to.
Once again, user error… it’s what I get for messing around with templates.
I’m a little concerned about plugins not playing nice together. They seem to be the most unstable part of WP, even though there are a great deal of them that are providing useful functionality.
Forum: Fixing WordPress
In reply to: Site wrecked after upgrade – 2.8 fault or yahoo webhostingI’m going back to 2.7.1 until the dust clears. All sort of random things were going wrong once I switched. The nail was the fact that the admin panels for applying categories just disappeared. I could not bring it back, despite using the screen options.
A plugin might be to blame, but I tried getting rid of them all. It did nothing.
Forum: Fixing WordPress
In reply to: Can’t change the category of postsI can’t even see my category pane when editing a post. All of that content is all gone for some reason.
I have it turned on in “screen options”, but it doesn’t appear, in FireFox or Safari 3.
I have been mucking with some plugins but turned things off didn’t help. I can’t properly edit my posts… quicklyk contemplating a revert back to 2.7.1.
Forum: Fixing WordPress
In reply to: Current page id outside the loopShould be just $post->ID but if you get it working let me know… when I do this it keeps returning a number that is incorrect.
I am going through the same confusion. I swear child_of was working yesterday, and it’s broken again today. I can put the code to be called before the get_header – and it works then – but that’s not where I want the subpages listed!
I don’t want it in the sidebar, either. Hopefully I get it working again by some miracle.
Forum: Fixing WordPress
In reply to: child_of returns nothing?I am a n00b. I stepped away and figured out the only problem was myself.
Forum: Alpha/Beta/RC
In reply to: child_of not working in get_pagesIt’s not working for me. $post-ID is returning a bad ID, which doesn’t have children.
Perhaps I just need to nuke my DB? I’m in development so that’s not the end of the world, but I’ve about had it trying to make child_of work right now.
Forum: Fixing WordPress
In reply to: How can I list subpages that below to 1 main page?I’m starting to feel like I’m the only one this didn’t work for.
I’ve copied and pasted WP code, and it makes sense to me, WP doesn’t seem to think that my subpages are children of the page I’m requesting.child_of returns a blank for me, and I’m sure I have set up the pages to have subpages.
Forum: Fixing WordPress
In reply to: List of subpageshttps://codex.www.ads-software.com/Template_Tags/wp_list_pages
Although if it works for you, let me know. I can’t get it to list subpages.
Forum: Plugins
In reply to: Getting post ID using functionI’m using WordPress 2.7.
I’m following the instructions https://codex.www.ads-software.com/Template_Tags/wp_list_pages
but the $post->ID is returning a number that doesn’t work — actually a revision instead of the original post. THe original was id=33 (I checked the DB).
There was a revision ID=151 – and this is the number $post->ID gives me.
However, using wp_list_pages(“child_of” . $post->ID) doesn’t work. While it should return 151 because that is the last revision, WP doesn’t think that 151 has any child pages, because it doesn’t list anything.
What am I missing? I didn’t think it would be that hard to list sub pages.