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)

0
votes
0answers
13 views

Spinning Articles and Publishing to Multiple Sites

I have a main wordpress blog site and several small specialized sites that are each similar. I'd like to be able to create original articles using spin code (so I can create many variations on a ...
0
votes
0answers
33 views

Comment/post ratio system for users

In a multi-author platform, to enhance interaction between authors, I want to add a ratio system that calculates the author's comment count (on others posts) and post count and displays a grade. ...
0
votes
4answers
32 views

Accessing post->ID outside of the loop for listing child pages

I'm wanting to list child pages of my current page in the sidebar of theme. However my sidebar (left side) is before the loop in the template and the post->ID won't return anything if it's before the ...
0
votes
2answers
31 views

How to lock content?

What is the easiest method to make all my articles accessible only to registered users? My homepage contains titles and excerpts but I want to allow access to the full content only to registered ...
0
votes
2answers
22 views

How to add PHP code snippet to all Post pages?

I wrote a short PHP snippet that I want to include on all past and future posts. I can't figure out which PHP file to add it into that'll affect the change to all and only Posts. Can someone point ...
0
votes
0answers
23 views

Creating taxonomy.php

I trying to create my taxonomy.php from this code: <?php $posts_per_row = 4; $posts_per_page = -1; $pageURL = 'http'; $post_type = 'radio'; if ($_SERVER["HTTPS"] == "on") ...
0
votes
1answer
16 views

static landing page leading to two different posts pages

My site has a static landing page with buttons to go to writer A's content or writer B's content. In the reading settings, how do I declare 2 pages as being the posts page? It is important that each ...
0
votes
1answer
13 views

Enforce conditions only for draft posts using WyPiekacz, ignore pending and published posts

I use WyPiekacz to set various conditions for authors when creating posts, for example checking if the post has a featured image or how many tags that are being used. It works fine. However, these ...
0
votes
0answers
18 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
6 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
27 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
19 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
27 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 ...
-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
29 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
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
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 ...
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
0answers
20 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
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
15 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 ...
-1
votes
1answer
18 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
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 ...
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
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
21 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
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
votes
1answer
21 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
18 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 ...
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? ...
0
votes
0answers
13 views

standard wpGallery for post won't work

I'm trying to get the standard wpGallery running in my post. I followed this tutorial. But I ain't get it working. This is what my editor shows while editing a page: http://i39.tinypic.com/6ivi1z.png ...
1
vote
2answers
24 views

Displaying a widget only on long posts (over X characters)

I'm looking to display a standard wordpress widget only on posts that are over X amount of characters in length (or another method that can roughly calculate the height of of a post.) I am looking to ...
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 ...
0
votes
0answers
15 views

Lightbox Post Pop-up on homepage [duplicate]

I've been working on sampression lite theme and what I want to achieve is when a post' thumbnail/read more link on homepage is clicked, a modal will pop-up ( similar to pinterest and this wp theme ...
0
votes
2answers
24 views

Widget to show posts in the sidebar basing on its IDs

I am trying to create a widget that displays posts in the sidebar taking post IDs as input from the user. The result of my code is that the widget displays just the first entered ID and ignores the ...
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
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
59 views

Only display price when value exist

I got two price value,(WpForest_price) first price (WpForest_price 1) second price,what i want is if the user bought with the value of first price and it will show the price and for second price show ...
-2
votes
0answers
43 views

Get all posts starting with first two letters in Wordpress

I have a plugin in which an alphabetical list is posted where people can click on a letter and they get the posts with that letter. So if they click on A, they see all post titles starting with the ...
0
votes
1answer
32 views

How to get alphabetic listing x other posts, based on first letter post?

Let's say I have a post called "Hello World" and I am on that page... Let's say I have different posts like "Haaaa" and "Hoooo".... What I want to do is showing Haaa and Hooo in a different place (let ...
8
votes
1answer
149 views

ZIP up all images displayed in a [gallery] and offer as download link

I would like to offer my visitors the option to download the entire photo gallery (displayed on dedicated [gallery] pages) as a ZIP file displayed at the bottom of each gallery page. - The full-sized ...
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
0answers
9 views

write a post on user registration

Looking for a way to automatically write a new post everytime a new user is registered. For example if when user B completes a registration form then a new post is automatically submitted (either by ...
2
votes
1answer
31 views

Can't show comments count per post outside loop

How can I show the amount of a comment per post outside the loop? I tried this in a function already: ' . get_comments_number . ' , but that outputted the text "array" on the screen... What do I have ...
1
vote
1answer
19 views

Extracting post categories

I'm in the middle of assisting a colleague in reconfiguring a Wordpress database for use on another platform. The database is essentially details regarding all the posts and accompanying metadata, ...
0
votes
1answer
27 views

Displaying warning if no featured image has been set - Post Editor

I run a multi-author website and many of my users are forgetting to set a featured image for their post. This is a big problem as my theme depends highly on featured images to keep a consistent feel ...
3
votes
1answer
47 views

Get names of authors who have edited a post

How can I call the usernames of people that have edited a post? I know I can use get_the_modified_time to display the time the post was last modified, is the same possible with the list of users that ...

1 2 3 4 5 36