amory
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Keeping One Post FirstSorry, i linked to the wrong page in the codex. It is the correct one now. To implement it, you can use either of the samples above, changing the value to whichever post you are requesting, and then adding in the loop as usual.
<?php query_posts('p=1');???>
<?php if (have_posts()) :???>
<?php while (have_posts()) : the_post();???>
//DO STUFF HERE
<?php endwhile;???>
<?php endif;???>
<?php if (have_posts()) :???>
<?php while (have_posts()) : the_post();???>
//Normal loop
<?php endwhile;???>
<?php endif;???>
Please note this is untested as I am out the door, but this should work correctly.
Forum: Everything else WordPress
In reply to: Keeping One Post FirstYou could also just do a custom loop with a query_posts, requesting the id or name of the post.
<?php query_posts(p=1); ?>
<?php query_posts(name=first-post); ?>
Forum: Fixing WordPress
In reply to: Add Custom Fields To “Write” PageForum: Fixing WordPress
In reply to: custom (simplified) post formCheck out the plugin structured blogging to find out how to add subpages to the write section via a plugin. The newly released Custom Field GUI will let you add multiple inputs/checkboxs… which are stored under post_meta i believe.
Forum: Themes and Templates
In reply to: Mac text editor for editing WP filesForum: Plugins
In reply to: New Plugin – Draft Controli am in new york until wednesday, but would like to help test the plugin. i’ll send you an email when i get back.
Forum: Plugins
In reply to: NEW PLUGIN – Custom Field GUIawesome plugin…i was going to make my custom fields hack into a plugin when i got back from NY, but this plugin far surpasses what i was going to do.
Forum: Fixing WordPress
In reply to: Have a 3 part title? (do i use custom fields?)If it works for you than by all means use it. It is a great plugin. What I was saying though was that rather than store the “location” field like a custom field into
postmeta
, it gets appended into the post_content box, along with the other fields and the actual contest. Meaning that you cannot easily output the location. As far as I can see, it can only be displayed by callingthe_content
. If so, then you cannot search for all posts with location equal to xyz.Forum: Fixing WordPress
In reply to: Have a 3 part title? (do i use custom fields?)It would be easy to rename some things. The one downside of that plugin, is that it appends the extra fields into the
post_content
row, as opposed to adding the separate fields into
postmeta
.Forum: Fixing WordPress
In reply to: Custom fields: Using ‘key’ with empty ‘value’ ???let me see what i can come up with
Forum: Themes and Templates
In reply to: Remove “excerpt” box from admin / write areaIf you remove the entire “postexcerpt” (is within a fieldset in edit-form-advanced.php around line 87), then you will have to do it everytime you upgrade. An alternative method, would be adding a line in your stylesheet such that #postexcerpt contains a
display:none;
attribute within your wp-admin.css file.Forum: Fixing WordPress
In reply to: Have a 3 part title? (do i use custom fields?)What an awesome plugin Joni!
Forum: Fixing WordPress
In reply to: Custom fields: Using ‘key’ with empty ‘value’ ???check out post_keywords, written by Ryan Boren, modified slightly for 1.5 by myself. it will add an extra input field for a “keyword” field. It is in essence apart of the custom field setup, as its value gets saved in the postmeta table (dont remember the exact name). It probably can be easily modified to add multiple inputs or change the fields name from keyword to “type” or “kind” …
Forum: Fixing WordPress
In reply to: Have a 3 part title? (do i use custom fields?)“just add the lower-level titles at the top of the post” – meaning in the excerpt or post text fields. If you want to enter the date and location separetly, you could always use Ryan Boren’s plugin, post_keywords, which I modified slightly for the latest version of WP. Currently it only adds a “keywords” field, but it could be modified to add both fields.
Forum: Installing WordPress
In reply to: No Write tabBy tab, do you mean underneath the main menu or apart of the main menu? Do you have tabs for options/presentations/plugins/ etc… ?