moody
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Changing div class textwidgetYou’re going to have to edit the core of wordpress. Do you really want to do that? Then go to wp-includes/widgets.php and search for what you’re looking for. Good luck.
Forum: Requests and Feedback
In reply to: Page Management Page order backwards in 2.1I’m so glad to see this. I thought it was something I was doing wrong. More info: http://trac.wordpress.org/ticket/3760
Forum: Fixing WordPress
In reply to: is_subpage() function8 months later, I’ve come back to this, but yes. Your reply helped me in the since that somehow from there I found this: http://wordpress.org/support/topic/41235#post-395279
That is exactly what I needed.
Thank you, very much.
Forum: Themes and Templates
In reply to: template tags for pages?Forum: Fixing WordPress
In reply to: Can you set the parent of a post as a Page?A little late on the reply, but I think it’ll help if anyone is looking for a solution to a similar issue.
I’m assuming by “open” you mean to have the navigation element highlighted for your post.
You will have to add some conditional arguments with your wswwpx_fold_page_list function.
My php knowledge is horrible, but if you’re smart then It may look something like this:
if have_posts() that are posts and not pages then
<li class="current_list_item"><a href="">news</a></li>
else
<li><a href="">news</a></li>
endif;
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>Good Luck!
Forum: Fixing WordPress
In reply to: Displaying child pages of parent pages problemHave you looked at the Fold page list plugin?
You also might want to play with the exclude string of these functions.
Forum: Fixing WordPress
In reply to: Hiding SubpagesHave you looked at the Fold page list plugin?
It does wonders!
Forum: Plugins
In reply to: Need Plugin Ideaswho’s your daddy? that would be a great plugin.
let’s find if the page is a subpage and if so let’s return the parents ID, not just the title.
and with that ID we can use via php to do what we wish.
the only proplem i see is if you’re dealing with a whole bunch of subpages with a whole bunch of ancestors.
my php knowledge is minimal and limited, otherwise i’d do it!
think about it.
Forum: Fixing WordPress
In reply to: How to use images to change my posts_nav?alrescha has a point. it’s the easyiest and most painless method.
but the real trick would be to get the other functions to output images as well. for example, if the wp_list_pages could return individual images and/or the text for individual posts/pages, that would be a killer plugin.
anyone? ideas?
Forum: Fixing WordPress
In reply to: page order: child independent from parent – how?Is it possible to have the child pages sorted by ‘column_title’ but at the same time leave the parent page order at ‘menu_order’?
A bit late on a reply, but after all my testing and tweaking, I would have to say no.
It’ll be best to have your children with values with the Page Order variable in the Page section.Then you can use something like this:
<?php wp_list_pages('title_li=&child_of=5&sort_column=menu_order'); ?>maybe?
Forum: Themes and Templates
In reply to: How to get the page parentYea, but how do we get the ID?
This seems to be the untalked about enigma of wordpress.
when and where is the is_subpage function going to appear?
Forum: Themes and Templates
In reply to: How to get Page Parent IDI’m trying to find out the same thing. I just found this post after posting my is_subpage() function post.
I’ve spent a few days trying to come up with a solution by reverse engineering a few different plugins, e.g.Breadcrumb Nav XT.
No success so far.
Have you or anyone figured this out?Forum: Fixing WordPress
In reply to: wp_list_pages and its echoThanks irakrakow!
I was hoping to somehow be able to use the echo parameter to some how give me some data that I can make my own list, BECAUSE, I have to have an separate image for each page in the links that are returned–with no text and without using CSS for making background images. The image must be in the HTML and the image visually describes the Page. More detail: the Page is a list of SubPages of people that some very obtrusive JavaScript uses to do some completely unnecessary behavior things.
Currently I have a hardcoded include that is currently at 7 IFs and SubPages and will increase. It would be nice to use the database and WP to help me with this.
Perhaps, is there a plugin that allows more, if not complete, control of how the links are outputted without having to edit the template-functions-post.php file?
Any ideas?
Forum: Fixing WordPress
In reply to: is my include a PHP or WP problem?good thinking. that’s what i tried, but i got this:
Fatal error: Call to a member function on a non-object in /home/user/public_html/website/wp-includes/wp-l10n.php on line 37
and if i change the included to be wp ready, i’m sure some fatal loop occurs because now on the WP i get this:
Warning: main(../wp-blog-header.php): failed to open stream: No such file or directory in /home/user/public_html/website/incs/inc_arch.php on line 3
Fatal error: main(): Failed opening required ‘../wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/user/public_html/website/incs/inc_arch.php on line 3