Clicknathan
Forum Replies Created
-
Forum: Plugins
In reply to: get the parent id of a pageHey Gedtech, try this out:
<?php if($post->post_parent) { // page is a child wp_list_pages('sort_column=menu_order&title_li= &child_of='.$post->post_parent); } elseif(wp_list_pages("child_of=".$post->ID."&echo=0")) { // page has children wp_list_pages('sort_column=menu_order&title_li= &child_of='.$post->ID); } ?>Forum: Fixing WordPress
In reply to: 2 level navi in 2 different placesRead through this page, toward the bottom it shows you how to list Child Pages of a particular Page, and exclude the Parent Page from being shown. I use it all the time in a similar manner as to what you’re trying to do here.
Forum: Fixing WordPress
In reply to: How to preview changes to a page before re-savingHmmm…in the Edit Page screen you can click the “Save and Continue Editing” button, which would essentially allow them to quickly scroll down the page, see what they’ve done, and change it before too many people would have a chance to see the page. But what you’re asking for isn’t core functionality, so unless you could find a plugin, no dice.
However, you could simply suggest to your client that they select all and copy it before saving a page, that way if they don’t like the changes they could just paste the old post back in.
Forum: Fixing WordPress
In reply to: Sidebar only works in FirefoxI don’t have a PC so I can’t test for you, but typically you’ll find the problem is a case of a column being too wide, probably your main column has an image in it or something that’s pushing it over a few pixels, which is knocking your sidebar down to the very bottom of your page or something.
Sorry if that’s not a lot of help, but digging through the CSS is probably the best way to go…
Of course, validating would be helpful, and it really only takes a second. For example, within 13 seconds I went to validator.w3.org and discovered that your site has 66 errors, some of which involved incorrectly nested divs or other elements, which most certainly can have this affect.
I’m not writing that to be a wise ass, but really, without valid CSS/XHTML, there’s no easier way to fix something like this.
good luck!
Forum: Developing with WordPress
In reply to: Including wordpress cms page into themeIt sounds to me like you want to be able to control a piece of your sidebar content via a Page in WP’s admin, right?
If so, I typically do the following:
- Download and install the Improved Include Plugin
- Get the ID of the WP Page that you’d like to include in your sidebar.
- Go into your sidebar.php template file (or wherever you’re keeping the code for your sidebar) and insert the following:
<?php iinclude_page(#); ?>
where # = the Page ID
That should do it for you.
Forum: Fixing WordPress
In reply to: Edit Page Redirects to Plugin EditorHmm. Unless there are some serious bugs in 2.2.1, and judging from your other post, I’d say you have something very wrong with your installation…
Forum: Fixing WordPress
In reply to: Visual Editor way too wideHave you edited any of the code in your /wp-includes folder?
The controls for the visual editor are in a folder called tiny-mce, so if you accidentally changed something in there, that could be the result.
A good idea might be to simply update to the latest version of WP (if you’re not already using it.)
That way, the files would all be replaced and you should be sorted out.
Forum: Fixing WordPress
In reply to: Pay for HelpYou can get paid support for WordPress by emailing the wp-pro list, which can be found here.
Forum: Plugins
In reply to: Search pages plugins not workingI was also experiencing problems with the Search Pages plugin in 2.1.x – so I went and downloaded Dan Cameron’s Search Everything plugin and that works (though you need to save the options in the Admin > Options > Search Everything screen twice.)
You can find it here.
Hello,
I’m having a similar situation – I have pretty permalinks but occassionally need to use the page_id=4 links to ensure that any date changes don’t affect the URL.
Does anyone know of a work around for this or any other solution?
Forum: Fixing WordPress
In reply to: errors importing from BloggerI’ve contacted my host and they’re saying that they’ve turned CURL on…but I’m still getting the error.
Anyone know how I can verify if safe_mode is on or the open_basedir thing?
Forum: Plugins
In reply to: Hack for putting last entry on a static pageWould anyone know how to use the info found at http://codex.ww.wp.xz.cn/Creating_a_Static_Front_Page but adding the ability to exclude certain categories (particularly, whatever category the MiniPosts plugin/widget uses)?
Forum: Plugins
In reply to: advanced search functionality?Regarding the contutto.com Advanced Search plugin (http://www.zirona.com/software/wordpress-advanced-search/) – it definitely seems to be what I need, but I was wondering if anyone’s had any troubles getting it to display categories?
Forum: Fixing WordPress
In reply to: Controlling number of links in my RSS FeedThanks. Sorry for the n3wbness.
Forum: Plugins
In reply to: Related Posts PluginLooks like it was working after all…
Maybe it just had a case of the Mondays and was taking its time getting up and at ’em.