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
10 views
Display recent commented post above new submitted post
I have a list of all posts that are commented on a particular day. If someone comments a post, I want it to put that one above the other posts, even if they are submitted on a more recent date...
How ...
0
votes
0answers
5 views
get_next_post() not working after adding a category with ACF
I work on a wp site with various categories of products. For any single product, this was the code which would yield links to next and previous product:
<?php
get_header();
global $post;
$next = ...
0
votes
2answers
25 views
How to add post count to wp_nav_menu?
Is it possible to add post count to menu links using wp_nav_menu?
For example:-
Apple (3)
ball (6)
cat (2)
0
votes
2answers
16 views
Detect Post Type when publish_post is ran
I currently have WordPress build an XML Sitemap everytime a POST or PAGE is PUBLISHED by using this Action...
add_action("publish_post", "create_news_sitemap");
I am not doing the same process but ...
-1
votes
1answer
73 views
How to create a cumulative posts and members count
I need to show my users cumulative posts and members registered count by date.
It has to be displayed in an array format like this
for posts
array(array(2011,08,02), 500)
array(array(2011,08,03), ...
-1
votes
1answer
24 views
What does Wordpress mean by they have full rights to content [closed]
I am pondering publishing my blog. I'm leaning more towards WordPress however, I don't want to worry about WordPress doing whatever they want whenever they want withmy blog because I have signed up ...
1
vote
1answer
394 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;
...
-3
votes
0answers
13 views
Facebook comments box on all posts [closed]
Can someone please help, i want to integrate my site with facebook comments box below my posts like on this site "http://www.wholesalinghouses101.com/". what plugin they are using, i have tried many ...
0
votes
1answer
28 views
How to store array in usermeta in wordpress
I have a custom user registration form and am trying to store multiple values in the usermeta. This is a sample code I am using, however it just stores the last option selected (i.e. if I select from ...
0
votes
1answer
25 views
Missing custom posts [closed]
I've created a new document custom post and it now appears all of the posts aren't being displayed.
The count is showing the correct number but i can't see all of the documents available, it only ...
1
vote
1answer
723 views
Loading post content in FancyBox
I got a tricky question. I have created a custom post type whose posts I would like to display in a scrolling carousel. The carousel will only display the title, the excerpt and a "read more" button. ...
0
votes
0answers
10 views
Calling Images from a Gallery when Post is Clicked
http://acesystech.com/edge/
Im wanting to do something simlar to this, where the customer can click a project and see a scrolling images block of the images, however i want to do i with like click ...
0
votes
1answer
237 views
Allow non-logged in users to see a future post after clicking on a list of future posts
I have been able to list out pages that are set for future in a custom template like this:
...
0
votes
1answer
123 views
load more portfolio on page end reaching
i like to add an automatic load more link on the bottom of the page, so when a user reaches the end and starts scrolling the next recipes (in this case) will be loaded.
...
0
votes
1answer
332 views
previous_post_link() and next_post_link() with a custom post type?
I'm on single-work.php for a custom post type called work, inside the loop.
Trying to make two links to the previous and next post.
Using this code:
<?php previous_post_link(); ?>
and
...
0
votes
1answer
19 views
Query posts by Author and/or by Tag
I'm pretty sure I need to do some sort of custom query, but not sure about the best way to go with it.
I have an author page. It needs to display that author's posts. That's fine, I can do that. I ...
0
votes
1answer
147 views
Using wp_list_categories like the the_category (showing just current categories of a post)
fromi'm using wp_list_categories to get an unordered list with headlines (on single.php inside the post-loop):
<ul><?php wp_list_categories('title_li=0');?></ul>
the thing is: i ...
0
votes
0answers
19 views
complete show post older 10 post
i want show random post older 10 post i used this code for show 5 random post
<?php
$args = array( 'numberposts' => 5, 'orderby' => 'rand' );
$rand_posts = get_posts( $args );
foreach( ...
0
votes
1answer
74 views
WP 3.5.1 password protected not working for post
After adding right password fornt side wp,
post not open and it's say
Not Found Apologies, but the page you requested could not be found.
Perhaps searching will help.
how to solve this?
0
votes
0answers
18 views
Post from one WordPress site to another
I have two sites running on WordPress. I have a form on one site that generates a custom post type, and I would like this custom post type to be posted to another WordPress site. How can I do this? Is ...
0
votes
1answer
14 views
Setting limit to posts or page creation
This is regardging to On multisite installation and setting limit to content creation by sub-site admins.
I want to set a limit for posts,pages or any custom post types for any sub-site admins. So ...
0
votes
1answer
27 views
Post content stays the same but permalink changes ?
This is really weird. I made a posttype ' mediagallery ' via the plugin Types fields.
I simply want to load the post content and switch the posts with a next & prev button in de sidebar.
The post ...
3
votes
1answer
180 views
How to show list of posts by author and category?
Let three categories and their IDs:
cat1 = 1 (parent)
cat2 = 2 (child of cat1, parent of cat3)
cat3 = 3 (child of cat2)
Let each category has 3 posts, they are: post1, post2, post3.
And each posts ...
0
votes
1answer
23 views
SQL Bulk Move old posts by one author to another category
I'm looking to move a number of old posts by one author from one category to another category and was hoping someone could help me do this?
I figure the easiest way would be through an SQL command?
...
-1
votes
1answer
17 views
Ajax calls in wordpress
I want to send a ajax request in wordpress which tracks my clicks. For now i have added this in my functions file :
add_action('init', 'my_script_enqueuer');
function my_script_enqueuer() {
...
0
votes
2answers
41 views
How to output comments number of a post per day?
I have a question about the comment numbers in a post... For now, I can output the total number of a comment inside a post outside the loop. That's cool enough, but I want to get show the comment ...
0
votes
2answers
232 views
Get post excerpt and title by specific post ID?
I'm trying to get post excerpt and title by specific post ID.
My post ID is 6 and my code as follows
<?php
$id = 6;
$post = get_post( $id );
$excerpt = get_excerpt( $id);
$excerpt ...
0
votes
1answer
28 views
Bulk Attach Or Insert Media To Post Without Opening Post Editor
How to create a custom panel inside wp admin dashboard where we can insert media to specified posts in bulk? Here is the illustration:
As shown on the image above, it list all available media on ...
0
votes
1answer
395 views
Display posts in three columns by category
I've seen posts which probably answer this, but unfortunately the answers are all a bit technical without telling you where the code should go?
At the moment I have my posts directed to a blog page. I ...
0
votes
2answers
34 views
How to add character to content of post?
In per posts, there are "oo/x/".
How to add "0" before "x" if length(x) < 10 ?
Examples:
x=12345678 ; length(x) = 8, so add "00" before x ===> x=0012345678
x=1234567 ; length(x) = 7, so add ...
0
votes
1answer
21 views
wordpress taxonomy results
I am using taxonomy.php to fetch some rows from database. On taxonomy page the function get_queried_object() shows that I have got the right results from database but wordpress loop if ( have_posts() ...
0
votes
1answer
24 views
Rearrange the title, the thumbnail, and the content in a theme template
In pages-news.php
<div class="thirteen columns"><?php
if ( has_post_thumbnail() ) {
the_post_thumbnail();} ?>
<div class="title-blog">
<h2><a href="<?php ...
1
vote
1answer
408 views
Query get post,how to add comment box
Hello I have a query that gets a post with id=x and it works but it leaves out the comment box.
Is there a way to add "get comment box" to the query?
<?php
$post_id = 104;
$queried_post = ...
0
votes
2answers
79 views
How to display a single(current) post from a category
How do I get the code below to display just the current post that corresponds to the current URL and not all the post from the same category? Barakadam, It works but it brings all the posts in the ...
0
votes
1answer
20 views
Display Posts with template on a Page
OK, I'm sure some WP pros here will think this is a dumb question, and I'll probably get some flak, but I have actually read plenty of documentation, and I just don't think I'm even going in the right ...
0
votes
1answer
485 views
Load posts into sidebar and paginate via ajax?
Is it possible to paginate, or load the next / previous posts in the sidebar without messing with the entire page pagination? Such as AJAX?
Right now I'm querying custom post type posts to load the ...
0
votes
3answers
46 views
Show comment number per author per day
Is this possible? I've never seen it used, but I need it... I want to show for each author (if they are logged in) on their own profile page, the amount of comments they have posted today. If the day ...
0
votes
1answer
144 views
How to view all posts (on site, not admin) that are uncategorized?
I had a horrible problem a long time ago that had me end up importing a backup of most of my posts.
I'm now using WordPress 3.3.2 and I would like to view all of the uncategorized posts from the site ...
0
votes
1answer
358 views
Refresh problem post is duplicated when page is submitted after page reload
I have a form on my website, that creates a post from front end. So every time when I refresh a page I got this message first:
The page that you're looking for used information that you entered.
...
0
votes
1answer
21 views
POST from jQuery to PHP
I have a form that passes field values to jQuery, which validates the fields and creates the variables being sent in data: {} in the snippet below.
$.ajax({
type: "POST",
url: "<?php ...
1
vote
1answer
1k views
display all posts in wordpress admin
Is there any reason why Wordpress restricts the amount of posts you can administer at once to 20?
Is there a way to display all posts?
I want to change the category for about 1800 posts.
I don't ...
0
votes
1answer
499 views
Is there a plugin that creates a WP post based on a Twitter account's hashtag?
I've found a myriad of plugins that tweets my posts or grabs tweets into a widget, or posts all tweets, but none that:
looks for a specific twitter @account's #hashtags and
creates a WP post
in a ...
-1
votes
1answer
20 views
Echo author slug in post edit page
On the Post edit page in the back-end, how do I echo the author's user_nicename? I am referring to the author of the post, not current user.
1
vote
1answer
23 views
Force authors to Preview a post before publishing
I'm looking to find a way to force authors (including admin & editors) to preview their post before publishing. Is this possible, if so does anyone know the easiest way to achieve this?
I'm ...
0
votes
1answer
115 views
How to retrieve text only from wp_content() not from wp_excerpt()?
I'm currently developing a website with WordPress 3.5 and I need to retrieve Post Text (Only text, not include images) at Archive Page. I can retrieve it with wp_excerpt() method without any problems. ...
0
votes
1answer
17 views
Split WP_POST table based on post types
I was wondering if it's possible to get my posts from 2 databases depending on the post type.
I'm using HyperDB but can't seem to get it to specify the database based on post type. I Basically need ...
1
vote
2answers
413 views
submit posts by unregistered users in wordpress
I am newbie in wordpress. Is it possible to allow unregistered users submit a post and put it in a queue to get confirmed with site admin and when be shown on the site?
0
votes
1answer
37 views
Delete old post with new post
Hope you can point me in the right direction, with a plugin or function.
With "Contact Form 7" logged in users post their info with "Form to Post" plugin.
Everything is front end.
It is a big form ...
0
votes
1answer
205 views
How to redirect image attachment to its original post
I'm making a slider that is getting images from attachments in the post. I am trying to rewrite the url for the post so that if someone pastes the direct url to the attachment, it'll go the post ...
0
votes
1answer
29 views
Post missing from main Loop [closed]
I am having the strangest error I have error encountered on WordPress for a clients site.
The main loop /blog page is missing posts. The image below shows...
Things I have tried...
Updating ...

