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)

1
vote
2answers
216 views

How can I link a CSS file only on single posts?

If I understand is_single() correctly, it's only supposed to return true when the current "post" (in a generic sense) is a literal post (i.e., it has a post_type of post), and that it will return ...
0
votes
1answer
98 views

How can i add thumbnails images to particular post (using code not admin pannel) in wordpress

I am trying to set thumbnails for my post. I have post_id = 285 and I want to add manually a thumbnail (using code) but I'm not succeeding. update_post_meta( $post->ID, '_thumbnail_id', $...
0
votes
1answer
66 views

Get most recent posts by category that aren't first overall [duplicate]

Possible Duplicate: Duplicate posts I'm trying to create a home page, in which there is a top posts section that displays the three most recent posts (for all categories), and category ...
-2
votes
2answers
364 views

wordpress pinboard theme [closed]

I would like to add content(just plain text) to the first page of my site and also have the posts displayed on it aswell. I am using pinboard theme. Does anyone know a good way of achieving this ...
-1
votes
1answer
244 views

Numbers of new post since the last visit of user

I need to count the number of new post since the last visit of the user on my blog, is it possible? Thanks to all for your help!
0
votes
2answers
195 views

Delete all Tag Links from Posts

We're working on this site: http://granthammond.staging.wpengine.com/ which will no longer be using tags, i need a way to strip / remove all the tag links in the post content, for example: any ...
7
votes
1answer
561 views

Custom Post Types, slug, archive and SEO plugins

I made a custom post type called "friends". I am able to correctly list my friends using this urls: http://mysite/friends/friend1/ http://mysite/friends/friend2/ http://mysite/friends/friend3/ ...
0
votes
2answers
3k views

loop not displaying posts on custom template page

I have a site using a static homepage, and a posts page called Press(press.php). The template is being pulled up correctly, however no posts are shown. Any ideas why? Thanks in advance. Live site. ...
1
vote
0answers
70 views

Display posts with comments closed, with pagination?

i'm using a custom query, which needs to display all posts with closed comments. I have this <?php $the_query = new WP_Query('showposts=-1'); ?> <?php while ($the_query -> have_posts()) :...
5
votes
1answer
661 views

User-Specific Timezones? Hack? Plugin?

Is there any way, whether it be a hack, a plugin, etc., to give users their own timezone? I am using a purchased SMS plugin. Users (my clients) login and are able to send out text messages when they ...
2
votes
3answers
1k views

Exclude ALL posts from sub categories

Need help with a wordpress-task I want ALL the posts from sub categories to be excluded. Example: Cake Pie Apple Pear Banana If i post a post in Banana, i don't want it to show up in Pie or ...
0
votes
2answers
300 views

posts not showing on index.php

Live site. I've got a custom theme, wherein the homepage(front-page.php) is static and the "posts" page is Press(index.php). Everything with the theme works great, with the exception of the posts not ...
1
vote
0answers
177 views

Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX

I need to be able to do the following: List all terms in a custom taxonomy (categories for custom post type) When a user clicks on a category, a listing of all posts in that category appears When a ...
0
votes
0answers
13 views

Whats the point of returning a value in AUTO_SAVE [duplicate]

Possible Duplicate: Return $post_id when DOING_AUTOSAVE? if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { return $post_id; } I always see this in custom made themes, but is it ...
1
vote
1answer
573 views

How to show user's own post in a specific page

I created one page for posts and changed the default post page to that page in Settings > Reading. When registering for the site the default new user role is subscriber. The problem is after the ...
1
vote
0answers
102 views

Copy post to separate database with “add_action(…)”

I'm basically trying to have a copy of a post be sent to another database's table when it's published. I've gotten it to add a new row in the new table, with my own static arguments, but I'm not sure ...
-1
votes
1answer
221 views

How to implement default comment section in theme template?

My home.php is associated with my blog page, as opposed to rest of site which is just a cms. I want my blog page to render the comments ability, an archive of older posts, tags, blogroll, etc. Right ...
5
votes
1answer
1k views

How to merge two or more WordPress posts?

I need to be able to merge two or more posts. What is the exact query (or queries) to make this happen? The scenario is multiple recommendations that need to be merged into one. I have already sorted ...
0
votes
1answer
639 views

Adding external field to my post form (admin side) and to post show (frontend side)

I would like to add a "Source" field to my posts form so I can show from where I get the published info. Didn't know if this exists already because I'm just starting with WP. So I do some research and ...
-2
votes
1answer
75 views

Looking for membership style plugin with edit option [closed]

I have had a search but not found what I'm looking for so far. I am looking for a plugin which will provide a functionality on a site for the following: Use wants to sign up to my site, goes ...
0
votes
2answers
957 views

How to get single post by one author?

I just want to get the most latest posts by an author. I am using get_posts at the moment but I notice it doesn't take an author argument, so how I can I specify my author? $args = array( '...
4
votes
1answer
192 views

Automatically Creating Posts for Popular Forum Topics or Products [closed]

I am integrating a Wordpress template with Buddypress (with bbPress included). I would like to automatically create a post for popular forum topics so that it will show in my main page. I am hoping ...
0
votes
2answers
3k views

adding a custom css class to post

essentially I need to be able to add a class to a post when it show in the list (say index.php) so when in the back end you can say oneCol, twoCol, threeCol and it will then output this within the ...
0
votes
1answer
238 views

Adjust the order for returned posts

I have written a neat responsive slider for my Wordpress featured articles (feel free to use it): <?php $responsive = 'on' != get_option('henrik_responsive_layout') ? false : true; $...
0
votes
1answer
428 views

Export all posts to import as product items

Up until now, my client has been using WordPress posts as his way to display his products. I now need to export all these posts into a CSV format so that I can format the CSV file and import it back ...
-1
votes
1answer
27 views

Wordpress post enumeration

I am using wordpress as a quick fix for a blog for my site. I am using a short loop in an external page (i got the links to use the wordpress set-up correctly): query_posts('p='.$thisPost); //$...
0
votes
1answer
197 views

Where are my posts linked to? I keep getting a Not Found Error, and I have no single.php page

Recently I had someone customize a WP blog for me. This person didn't do a very will job so I decided to do it myself. I customized my own blog page and it all works, except for when I click on the ...
1
vote
2answers
4k views

Adding Multiple Values to a Post Meta Key

I have a question about adding multiple post meta values to a post meta key. Here is a link to the WordPress add_post_meta(); function in question. The $unique parameter is a little on the fuzzy ...
-1
votes
1answer
44 views

Shortcode returning specific content of a post

I'm currently building a plugin to display specific part of post after accepting verification code. Can a shortcode return a part of a post? I mean: Bla bla bla [shortcode postID="100"] Special bla ...
3
votes
0answers
343 views

Post in Multiple Categories to stay in current category (permalink, next previous post link)

I guess this has been mentioned before, but after 2 days of browsing i haven't find a complete solution. Maybe someone has come across this problem before? I'm building a designer portfolio where ...
-1
votes
2answers
265 views

Pass data between pages

How would you solve this? On a post page (single.php) I need to echo out name of taxonomy that lead to it. So if I browse a list of posts from certain taxonomy and click on a post, I need on that ...
1
vote
1answer
87 views

Most liked page not displaying posts

I was looking for a post rating system for a while, then I stumbled across a great tutorial: http://wp.tutsplus.com/tutorials/how-to-create-a-simple-post-rating-system-with-wordpress-and-jquery/ I ...
4
votes
4answers
6k views

Modify 'Read more' link adding a new class

I want to add a class to the 'Read more' link. Actually I have this: <?php the_content( 'Read more...' ); ?> Which outputs: <a href="...?p=14#more-14" class="more-link">Read more…</...
0
votes
1answer
101 views

fetching posts and showing on frontpage

I am having two sites viz. www.a.com and www.a.com/b . Now, these are two seperate wp installations, in the same /root where 'b' is kind of an extended vertical site of 'a'. I want to achieve the ...
2
votes
1answer
156 views

Sql syntax error

Sometimes in my error log i have this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ...
1
vote
2answers
4k views

Show featured image next to post-teasers in Genesis Framework?

I want my posts to have a featured-image thumbnail beside it, how do I do this?
2
votes
1answer
5k views

Load posts dynamically

I am looking for a solution/guidance on how I might have links of posts listed in a hierarchical manner in a left column of a template and when a link is chosen it loads a post in the right column but ...
0
votes
1answer
427 views

Archived Posts in Wrong Category

I am working on a site and am having an issue with one of the categories. There is plenty of content on the site and there are seven different categories. All of the categories display the correct ...
0
votes
1answer
2k views

How do I insert a custom field in a user submitted post?

Please help! I have a form for users to submit posts, and I want them to be able to choose photos already in the media gallery based on category selected. I want to include radio buttons to choose ...
1
vote
1answer
2k views

Show a list of recently viewed posts to a user

I have a lot of video posts on my site and I'm looking to show the user a list of posts they've recently viewed. I'm guessing the best route is to just add the post id to an array in their usermeta ...
-1
votes
2answers
856 views

How to add a widget area between blog posts in Genesis Framework?

What's the code for adding a widget area between my blog posts? Specifically I want to put one widget area inbetween after the first 3 posts of my blog?
0
votes
4answers
134 views

Custom setup of wordpress comments that are displayed

I have setup in admin to have 5 comments per post display, which is what I want, and newest at the top. But the problem is when a 6th comment is made it is the only one displayed and you can read ...
2
votes
1answer
1k views

How to Sort Custom columns in admin

I have set a custom column for date in admin, but the sorting is not working, when I click to sort the dates are jumbled up and not sorted correctly. This is the sorting function Im using function ...
-1
votes
2answers
40 views

How do I link to the posts page?

How can I link to the posts page that has been set in Settings > Reading? This is for a premium theme so it can't just be the page's permalink.
1
vote
2answers
486 views

display random posts on index.php instead of latest

I have the settings so only one post (which is by default the most recent) displays with index.php my current working code <?php if (have_posts()) : while (have_posts()) : the_post(); ?> How ...
0
votes
3answers
235 views

Fast publishing in wordpress

Wodpress editor is too slow. How to create other faster interface or how to fast publish posts. I just need fileds for author, category and subtitle. Is there any way instead of default wordpress ...
1
vote
1answer
45 views

how to add text to posts from tags

How can I add custom generated text to posts using text from tags? Something like: [Post Title] + custom text + tags + custom text .... Or is there a plugin which does this ?
0
votes
2answers
4k views

$post->ID not working

I have the following code and while get_the_ID() works, $post->ID does not, why? $the_query = new WP_Query( array( 'post_type' => 'custompost', ) ); while ( $the_query->...
0
votes
1answer
36 views

Choose options via url

I wonder if it's possible to preselect options when creating new post via url. My goal is to bookmark links when i want to create post with specific options such as category and not to have to select ...
1
vote
2answers
244 views

wp_tag_cloud() and the_taxonomies() work but not the_tag()

wp_tag_cloud() and the_taxonomies() work in a widget I built but I can not get the_tags() to work. I want to display the tags assigned to the current post. I built a widget to do this. the widget ...