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).

learn more… | top users | synonyms (2)

0
votes
2answers
536 views

any way to access variables from within post editor?

I am trying to assign a variable either from my template file or otherwise which I can then access within the post editor. Any ideas?
0
votes
3answers
1k views

How to remove bulk edit options

Is it possible to completely disable Bulk Edit functionality? I'm using Wordpress 3.1.
1
vote
2answers
603 views

How to disable drafts?

Using Wordpress 3.1 is it possible to completely disable the drafts functionality or at least remove the "Save Draft" button from the post screen?
1
vote
1answer
1k views

Delete Post From Front-End and attachment permanently

Is there a way to delete a Post From Front-End and it's attachments permanently? This is a snippet that moves the post to the trash can, but it doesn't remove attached images (they remain on the ...
0
votes
3answers
617 views

How to retrieve the postID in a “image_send_to_editor” hook function?

Here is my function: function insert_img_rel_attrib( $html, $id, $caption, $title, $align, $url ) { $postID = ??? $rel = "<a rel='shadowbox[".$postID."]'"; if ($url) {$html = ...
1
vote
3answers
4k views

move blog posts from one wordpress to another

I have a blog in the subdirectory. Last year I installed a new blog in the root basically about the same thing. I like to be able to transfer all my old posts from the blog in the sub directory to ...
1
vote
2answers
12k views

How to get only text from wordpress post content?

I have been using wordpress for my projects. For my homepage of the site I need to display limited text from the post content and the content contains images as well. To display the 100 text i have ...
2
votes
1answer
373 views

get posts and postmetas in assoc array

how do I get all posts and postmetas in an associative array? $allposts = $wpdb->get_results(" SELECT $wpdb->posts.post_title, $wpdb->postmeta.meta_key FROM $wpdb->posts JOIN ...
1
vote
2answers
8k views

Adding a div class or id inside the_content()

I'm trying to create an advertisement block to be placed on a single post (single.php) such that the div class or id is left aligned and the post content wrapped around it. I checked the single.php ...
0
votes
1answer
335 views

Anyone know why wordpress converts some html entities to their numeric equivalents?

Does anyone know why wordpress converts some html entities to their numeric equivalents? I've found that in some posts, where a non-breaking space &nbsp; entity would be appropriate, wordpress ...
1
vote
1answer
371 views

Pasting code into WordPress post - LFs being eaten

I'm sure this is an inappropriate question for this SE because it's not programming related AFAIK but maybe someone here has an idea. I've been posting code into my blog for years and have had no ...
2
votes
1answer
1k views

Publish pending article from front end with a button?

Is it possible to take the blue publish button in back end of the wordpress and place it in the frontend near the post in my index.php. I need a way to publish the pending article without going to ...
0
votes
1answer
2k views

Custom post type and taxonomy page templates

This is my first real delve into custom post types and taxonomies, i suppose it will all come to me in a flash of inspiration but right now i have confused myself beyond all realms of possibility and ...
-1
votes
2answers
162 views

Embedding BitBucket Code in Posting

I want to embed my code at BitBucket in wp post, anyone can suggest me, a good plugin or anytrick to do it?
0
votes
1answer
51 views

How do I allow users to supply a photo/image to be used instead of the grey/white silhouette?

I am sure I am missing something very straightforward, but there seems to be no way for me to upload a photo for my profile or for a user profile the will be used in place of the placeholder white on ...
5
votes
1answer
1k views

Delete the original big size image after upload and leave only 3 images crunched by media gallery

I need to know is it possible to somehow erase the original image uploaded via Gravity form : post image - post field?! With the situation now I receive 4 images. 1 original (can be whatever user has ...
1
vote
1answer
1k views

How to use WP default post list tables in a plugin?

I'm developping a plugin to manage a base of users and I'd like to show them in the same type of table used in other parts of the WP admin (post lists, user lists, etc.), I'd like to have the same ...
0
votes
2answers
617 views

Display most recent posts in category with Twenty Ten theme widget

I am fairly new to WordPress, and I would like to have a list of the most recent posts in a certain category appear in a right-hand panel (I can do this with all posts, but not specific categories) I ...
2
votes
1answer
104 views

user contributed content as custom post types

We are looking into creating a solution that allows user to contribute media files by filling out a form (without access to the admin) and have it ןד created as a custom post type. The files will be ...
2
votes
1answer
423 views

Get all posts WHERE custom_field is LIKE value

I'm trying to do a MySQL-style search with Wordpress' built-in functions for fetching posts. There's likely a simple way to do this and I'm probably just a little bit off from the solution. We have ...
1
vote
1answer
350 views

Add link on the top menu of the post table?

Is there any way to add links on the top, as pictured below?
3
votes
3answers
17k views

How to show all posts of the category in wordpress?

I have create a category by using Custom Post Type plugin, and now only the 5 most recent posts of the category are showing. What I want is to show all posts for the category. For examle, suppose I ...
2
votes
2answers
2k views

How can I edit a post from the frontend?

I have learned how to create a post from the frontend but how about editing it ? This is the code I am trying to create a simple frontend form for posting. Thank you
0
votes
1answer
101 views

Your ideas on my though “delete or move all of the posts in a specific category when 3 days are passed”

I need to clean up my database and I think that a way to do and keep it that way is by deleting all posts that have 3 days of life. One good thing is that those posts I want to delete are in a ...
0
votes
1answer
69 views

Is there a way to specify an extra class for a post or page with no title?

If I do a post or a page with no title, I'm left with an empty h1 tag at the top of the post/page. I'd like to either get rid of the h1 in these cases, or else be able to add an extra CSS class to ...
0
votes
2answers
4k views

How to get child category list post in one template?

Here is what I want to have My category Structure in WP admin Cat Parent -Cat Child 1 -Cat Child 2 -Cat Child 3 -Cat Child 1 This what I want to have in one template: It show the list of ...
1
vote
2answers
761 views

Show info to author only

I'm writing my own plugin. works like this: function myfunc (){ $a = 'hello'; // the sentence what Am looking for: if ( user is logged and is the author of current post / page ){ ...
2
votes
4answers
2k views

Allow anonymous users to post to my site for moderation

I'm in need of the ability to allow anyone (they don't have to login) to fill out a form with email and a textarea and submit it to my site. This form would be treated as a post and appear somewhere ...
0
votes
1answer
226 views

Some blog posts containing source code fail to save draft or publish

I have a blog that contains source code on some posts. I've discovered that some posts don't accept the source code and I get variously a Server 500 error or a 403 error. I can only assume there is ...
1
vote
1answer
513 views

Using custom post template

i'm trying to implement a custom post template for all posts filed under a specific category. I'm making use of WP-O-Matic plugin that puts in the RSS feeds in this category and would like to make a ...
1
vote
1answer
4k views

Rename “post” to “article” throughout the admin back end [duplicate]

Possible Duplicate: Is there a way to change 'Posts' to be 'Portfolio' is the WP backend? Is there a way to accomplish this by the functions.php file ? I tried: ...
1
vote
2answers
407 views

How to post twitter like updates on wordpress

Is there a plugin or a hack such that I can make short updates similar to twitter's on my own wordpress blog? Perhaps making use of a custom post type or something on those lines? What i'm trying to ...
0
votes
1answer
139 views

Moving the blog page

I have done the typical procedure to change the home page to a static page, and move the posts page to a /blog page. Home page is fine, but the 'blog' page shows the same as the home page, even when ...
11
votes
4answers
150 views

How do I check if I linked to a post before I delete it?

If I want to "safely" delete a post. I want to make sure that no link exists (within my blog) to "to-be-deleted" post. How do I do that?
0
votes
1answer
357 views

Creating separate feeds for custom post types

My site has a few custom post types, news, events, you-tube, etc. I'd like to create an rss feed for each post type as well as a main with all. I've experimented an bit and found how to combine them ...
1
vote
2answers
489 views

How to change post status from frontend?

I'd like to add the posts in my loop the ability to toggle them between different post statuses (e.g. publish/draft). What's the best way to do it? Thanks in advance!
0
votes
2answers
625 views

Recent posts per category loop?

I need a loop/plugin/widget to display latest posts from the category the user is browsing and at the same time if he visits the home page, it should show posts from all categories (not a specific ...
2
votes
1answer
575 views

How to hook get_terms() to only show count of posts that have custom meta

Here is what I have: A custom post type that has a custom meta value added to a post that stores the posts expiry date. When the post passes this expiry date it no longer shows on the site. This ...
0
votes
1answer
371 views

How Can I Always Display A Particular Post First Using WP_Query?

My apologies if this question has already been asked somewhere else, I searched but couldn't find anything. I am working on a tours website, there will be individual package pages that show some text, ...
0
votes
1answer
698 views

What would causes search to return incorrect results?

Recently our site began no longer returning correct search results. When searching it returns one result that's unrelated to the inquiry. I've turned off all plugins and reverted back to a day when I ...
2
votes
3answers
1k views

Adding “latest from the blog” to the homepage

I have a big problem and no clue how to solve it :) I want to add a "module" to my homepage (static homepage, not blog posts) that will display the 2 latest blog posts in a very particular way and ...
0
votes
2answers
1k views

how to grab first link in post… and of course call it

I have been trying to get the answer to this for ages now and wondered if anyone here could help. I would like to 'grab' the first link in a post and attach it to a button/image. I have tried the ...
4
votes
1answer
2k views

Linking Two Post Types

and thanks in advance for your help. I've done some searching, and this question has been answered a couple of times with reference to the "posts 2 posts" plugin, but the documentation on that is ...
0
votes
2answers
514 views

While in “the loop”, detect if a post is the most recent

While inside "the loop" in WordPress, is there an easy way to detect if a post is the most recent? A Usage Example: I want to make the first post output an H1 for the title instead of an H2. Or I want ...
1
vote
4answers
1k views

Adding footers to posts?

I'm trying to add footers to the end of my posts. I need to be able to assign different footers to different posts (not globally). I tried using WP Post Footer, but it's not working on WP 3.1.2.
1
vote
2answers
301 views

How to list users and their post amount?

I want to list all the users of my site and the amount of posts each user has. So far I have the function below, but I don't know how to pull in each user's ID to use in the count_user_posts... ...
0
votes
2answers
3k views

Bulk Image Uploader to create new post from each image [closed]

Is there any plugin which creates a new post from each image I upload/select with it? I want to create many posts with one image per post. Currently I select, upload all images. Then create new post, ...
1
vote
1answer
101 views

finding whether request is for post, and post id

I need a hook such that when visitor lands on any of the post (not page), I need to record a hit. How can I find whether the request is for post, and is there any hook to find if the loaded content ...
1
vote
2answers
440 views

Exclude newest post from category X but show rest

I would like to show all posts but only exclude the NEWEST post from the 'Featured' category, other posts from this cat should display. Any idea what I should add to the loop to achieve this? I want ...
1
vote
2answers
1k views

Filter Home Page Posts in Buddypress

I would like to remove blog posts from the home page if they belong to a certain category. How can I go about this in Buddypress (preferably without a plugin)?