Equal
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Automatic Upgrade Not workingI didn’t!! I asked my web host and they sorted it for me. Perhaps you could do the same?
Forum: Fixing WordPress
In reply to: I’M IN DEEP SH*T!!! PLEASE HELP!!!Why not create a new blog on your local machine and then copy the fields that it enters into the database for that install, in terms of Users into the old one. Then change the password for it as outline on the link above.
If you haven’t many posts though I would suggest a re-install.
Forum: Fixing WordPress
In reply to: Subscribe boxIf you want to change the actual text in there then it looks like it will be in your themes sidebar.php file. If not it could be a widget, so check in the dashboard under Appearance and Widgets.
Forum: Fixing WordPress
In reply to: Link title to PDF or external URLDo you mean that you want to add a post, and when that post is clicked on you want it to download a PDF rather than actually linking to the post?
Forum: Fixing WordPress
In reply to: archiveIf you mean that all post are displayed on a page then that should be what is displayed on the home page of your blog. It will be paginated if you are using the default theme but all your posts should be there.
Forum: Fixing WordPress
In reply to: I’M IN DEEP SH*T!!! PLEASE HELP!!!Firstly I would stop using that language if you want to get any help!
Anyway if you have deleted the admin user then that is not good. Have you any other users on your blog?
If so you could use phpmyadmin to change the password on them as per instructions here:
http://codex.ww.wp.xz.cn/Resetting_Your_Password#Through_phpMyAdminForum: Fixing WordPress
In reply to: Automatic Upgrade Not workingWe have just had this problem with one of our sites and the reason was because the files of the server (WordPress files) were not owned by the Apache web server user. Once this was fixed the auto update was able to work again.
Forum: Fixing WordPress
In reply to: One category page goes blank, but others work fine…Are there any conditional tags running in your category template file? Like if is category x? etc..
Forum: Alpha/Beta/RC
In reply to: How to Add Post Thumbnail in WP 2.9 Beta 1I can now confirm that putting the above code into the functions.php does activate the panel. Thanks wlindley!
Forum: Alpha/Beta/RC
In reply to: How to Add Post Thumbnail in WP 2.9 Beta 1Thanks for that. So what exactly do I need to add to my functions.php. Would the following work:
<?php add_theme_support('post-thumbnails'); ?>Seems strange that it doesn’t just work out of the box. I thought that was the whole point?
Forum: Alpha/Beta/RC
In reply to: How to Add Post Thumbnail in WP 2.9 Beta 1I have also checked in the screen options and it is not in there un-ticked either. Anyone any ideas?
Forum: Fixing WordPress
In reply to: Parent/Children NavigationActually I think I can do what I want if someone could help me with a simple if else statement to check whether a page has any children. Something like:
If has children > echo ‘has children’
else echo ‘no children’Thanks
Forum: Fixing WordPress
In reply to: Parent/Children NavigationThis sounds so easy yet is proving so hard 🙁
This code:
http://codex.ww.wp.xz.cn/Template_Tags/wp_list_pages#List_subpages_even_if_on_a_subpage
works but only if have only 2 levels i.e. parent and child and not parent > child > grandchild.
Anyone any solutions?
Forum: Fixing WordPress
In reply to: Parent/Children NavigationOk I have now managed to use this code to check what page I am on (parent or sub page):
<?php global $post; if ( is_page() && $post->post_parent ) { ?> <!-- is a sub page --> <p>I am a sub page</p> <?php } else { ?> <!-- not a subpage --> <p>I am a parent Page</p> <?php } ?>The only problem is, is that if a page is both a parent to some child pages and a sub page of a parent it only returns that it is a sub page. How could I modify this?
I think I need something where it says “I am a sub page” that check to see if there are any children. How can I check to see if the page has children?
Forum: Fixing WordPress
In reply to: Parent/Children NavigationHaving read that back you may struggle to understand so here it is a different way. Below if what I want to do in English! Just need this translating into PHP / WordPress functions etc.
If current page is a top level page
Does current page have child pages?
Yes
Display children
No
Do nothing
else
Does current page have child pages?
Yes
Display children
No
Display parent page and other pages at the same level as parents
End ifHope that helps
Thanks