Tagged Questions
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).
0
votes
0answers
6 views
How to filter multiple condition [on hold]
sitelink: http://dianying.fm/category/
Any help in this regard will be highly appreciated.
0
votes
0answers
9 views
Inserting image into post content - Front End
This is the php I have for a form which creates a post with thumbnail. I want to know how to add the uploaded image to the post content as well. Tried a few things, but they didn't work.
...
0
votes
2answers
16 views
Insert custom div between posts
I'm using twenty twelve and I need to insert a div between the posts. I'm not sure how to stop the loop, insert the div, and then restart the loop.
Can anyone shed some light on this? Thanks.
0
votes
0answers
17 views
Limit posts displayed to 2 specific posts
I'm using the Twenty Twelve theme. I have created a basic page. What I want to do is keep 2 only posts (that I select) on the page at all times. In looking at the code I think this is the section that ...
2
votes
2answers
21 views
Remove hidden formatting when user paste text from MS Word into TinyMCE
Around a fifth of post submissions that I receive contains ridiculous amounts of hidden formatting.
For example, here is some of it from a recent post:
<!--[if gte mso 9]><xml>
...
0
votes
0answers
17 views
How to order query by numeric meta value?
I cannot order my query by meta value by numbers, and ordering by post order does not work too. This is my code:
<?php
$args = array(
'posts_per_page' => '-1',
'post_type' => ...
0
votes
0answers
12 views
Custom Post Type Order Issue
I am having an issue getting my Custom Post Type "slide" to pick up the custom order set in the order attribute. In fact I can't seem to get the order to change from ASC to DESC period. I have ...
0
votes
1answer
10 views
Post/Custom Post Type URL Access
Is there a way to prevent people from visiting a post's permalink?
A lot of times we create posts or custom post types that end up being included as part of the content of a page or some other ...
0
votes
1answer
16 views
WordPress displays post on subcategory only
I'm using WordPress on developing a site and a self-made template. I got 1 page to display all categories with its post. This is what I want to do:
Main Category
subcategory1
post 1
subcategory1.2
...
0
votes
0answers
14 views
Set the limit to allow author when make post!
I would like to ask something here,
The question is, is there any way to set the limit of post that an author can post? For example, I have a few authors on my site, but I want to allow each of them ...
0
votes
0answers
19 views
Rewrite a specific Post Format to URL slug
I'll cut to the chase. I am using Post Formats on my WordPress 3.6 site, specifically 'Video', which I want to include in the URL slug.
I'm pretty well verse in WordPress plugin writing etc, but ...
-1
votes
0answers
12 views
Permalinks and order of posts on blog
I deleted the 'uncategorised' category from some of my posts today and now the permalinks have changed and the order of my posts is no longer in reverse chronology. Any thoughts please?
0
votes
0answers
9 views
Repeating Posts Plugin Tweak
I am attempting to Repeat Posts (ie. publishing them multiple times) and found the plugin repeating-posts. However, I need to tweak it so that when I have it scheduled to repeat, it also repeats the ...
0
votes
1answer
21 views
saving/reading custom field value does not work - no value gets POSTed
I am trying to add a custom field to all my posts and of course saving/reading the value. As a starting point I took the example from the Wordpress Codex and stripped it down to bare bones. I know it ...
0
votes
0answers
18 views
How do I store the initial post ID inside a cookie?
Currently I am able to store the post IDs inside a cookie but what is happening is the post_id is changing during the page loading process. The post ID may start out as 1000 but will change to another ...