Questions tagged [posts]

Posts are the core of WordPress. They store content, are categorized, and are expansible with meta. Posts are grouped by post type, and within their post type by taxonomy (though a taxonomy can span more than one post type).

Filter by
Sorted by
Tagged with
1 vote
2 answers
3k views

Adding Plugin-specific Fields with wp_insert_post()?

(Moderator's note: The original title was "wp_insert_post() and plugins") I use wp_insert_post() like this: $my_post = array( 'post_title' => 'title', 'post_content' => $post, 'post_status'...
user avatar
1 vote
1 answer
1k views

Retrieving and Storing Images Linked from Other Domains on Local Server?

(Moderator's note: The original title was "Copy and Paste picture in post without linking to original") When I copy and paste a picture from another editor window it appears nicely but it links to ...
  • 2,574
1 vote
2 answers
360 views

What is the Better way to manage posts in Wordpress?

I am looking for a plugin or a "tool" that would mod the administration interface and would allow me to mass edit the posts. Currently the posts are paginated by 20 post per page, if i have to turn ...
3 votes
2 answers
2k views

Auto-post to multiple sites like Posterous? [closed]

I'd like to be able to autopost from my wordpress site (private wordpress.org, not on wordpress.com) to multiple sites with one plugin/hack from within wordpress. I'd like my posts to be able to be ...
  • 39
2 votes
1 answer
1k views

How to insert current date/time in the content of a post?

I'm making a list of suggestion here. I need to insert current date/time for each of my suggestions - they are added accumulatively. If you have any idea on doing that, please share.
  • 359
1 vote
2 answers
858 views

How to support custom templates on a custom post type?

I'm stucked at some point developing my theme. I created a custom posts types to support an image gallery. So far, it's working great (have a look on 'galeria' on psaikali.com). I registered this ...
user avatar
4 votes
1 answer
857 views

blog posts sorting doesnt work while using get_query_var

I'm trying to show the latest posts using the get_query_var function. The function filters the posts according to their category. When I'm displaying the posts on the page they appear unsorted ...
  • 325
1 vote
2 answers
2k views

Custom Taxonomies Incorrectly Counting Revisions?

(Moderator's note: The original title was "The count of my custom taxonomy is incorrect; it's counting revisions") Has anybody run into this before? I've added two custom taxonomies, and the count ...
2 votes
2 answers
3k views

wp_insert_post let users post to without login...broke

this question has been answered on stackoverflow. here is a link https://stackoverflow.com/questions/4321914/wp-insert-post-with-a-form/4321975#4321975 i'm trying to let users post to my site by ...
  • 171
6 votes
3 answers
12k views

get_children() Not Working with orderby Parameter

I am trying to use the orderby parameter in the get_children function as below: $navigation = get_children(array( 'post_parent' => $parent->ID, 'orderby' => 'menu_order' )); But it is ...
14 votes
2 answers
33k views

Adding Page Attributes Metabox and Page Templates to the Posts Edit Page?

(Moderators note: Title was originally "How can I add the "Page Attributes" and/or "Page Attributes > Template" selector to POSTS editor") WP currently only allows the assignment of a "template" to ...
  • 5,636
4 votes
1 answer
2k views

Getting the Next and Previous Posts Titles in the Sidebar?

Let's assume that I have the following posts with the following titles: PostA (is assigned to the 'category 1') PostX (category 2) PostB (category 1) PostC (category 1) PostD (category 1) PostY (...
2 votes
2 answers
3k views

Changing publish date does not update post order

I have a ton of posts which display in descending order by date on my home page. I wanted to re-order them so I edited the publish date on some of them. However, my order of posts on the home page ...
1 vote
3 answers
2k views

featured posts order

I'm trying to build a featured posts with a "tabbed" interface in my homepage. I'm using the "sticky" option of the posts in order to get them out of the main loop and in the "featured tabs". No ...
  • 45
0 votes
1 answer
264 views

Is there a way to define the $post var outside the loop?

I am trying to speed up a wordpress site by condensing three wp_queries into one. I have a need to seperate categories, so I am making the call and defining 3 arrays to hold the post using a switch, ...
  • 4,150
5 votes
5 answers
4k views

Encryption of Wordpress Posts

I've been looking into making a completely private Wordpress blog and have found useful blogs/tutorials along the way that have helped such as David Hewsons pretty detailed walkthrough. I currently ...
  • 221
0 votes
1 answer
186 views

Specific colours for wordpress author ids

before I ask this question I would just like to say a big thank to those who helped with my other question. On some wordpress blogs I've seen, with multiple post authors. When you view the full post ...
user avatar
2 votes
2 answers
263 views

Allowing a user to write a post from another website?

The idea here is to have a site (any site) which somehow has the user's WordPress user-name and login (maybe as part of a sister site) to allow him to write a post on his own blog. The idea I have now ...
  • 1,004
1 vote
1 answer
119 views

Any built-in function to associate a post to category through a plugin?

I have a post ID and I'm just trying to find a function ( I was thinking of something similar to wp_update_post() ) where I can just pass a post ID and maybe a category ID or slug and have it ...
  • 143
1 vote
1 answer
257 views

Post-by-mail similar to WordPress.com or Posterous?

A standard WordPress installation has very basic support for posting via e-mail. Is there a plugin that gives the same functionality as WordPress.com (especially attachment handling)? My client is in ...
  • 30.3k
10 votes
1 answer
3k views

How do you add Read more ... link to posts?

How do you add Read more ...link to a particular post or to all posts in a blog ?
  • 539
2 votes
1 answer
230 views

Changing my permalink structure - will new layout conflict with existing page?

My site has a blog page at /blog/, with links to blog posts. A post will have a URL starting at the root of the site, which is a bit jarring. I'd like to have the posts URLs appear as if they are ...
  • 1,029
0 votes
2 answers
470 views

Method/Plugin/Hack to Start a Post with an Writing Outline?

I'm looking for a method/plugin/hack to auto-insert an outline when I start a new post in Wordpress. I've searched online for ideas as well as the WP Plugin repo with no luck. Essentially, many of ...
  • 103
0 votes
2 answers
4k views

how to display an excerpt of the latest post on the homepage?

I've got a CMS-style wordpress setup where the homepage is not the main blog posts page. However, I would like to display the first paragraph of the latest blog post on the homepage, with a link to ...
  • 1,033
8 votes
3 answers
229 views

Is there a way I can write a series in WordPress?

What I mean by series is like writing a book. A reader should be able to click on the book and then proceed to read the chapters. I can probably mimic it by creating a page and then linking it to a ...
  • 366
1 vote
1 answer
471 views

Format the Layout of Images In The Edit Post Textarea?

The textarea in which posts are written and edited doesn't handle image layout very well. Inserted images seem to be aligned with the left edge of the textarea, or the right edge of the previous ...
  • 1,229
2 votes
1 answer
229 views

Stopping People Viewing Draft Posts

At any one time I have a number of blog articles that are in draft. Generally, if I encounter something useful, I'll note it in a draft blog entry, to revisit, research and write up at a later date. ...
3 votes
3 answers
20k views

Create an "All Posts" or "Archives" Page with WordPress 3.0?

I'd like to create an "All Posts" page on the Ocean Bytes blog that contains an unordered list of all Titles of the posts to date, with each title hyperlinking to its blog post. There appear to be ...
  • 277
0 votes
2 answers
1k views

Showing Unpublished Posts to Logged-out Users?

We're working on a plugin where any logged-in user has the ability to submit a new "pitch", or standard post type with custom status of "pitch". Once the pitch is in the system, other logged-in users ...
2 votes
3 answers
97 views

How can I include a post in a theme?

Sometimes it might be necessary to include frequently-changing content in a theme, but themes take some time to modify, it may also be necessary to let a non-technical user maintain some content that ...
  • 145
1 vote
4 answers
4k views

Cannot add / edit categories to a post anymore

I had to modify a published post and for some unknown reason, it removed the categories the post was in. I tried reassigning them, but it does not work: WordPress does not save the categories, so the ...
  • 2,787
1 vote
7 answers
3k views

Post update RSS notification plugin

Whenever I update an older blog post with new information then it is visible to all readers that visit the site itself. Readers of the RSS feed don't get the update and miss the new information. I am ...
  • 111
2 votes
4 answers
355 views

Posting via email, where do I start troubleshooting?

I host a site for a person that does everything via blackberry and wants to email posts to the site. She has sent one post to the designated mailbox, but 24 hours later the post is still not showing. ...
  • 188
22 votes
4 answers
12k views

Show a different number of posts per page depending on context (e.g., homepage, search, archive)

In the Reading Settings, there is place to set the number of posts shown that affects the number of posts shown in all contexts. I'd like to show instead a certain number of posts on the homepage, and ...
  • 1,039

1
115 116 117 118
119