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)

2
votes
0answers
62 views

post_date vs. post_modified - what's the difference?

Recently I was surprised to find out that post_date and post_modified fields contain the same values. Isn't a post_date supposed to hold the creation date for the post? And shouldn't only ...
2
votes
0answers
236 views

Change post format using custom field

I'm creating a theme using the CF Post Formats plugin. But I've run into some trouble I don't know how to solve. Here's what I want to be able to do: Create a new standard-format post Enter a url ...
2
votes
0answers
208 views

Writing a view count with w3 total cache

I am trying to develop functionality which counts how many times a post is viewed however I am also using page caching (APC possible memcache in the future) via w3 total cache. The "view count" value ...
2
votes
0answers
165 views

How to sort posts by last name (2nd word) on ONE category only?

I have an "author" category that is used as a list to browse multiple posts containing author biographies. I have Smart Category Ordering installed and right now it is sorted by title ascending. ...
2
votes
0answers
223 views

Removing the title attribute from links in the post content

When using the WYSIWYG editor to create links, and selecting an existing page or post from the selection list, those links will have a title attribute by default. Is there a simple way of turning off ...
1
vote
0answers
14 views

Upload File Metabox - Empty Files on POST

I'm creating a simple / generic upload file metabox. For some reason when I upload a file and update my post, it doesn't pull my uploaded file along with it, the $_FILES array will be completely ...
1
vote
0answers
26 views

Posts are not showing up on particular category

On my website, post are not showing up when I navigate to http://www.domain.com/category/category-name/ but on wordpress dashboard, I am able to see the actual number of post under that category. ...
1
vote
0answers
29 views

How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?

I'm implementing a bilingual blog site (English and Japanese). It contains front-end user posting and user registration. So, I used WP User Frontend. For multilingual content, I tried qTranslate and ...
1
vote
0answers
27 views

Calling Different Custom Post Timestamps in a table

I use WordPress to run an events site that people can sign down to if they have a subscription. At the bottom of each event, if you are admin you can see a guest list with Name, Email, Tel, Avatar ...
1
vote
0answers
31 views

Wordpress Multisite - Create Default Post and New Category On New Site Install

I've looked around quite a bit, but couldn't find help with creating a new, initial blog post and new category (or renaming the default category) once a new sub-domain has been installed. I've added ...
1
vote
0answers
90 views

Hightlight unread posts or new posts since last login

I have no idea where to start to find something like that. I could try with "visited link" and CSS but but that's not very powerfull. So do you think I could do something like : Last visit = 2 days ...
1
vote
0answers
62 views

Adding a cancel button to edit post screen

I'm actually quite surprised WP hasn't already implemented this. I want to add a Cancel button to the edit post screen which will do some cleanup when pressed. After a little playing while watching my ...
1
vote
0answers
32 views

User levels and post visibility

I'm having a bit of trouble detecting the view-ability of post types. I've created a front end plugin which lists posts/pages by the author. Testing if a user can edit a certain post type is easy but ...
1
vote
0answers
33 views

Using ajax on editing a category edit page?

add_action ( 'edit_category_form_fields', 'tag_category_fields'); add_action ( 'edited_category', 'save_tag_category_fields'); add_action('wp_ajax_my_action', 'tag_category_fields'); function ...
1
vote
0answers
42 views

Related posts by category not working right

I have somehow managed to create this code to display Related Posts by category on single post page. <div class="relatedposts"> <h3>You might also like</h3> <?php ...
1
vote
0answers
134 views

Restrict edit, but allow preview for custom post status

I am developing a Wordpress site with Edit Flow plugin, so I can create custom post statuses to manage author and contributor posts more easily. So I have created custom post status and I've got ...
1
vote
0answers
70 views

Wordpress capabilities on pending post status

I have user with contributor user role. In default if you publish article as contributor you can only view it and you can't delete or edit it. But when you submit new post for review, you can do all ...
1
vote
0answers
365 views

Strange problems when I try to insert HTML\XML code snippet in my posts

I am experiencing some problems while trying to insert XML code snippet into my WordPress articles. I have just read this tutorial: http://codex.wordpress.org/Writing_Code_in_Your_Posts I am using ...
1
vote
0answers
46 views

display sub categories assoccited with each post in a category archive page

i have wordpress blog with many posts. each posts associated with many categories and sub categories. i want to display sub categories assoccited with each post in a category archive page. for ...
1
vote
0answers
98 views

Set static page/post from another blog on same network

I have a multisite project and have a small problem with static front page/post. In general i am looking for a way to choose a static page/post out of the whole network on my main blog. Now i'm not ...
1
vote
0answers
79 views

sql select for post_title and a term name

I'm having trouble trying to think out this SQL select I need to write; here's the gist: I'm programmatically creating posts by importing an excel file, so I'm in 100% sure of post titles, etc, since ...
1
vote
0answers
609 views

Dynamic dependent Dropdown lists for Categories, Sub-Categories and Posts!

I'm using WordPress 3.5 as CMS to develop my personal website. The reason I'm writting, is that I need a way to implement a code or plugin to allow users to navigate through posts using ...
1
vote
0answers
59 views

One post on my website is going to a 404 page

So I ran into an incredibly odd and frustrating problem today. As the title says, as of today one of the posts on the website is going to a 404 page. This is the ONLY post that goes to a 404 page. ...
1
vote
0answers
175 views

Posts added with wp_insert_post are moved to trash automatically

I've got a script that loops through some data and automatically creates some posts. foreach($data['title'] as $title) { $my_post = array( 'post_title' => $title, 'post_content' ...
1
vote
0answers
62 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()) ...
1
vote
0answers
139 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 ...
1
vote
0answers
72 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
vote
0answers
233 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
vote
0answers
305 views

show custom post type category dropdown sorting result on same page

I made a custom post type "kaubad" and i also want to add sorting option on website front end - users can select between this custom post type categories. here is screenshot about what i want to do. ...
1
vote
0answers
642 views

How do I locate the exact location where this error is occurring 404 page not found

I recently installed a wordpress theme and lots of plugins. This error appears on blog post after refreshing page for second time anywhere in between the post content. Here's the link to my site: ...
1
vote
0answers
180 views

List authors with the last post title and order by last post date

I want to list authors with last post data and order them by last post date. Now i have this codes but i don`t know how to edit them. // Selects from tables wp_users and wp_posts, selecting published ...
1
vote
0answers
155 views

Some posts from custom post type to subdomains

I have custom post type where all posts associated with some persons. Like: mysite.com/masters/master-name/ And i need to have redirection from master-name.mysite.com. This redirection will be ...
1
vote
0answers
340 views

How to order posts by meta_value and title

How do you order products in WooCommerce so that products are random, but at the same time featured products show first? Here is my code: $args = array( 'post_type' => 'product', ...
0
votes
0answers
13 views

Inserting posts to database

I want to import a bunch of posts directly into the database and I'm wondering how I can do this? I found this script ...
0
votes
0answers
17 views

prevent same wordpress post title

I am working on a wordpress site where users can submit there own posts. I would like to prevent users from adding a post with the same post_title This is how i currently check to see if the post ...
0
votes
0answers
24 views

How to get to blog flow and a specific post?

How do I get to a specific blog post in the flow without getting inside the specific post? I mean from my homepage i can see a excerpt of the post. When i click on that post i come right to that ...
0
votes
0answers
8 views

Start WP Pagination From Number 1 in URL

I am using this code to paginate gallery post type images: $images = get_posts(array( 'post_type' => 'attachment', 'post_status' => 'inherit', 'post__in' => $image_ids, 'orderby' => ...
0
votes
0answers
8 views

wp_insert_post another database with custom field

wp_insert_post with the command you want to transfer the contents to another database, I use the following command <?php require('wp-config.php'); $conn = mysql_connect($dbHost, $dbUser, ...
0
votes
0answers
24 views

Same date post in one box

I would like to ask for a little help. I wish you the same date is a Post;, you just enter the time of the WP. The twist, however, is that it is all in a box. I'll show it to be understood: ...
0
votes
0answers
14 views

Posts with duplicate meta descriptions

I am having issues with Duplicate meta description with posts on my wordpress site. When I create a new blog, the system creates duplicate links in webmaster tool. So for example, I create a new blog ...
0
votes
0answers
17 views

Only show top level posts of specific category

I've been trying to create a loop that will only show the top level posts no children/sub category posts. Basically what my categories look like are -- -All --one --- A --- B -- ...
0
votes
0answers
17 views

Only the moderators of the application can like / comment posts on WordPress site

I implemented Facebook like button and comments box on my WordPress site. I am using the official Facebook WordPress plugin. I created the Facebook application and provided the Application ID and the ...
0
votes
0answers
7 views

Automated new post & new comment notification system

I am using a WP "blog" as a private conversation tool between two people. I'd like, each time a new post or comment is published, the other user will be notified by email. This should happen ...
0
votes
0answers
28 views

How can I add widgets to specific post

Some of my post are longer than others. On those post I want to display more widgets for social media and such to fill in space, as well as to gain more exposure. I know there are plugins but I ...
0
votes
0answers
23 views

Import posts into SQL

Is there a way to bulk import posts directly into the database? like from csv into sql database. I don't want to use those csv import plugins since they don't always work they either only import half ...
0
votes
0answers
14 views

How to show custom post type in hierarchy

I want to show my custom post type in list pattern like S.No Title 6 samplePost1 - replypost - replypost 5 samplepost2 - replypost 4 samplepost3 Here i am setting post_per_page ...
0
votes
0answers
35 views

SQL query to remove first image in all posts

I've built a site up over a few years (3,500+ posts) where I've inserted images using the traditional method into the post content itself. I'm now moving to a different theme, and have made the first ...
0
votes
0answers
17 views

WordPress not updating post or disable plugin instead a white page appear

I was working in a local WordPress website, and it works without any problem. Then i uploaded it to a live server as follow: Uploaded all my local files and folder to the live server. Imported the ...
0
votes
0answers
34 views

How configure blog posts in a grid style layout?

Goal: Concept is like showcasing a portfolio, however, what I’m looking for is specific to the blog posts (featuring: title, featured image, short excerpt, category), flexible & interchangeable in ...
0
votes
0answers
33 views

How to display all posts on one page and then open them inside a modal window

I'm working with the WordPress Bootstrap theme. I want to show all the post listing with their featured image on my page and after clicking that image I want to open the post description into a modal ...