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
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 ...
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 ...
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
23 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
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 ...
8
votes
1answer
145 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
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
188 views

Conditionaly exclude post from certain category from homepage sidebar?

how to exclude posts from one category to not show on sidebar on homepage only when I explicitly dont want that particular post, in all other cases post will be displayed. I had try with plugin "WP ...
0
votes
1answer
216 views

How to add tag(s) to all posts from a specific category? [duplicate]

I'm currently redesigning a cartoon site that has 1200+ posts, divided into about 62 different categories. Some categories have 2 posts in them, other categories have 50, 100, 200+. Now for every ...
0
votes
1answer
130 views

Converting multiple loops into one single loop with pagination

I am using Isotope jquery plugin to filter/sort posts in Wordpress but to correctly filter the posts into the right order I have needed to output each category one after the other. To do this I've ...
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 ...
0
votes
1answer
30 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 ...
0
votes
1answer
102 views

Menu System: View all by default

Been doing some digging and trying to see if there is a way to change the default list for Pages, Posts, etc in the WordPress menu area to default to "View all" instead of a truncated list. Any ideas? ...
-2
votes
0answers
41 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 ...
1
vote
1answer
18 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, ...
2
votes
1answer
30 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 ...
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 ...
0
votes
0answers
29 views

Get page type to display content

I have some checkboxes to select where can I display my plugin and I save in db in this format: Show popup in this pages: x Article (Public) x Pages (Public) x File (Public) x Revisions (Not ...
0
votes
1answer
180 views

Open WordPress Posts in Bootstrap Modal

I am looking for some assistance in opening WordPress posts in the Bootstrap Modal. Right now I have a home page with a grid that pull posts. I have it setup so that each post is in a square box and ...
7
votes
2answers
453 views

How to make comments work for a post loaded per Ajax?

I am currently loading a single post using ajax. While the post loading works ok, I cannot get the comments to load. Here is my code: My javascript to load the post: <script> ...
0
votes
1answer
19 views

If post exists, make it a comment in existing post with same name?

Is it possible to make a comment out of a post that already exists (with the same name). For example, if the post 'Hello World' exists and a users posts another 'Hello World' post, it should make the ...
2
votes
1answer
43 views

Get names of editors to 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 ...
2
votes
1answer
42 views

How to add a “publish” link to the quick actions

I'm trying to add a "Publish" link by the quick actions: but I'm not exactly sure of how implement it. Here's what I've got so far: add_filter('post_row_actions', function ( $actions ) { ...
0
votes
2answers
217 views

WP 3.5 - How to remove permalink from images

In previous versions of WP, we were able to remove permalink from images while we were inserting images into post. But, now there is no obvious option to do so. How can it be achieved? Thanks.
0
votes
1answer
102 views

Output posts with same name as tags?

If someone puts a post on my site, they usually do that with some tags. If someone posts a post with the tag "hello", I want it to output that tag after my content and let it link to the archive page ...
0
votes
1answer
164 views

Single Post in Tab/Slider

I have managed to code tab system that fetches different categories and custom taxanomies on a home page and shows relative posts. Now, is it possible that when someone clicks on one of the posts in ...
0
votes
1answer
117 views

Category Template: Need to display different content on first page of archives

So my issue is that I need to create two versions of a category.php template. Now, I know very well that if I want to display posts from just one category, I duplicate category.php and call it ...
0
votes
1answer
45 views

How to display WP Query filters?

I'm wondering if there is a way to display current WP Query filters. I wrote a function that is supported to delete all posts and it does but when I'm using WPML and it filters posts by language then ...
0
votes
1answer
49 views

post in a lightbox?

Ive installed "lightbox plus colorbox" plugin and im trying to call the latest post from the CPT notices. the notices have post expiration so essentially im looking to display the latest alert on the ...
0
votes
1answer
11 views

Cannot select certain authors for posts after import

I just consolidated a couple standalone WordPress installs into one Multi-site install. After importing posts into each site accordingly, I am unable to edit a post or page, and select a different ...
1
vote
2answers
61 views

Downgrade user from role that allows post creation

I am an admin of a multi-author blog. I am implementing a monitoring system which will require me to downgrade a user from an 'author' (this role allows them to make a custom post) back to the ...
0
votes
1answer
45 views

Enable comments for post when comments meta box removed

I've hit the issue described in '11: "Enable comments for post with comments meta box removed" and I'd like to ask for your help to adapt the mentioned there code to the current wordpress version. I ...
0
votes
2answers
2k views

Loop not allowing infinite scroll after post per page limit

Im using masonry with infinite scroll to display posts in a loop. I set the post per page which works great on the index page but when I place that same loop on a single page or a buddypress profile ...
0
votes
2answers
33 views

How to find what index page a post is on?

Here is a simple example of what I am wanting to figure out. Say I have WordPress set to show 5 posts per page. And say I there is a post 17 posts back chronologically. The formula would be 17 / 5 ...
2
votes
1answer
190 views

pagination hook doesn't work with search results

I use my custom Pagination function on my web site; #Pagination function pagination($prev = '«', $next = '»') { global $wp_query, $wp_rewrite; ...
0
votes
2answers
918 views

Custom Post Type Pagination 404 Error (if paged>=2)

I coded a WordPress theme. I added a Photo Gallery with custom post type. But if paged>=2, it gives 404 error. I'm gonna be mad. :( Help please. And sorry for my bad English. Add me on MSN. ...
-1
votes
0answers
48 views

Sort post in a category alphabeticaly with the stick in that category on top?

I need to be able to sort posts in categories alphabetically with the sticky posts in that category listed first on top also sorted alphabetically. Apple* Banana* Watermelon* Coconut Grape Orange ...
-2
votes
1answer
15 views

Print out one of 2 post category [closed]

I've been trying for quite a few hours to get something to print out in loop: post has 2 categories, one of them is prace (slug) and I need the other one printed. If it isn't too much to ask. Tried ...
0
votes
2answers
35 views

“Right Way” to make custom Loop respect reading settings inside admin panel?

I have created custom Wordpress loop using WP_Query, loop is working fine and I can customize it nicely, however i have a problem using "Blog pages show at most" settings, for example inside my loop ...
1
vote
2answers
22 views

Display random posts, but omit the post it is on?

I am trying to have a section under a single post where it displays completely random posts. I got everything working, but every once in a while one of the random posts that get displayed is the ...
0
votes
1answer
114 views

Display custom post counts for author , not default posts

<?php global $wp_query; $curauth = $wp_query->get_queried_object(); $post_count = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = '" . $curauth->ID . ...
0
votes
2answers
2k views

Load Next WordPress Posts With AJAX?

I found an amazing plugin that loads the next posts with Ajax. http://www.problogdesign.com/wordpress/load-next-wordpress-posts-with-ajax However it doesn't work with custom post types. The code ...
0
votes
1answer
17 views

Exclude a 'portfolio' custom category?

I have a custom post type called 'portcat' and I want to exclude one portcat category ('weather' - ID='5') from the page. I've tried 'category__not_in' => array( 5 ) but apparently this doesn't work ...
0
votes
1answer
18 views

Showing custom post type categories in the menu

here is my custom post type and category: //Register nav register_nav_menus( array( 'main_nav' => 'Main navigation' ) ); //Custom post types add_action( 'init', 'create_post_type' ); function ...
0
votes
1answer
28 views

Delete data from custom table when deleting a post

I want to delete post id form my custom table, when deleting a post. I have tried this way, nothing happened. Please help. add_action('delete_post', 'delete_data'); function delete_data($post_id) { ...
1
vote
0answers
21 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 2 3 4 5 36