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)

5
votes
1answer
682 views

Add a new post status in the post progression

I run a site with about 30 authors and 3 editors. Authors submit posts for review, and editors schedule or publish them. It would be useful to have another post status of "Editing" between Pending ...
2
votes
1answer
268 views

How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?

I have a custom hierarchical taxonomy containing only two levels of items. First Level the title, second level items of the taxonomy. Is it possible to add a "meta box" to the posts editor of ...
0
votes
1answer
56 views

Use Post as Front Page

Is there a way to use a post as the front page? I'd like to be able to call the latest post from a given custom post type, in a certain custom taxonomy and with a specific term and use this as the ...
0
votes
2answers
588 views

Wordpress Excerpt Paragraph Limiting

I was wondering if it was possible to get the first two paragraphs and the feature image in the excerpt. I currently have the first 100 words, but would like the the first two paragraphs. What I ...
0
votes
4answers
2k views

Drag posts and pages so you can sort them in order

So has anyone done this? can be done? On wordpress admin, when you click List Pages, or List posts, I want to make a drag&drop in order to sort the pages/posts, but before I start I want to know ...
0
votes
1answer
276 views

Can a page_id and a post_id be same?

Wordpress generates ID's for each page/post. Do pages in wordpress share the same ID column in the database as the posts? I mean, if a site has both posts and pages, can one or more page_ID's be same ...
0
votes
2answers
2k views

Loop not allowing infinite scroll after post per page limit

Im using masonry with infinite scroll to display posts in a loop. I set the post per page which works great on the index page but when I place that same loop on a single page or a buddypress profile ...
4
votes
1answer
2k views

Post publish only hook?

Is there any hook which is fired only when the post is "published" for the first time. I dont want to execute my code when the post is "updated" or when its status is set to "not-published" and then ...
0
votes
1answer
330 views

Order posts by date

I'm a girl and excuse my English. Maybe its easy and I'm dumb to know it. But here is the problem I want to output on the homepage the posts from the lastest 3 days. Like this: 30/03/12 post 1 ...
1
vote
1answer
696 views

How can I write comments/hidden text in a post?

When writing a post, is it possible to write text that is only visible when editing a post (comments intended exclusively for me) and not visible when when viewing the blog?
0
votes
2answers
2k views

Getting a “404 Not Found” error when “Preview Changes” is clicked

I'm using Wordpress 3.3.1, installed on my local machine. I've gotten everything up and running, and I'm able to add posts and pages through the admin interface, but whenever I try to click the ...
1
vote
1answer
240 views

How can I make a post that belongs to a category or have specific tags, display different from the other single posts?

How can I make a single post display different from the other single posts when I add it to a specific category. example: I have a post that is in 3 categories: music, songs & video clips. I ...
1
vote
1answer
1k views

get_the_content(“more…”) returns full text

I'm creating shortcode [latest_post] and want to show post date, title and short content. (content has "more" separator). Here is code: function shortcode_latest_post() { global $post, $more; ...
-6
votes
1answer
597 views

What does this PHP function code mean? [closed]

Can someone please help me to understand each part of this code? Can you comment every line so I can understand and custom the code accordind to my purpose. Here is the link in pastebin: class ...
0
votes
1answer
2k views

How to batch update post content with custom post meta value

I have a custom meta box, using WPAlchemy, in which I am looking to get rid of. However, I would like to get all posts that have a specific custom meta value set, and insert it into the begininning of ...
1
vote
1answer
823 views

Open Wordpress 'Add New Post' admin page with parameters set via $_GET

I want to launch my web browser from an automation tool I use and open Wordpress "Add Nwe Post" page in the admin area with specific title and content (it varies everytime, I generate it dynamically ...
0
votes
1answer
678 views

Custom permalinks - post type - hierarchical taxonomy's

I did folowed the steps / solution from Jeff it helped me alot with he's settings, got it for about 90% working properly. But getting stuck on the post / postname. It loads now the ...
0
votes
1answer
129 views

display jumps to the bottom, dosnt start at the top?

help! can anyone tell me why my blog post jumps down to the video near the bottom of the post? it does in on every browser and 2 different machines and it does it when you enter the primary domain ...
3
votes
3answers
913 views

How to control which category will be picked for the slug of a post?

I'm using the permalink structure "/%category%/%postname%/". What bothers me is that I have posts that belong to two categories. And of course, unfortunately, Wordpress always picks the wrong one for ...
0
votes
1answer
626 views

Wordpress Stats Plugin: Display Post Views [closed]

i'am currently using latest version of jetpack. So the stats plugin is also included in this plugin. But now i want to display the number of views the single post get on the single.php file using the ...
2
votes
1answer
424 views

In what sequence are the hooks fired when a post is “published”?

I would be grateful if someone could point out a link. I understand this may have a very lengthy answer but I searched and couldn't find any resource. Alternatively, it would also be nice if someone ...
1
vote
2answers
212 views

Different style for most recent article

I'd like to make my most recent article display a large with a larger thumbnail and with more content, while the rest of the posts in the loop show a small thumbnail and only the title with no ...
1
vote
2answers
299 views

how to set beforsend option in wordpress ajax methods

How do I set the beforesend option in WordPress AJAX? I want to show loading option. This is my code: function showmyvideos() { var datas="data"; var data = { action: 'my_vids', ...
0
votes
1answer
157 views

marking a post that was sticky on category template

i want some how to mark the post that has been featured (was a sticky post) in the category template. in wordpress logic it should be something like - was_sticky(); anybody?
0
votes
2answers
261 views

Extract the last published post in wordpress (3.3)

How do I extract the last published post in Wordpress? I would be grateful if someone can just point out the relevant action hooks that I should check out. I have seen publish_post, edit_post, ...
0
votes
1answer
564 views

Front-end Image Upload to Custom Meta Box

I'm currently using a custom post type with a custom meta box for two image uploads. I'm trying to create a front-end post page where the user can upload their own images from their desktop. All of ...
0
votes
3answers
3k views

Display all search results

Is there a way to display all the search results on the search.php? Actually is displaying only 10 results (as set in wordpress settings > general).
4
votes
1answer
419 views

Help! Turn php link data into url OR hide edit link in post admin OR hide drafts for all users except admin?

My website allows users to upload events via an upload process incorporated into a customised front end page. As an event uploader, I also want users to have access to the dashboard where they can ...
0
votes
1answer
50 views

How to link post titles on page A to its posts on page B?

I set and reversed the order of a list of post titles on my front page with: <?php global $post; $args = array( 'category' => 6 ); $myposts = get_posts( $args ); $reverseposts = array_reverse( ...
0
votes
1answer
796 views

WP Editor, save content and category on frontend

I'm creating a plugin that shows a frontend editor that will be the content of the current post. But I don't know who to save the content from the wp_editor to the post content; I tried using on form ...
1
vote
1answer
299 views

Display all posts that were published before full post on single.php

The way I would like my blog to work is a user clicks on a post that was published on 12th March 2012 (for example) they get taken to single.php where the content of that post is displayed as normal. ...
0
votes
1answer
664 views

how to programmatically change post tags

Is there a php function which can add/remove tags of posts? If not how would I do this? I am looking for something like this: add_tag($post_id, 'tag-name'); remove_tag($post_id, 'tag-name');
0
votes
2answers
306 views

Customise the appearance of 4 specific post ID's within the loop?

I am using Isotope and I currently have each post rendering as a box on my homepage. I am currently trying to edit my (working) query that currently displays all posts with the category slug of ...
1
vote
1answer
951 views

Permalink doesn't get displayed in Twitter button (Local WordPress problem?)

I'm trying to add a custom "Tweet this" button to my WordPress posts. I'm sticking to the official Twitter guidelines. Here is what I'm actually trying to pull of; I don't want the button, I want a ...
2
votes
1answer
181 views

Using Custom Posts with Metaboxes and Drop-downs

When using Custom Posts and adding a Metabox, I was wondering how I could add a drop-down menu that would populate data that was added by the user. For example I want to be able to select a 'source' ...
-1
votes
2answers
723 views

sub posts to parent post

How to make a sub posts like this example http://www.samsung.com/us/mobile/cell-phones/SGH-I717RWAATT Overview Features Specs Gallery .... with link structure just like it! ...
0
votes
2answers
330 views

Wordpress Architecture as a CMS - Posts & Pages

How can I associate posts with pages? Trying to determine the best architecture / strategy to achieve the following... Using WordPress as a CMS 8 Pages each with sub pages Each page can also have ...
0
votes
1answer
18 views

How to determine if a post was last edited in the Visual Editor

Is there any way to determine whether a post was last edited using the Visual or HTML editor? Perhaps by hooking into an action?
0
votes
2answers
856 views

How to get future ID for post which haven't been created yet?

Calling Post ID: Lets go first with calling post id definition :) This name i actually find inside a core file wp-admin/includes/media.php which means for the post you requested the media upload. ...
0
votes
1answer
59 views

Multiple post back-to-back display only one gallery

I have 3 post, post1=text, post2=text and gallery1, post3, text and galery2 I like to list ALL the post from one category, and the result is all the data get out, but the gallery associated with the ...
1
vote
1answer
641 views

How to load a post into an empty div tag anywhere across the pages?

Absolute beginner question: I need to load text into specific div tags across the page. On my html mockup its a lorem ispum text box waiting for wordpress to load the real content. So, how do i ...
0
votes
1answer
271 views

Getting post and attached image from subdomain

I Recently installed wordpress as subdomain on my main website. Now i have two installations: www.example.com and www.example.com/store/. Now i want my Main domain to show recent posts from subdomain ...
1
vote
2answers
697 views

How can I get a list of latest posts outside of my WP install?

I have a site with WP installed at /blog, and I'd like to just get a list of the latest blog posts to display on the site home page... that is to say, my custom (PHP) home page, NOT a Wordpress page. ...
0
votes
2answers
704 views

Specific Post Format Image Thumbnail

I have a post thumbnail set for standard posts (when an image is featured) but for image format posts I'd like to have a separate, dynamically resizing (i.e. image resizing in the functions php via ...
0
votes
1answer
2k views

Disable single post page

Is there a way to disable single post page, for example when some tries to go to single post page to show 404 page.
0
votes
1answer
271 views

Display password protected posts to logged in users

In a WPMU & BuddyPress installation, I want to directly show the password protected posts to logged in users without asking them for posts passwords... and still be accessible to guests ...
4
votes
5answers
439 views

Delete Post With No Traffic?

My site has over 8k posts, some of which are outdated. To keep site maintainable and tidy, I want to delete all post with no traffic. Can this be done? Is there any plugin for this purpose? Or any ...
12
votes
5answers
916 views

How to mark every 3rd post

I'm working on a WordPress site for my band and I'd like to mark every 3rd post on our blog page to have a special class applied to it, anybody have any pointers on how to achieve this? Any help is ...
1
vote
2answers
219 views

Highlight static blog page link in header

I created a navigation bar like tab system for my header and I can get all but my news button to highlight on that page. The news is a static page for all of my blog/news post. Not sure if it's my ...
1
vote
1answer
1k views

Nothing Found error when creating new posts - how to correct this?

I recently installed WordPress on IIS 7 and wired it up to SQL Server 2008R2. The installation went fine, then after a short while of testing, new new posts could no longer be seen in any category ...