christhesoul
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom Taxonomies admin box broken after WP3 upgrade.Thanks for the advice.
Doesn’t seem to have resolved to the issue, though.
Forum: Fixing WordPress
In reply to: Custom Taxonomies admin box broken after WP3 upgrade.I too have this issue.
The error seems to be on Line 2 of admin-ajax.php
It says: XML or text declaration not at start of entity
Anybody got a fix?
Forum: Hacks
In reply to: Custom Post Types, the single-.php problemI’ve been reading more about custom post types over the last few days.
I’ve read elsewhere that simply visiting the permalinks page can fix this problem. So perhaps that’s what I did.
Forum: Hacks
In reply to: Custom Post Types, the single-.php problemHi Mark
Thanks for your reply.
Yes, that’s exactly what should’ve happened. I revisited the permalinks the page was creating within the post area, and they seemed correct. So I tried to ‘preview’ the page, and sure enough it worked.
I then went back to my original page and tried the clickthrough to the page that should call this template. And this time it worked.
I have no idea what’s happened here. All I know is that it certainly didn’t work, and now it does. Which is perhaps just as frustrating, as I can’t imagine that previewing a page would have any affect whatsoever.
Oh well, all’s well that works properly.
Thanks again
ChrisForum: Hacks
In reply to: Custom Post Types, the single-.php problemHere’s my code, if that helps.
//Register projects add_action('init', 'project_register'); function project_register() { $args = array( 'label' => __('Projects'), 'singular_label' => __('Project'), 'public' => true, 'show_ui' => true, 'publicly_queryable' => true, 'query_var' => true, 'capability_type' => 'post', 'hierarchical' => false, 'rewrite' => true, 'supports' => array('title', 'editor','excerpt') ); register_post_type('project', $args ); }
Forum: Hacks
In reply to: Custom Post Types, the single-.php problemHi Mark
Thanks for replying – I’m actually trying to create a single page.
I’ve created a page with all the projects, no problem at all. When I click through, though, I just get a ‘page not found’ error, despite having single-project.php in my themes folder.
Forum: Themes and Templates
In reply to: How do I get info about the latest posts page?Yeah, that’s what I’ve resorted to at the moment. It’s just not very dynamic having to hard-code echo ‘Thoughts’.
Oh well, not to worry. Thanks for trying.
Forum: Themes and Templates
In reply to: How do I get info about the latest posts page?header.php – since I want my title tag and h1 tag to read “Thoughts”, as opposed to the title of the first post retrieved from the loop.
Forum: Themes and Templates
In reply to: Position absolute and IEI’m not sure what you’re trying to do, but if it’s to place the log in link at the right had side of the menu, I suggest you place your #login-form inside the #access div.
The #access div has a position of relative; so it’ll be much easier to position your #login-form
I suggest trying
#login-form { position:absolute;top:10px;right:20px; }
and going from there.
Forum: Themes and Templates
In reply to: Position absolute and IECould be lots of things.
Have you reset padding and margins anywhere on your stylesheet?
Forum: Plugins
In reply to: Future posts with wp_get_archives?Wicked. Sussed it.
On line 800 of general-template.php you can change the post_status to ‘future’.
Good times.
Forum: Fixing WordPress
In reply to: Including jquery UI with wp_enqueue_scriptAh, it makes sense now.
If anybody stumbles across this, here’s how I understand this thing works:
If you’re importing JS libraries (such as jQuery or Mootools) then it stands to reason that you’ll write a custom .js file.
wp_enqueue_script asks you for a name of that file, the path to it, and the libraries on which your script depends.
Multiple libraries are popped into an array.
So I’ve ended up with something like this:
wp_enqueue_script('foo',get_bloginfo('template_directory') . '/js/foo.js',array('jquery','jquery-ui-core','jquery-ui-draggable','jquery-ui-droppable'));
I hope this helps somebody else.
And thanks to racer x.
Forum: Fixing WordPress
In reply to: All my posts are being published as excerptsHi James
Have you checked the ‘reading’ settings on the dashboard?
You can choose ‘full text’ or ‘summary’.
Failing that, I guess it’s something in the theme. Are you using a custom theme, or a default one?
Cheers
ChrisForum: Fixing WordPress
In reply to: post_meta in WP_QueryReally appreciate your help, guys.
Creating an array and adding the ‘post_type’ => ‘page’ seems to make it work. Does it default to only posts?
Anyway. It’s working. Much appreciated.