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
12 views

Showing recent post of category in page

Any ideas, how I should do this: Recent post (with comments) shown in page? I need fixed url example.com/question that shows the most recent post, style should be same as in normal one post? Can I ...
0
votes
1answer
9 views

Programmatically add posts from specific category to menu

I am wanting to add individual posts to my primary menu programatically based on category I have used the wp_nav_menu_items filter previously to add pages to the menu but I am stuck when it comes to ...
0
votes
2answers
376 views

Issue where WP Featured Image will not display

The code I'm using, is outside of WordPress i.e. define('WP_USE_THEMES', false); require('blog/wp-blog-header.php'); global $wpdb; The code that I'm trying to display the post thumbnail (the ...
0
votes
1answer
18 views

Scheduling posts via sql

I got 10k posts with dates that are in the future. I imported my posts as a draft cause it seems quicker. I have used phpmyadmin to set the status of the posts to future with this sql command: UPDATE ...
1
vote
2answers
16 views

Show all post titles

I want to make a parallax type link, but I have no idea how to go about it yet. I need to get all post titles with # link and then I can try the parallax thing. My current category page code bellow. ...
0
votes
2answers
468 views

Password-protected Posts lead to 404 Error

I was just testing the password-protected posts functionality and when I submit the password it sends me to a 404 page. The password I typed in was correct, I made sure. The URL bar says: ...
0
votes
1answer
21 views

The loop does not show users

I'm trying to show all post made ​​by the author. Code author.php <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if( get_post_type() == 'post' ) {?> <?php ...
0
votes
1answer
31 views

How to share post?

I found this code that will share my post in social medias but right now it share the whole page and not the individual post. How do I make it share only the individual post? I know its something with ...
1
vote
1answer
17 views

Second comments section for one post/page

For a project, I need to have 2 comments sections related to the same post/page. Is there a way or a plugin to do that ? By default, Wordpress allow only one comment section for one post/page. Thanks ...
-1
votes
0answers
14 views

Finding host domain of wordpress website [on hold]

I have been desperately searching high and low for some contact information of a specific wordpress website (http://identitytheft-reality.com/wordpress) and really need to request something to be ...
-1
votes
0answers
12 views

How do I lower the position of text field for single posts? [on hold]

I've been trying to get this look on my blog, but I have no idea which file I have to edit. As you can see here, my posts start at the top of the page. How do I change the position of the text box ...
1
vote
2answers
646 views

Stop WordPress automatically adding <br> tags to post content

Is there a way to stop WordPress from automatically inserting <br> tags when adding returns in the WordPress text editor. I would like for it to behave more like a code editor where I can ...
0
votes
1answer
18 views

When I click edit on a post, all the content disappear. Does anyone know how to fix this?

I am working on a site: greatlakesecho.org When I try to edit a post, the content just disappears from the visual editor. I am running the latest version of Word Press but this happened on the ...
0
votes
1answer
15 views

How to use extract shortcode in loop?

Actually I need to gallery in any new post so i use shortcode for making gallery for every new post. I use images and videos in slider. problem is that I have custom html slider need to convert ...
1
vote
2answers
27 views

Posts for next month

How would one get posts that are set to 'future' to display in a loop? I am trying to figure out how to get posts that are in the future months. So if we are in April I want to display posts for May. ...
1
vote
1answer
22 views

Custom fields on a virtual page

I've used Dave Jesch's solution for making virtual pages (from content temporarily saved in a custom database table, updated from an RSS every four hours). See more here: ...
0
votes
1answer
18 views

Current and next month posts

Thanks for reading firstly. I am coding a site that requires 3 post titles for the current month and 3 post titles for the next month (upcoming events)! I am struggling to get this to work. I am ...
0
votes
1answer
245 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 ...
1
vote
0answers
15 views

Multiple pages displaying “Latest Posts” Content

My index page is set to show the latest posts. It have a custom option to display it with a "grid" format and another option to display only one post per row with an excerpt. I want to set two ...
0
votes
1answer
298 views

After 3.5.1. upgrade, posts appearing on Site yet *NOT* in WP admin!

Upgraded to newest WP version yesterday and with that many of my posts disappeared from admin. However, they do appear fine online. If you go to link below, all posts on Projects section of site were ...
1
vote
1answer
963 views

Execute function when post is published

I try to use this function i have created when a post is published for the first time. function a_new_post($post){ $post_id = $post->ID; if ( !get_post_meta( $post_id, 'firstpublish', $single ...
0
votes
0answers
17 views

Add new box in new post page to upload file [on hold]

I want to have a custom file uploading in new post page. I need to add a box in post-new.php page to give user allow upload one file and then i have ability to show the link of that uploaded files to ...
0
votes
1answer
538 views

Disable feeds for specific custom post types

I want to remove the feeds for specific custom post types. Most recommended methods are not clean. There seems to be a option called $args->feeds but this does not work within the ...
-1
votes
0answers
9 views

How to achieve that oembeded vimeo and youtube links in post do not collide with same origin policy for frames?

If i add a video link from vimeo or youtube in a post like e.g. : http://vimeo.com/17079380 http://www.youtube.com/watch?v=a4S7k13mUlM& then the output in the frontend works, the two videos ...
0
votes
1answer
543 views

Listing Specific Categories from Current Post with Depth

I've been on this for sometime and been having a ton of issues to find a proper way to do what I'm trying to achieve. An Example would be as follows: I have a featured Image with a rollover and I ...
1
vote
1answer
480 views

How can I hook into creating a new post and execute wp_die(), before the post is inserted into the database?

Info about wp_die from codex: Kill WordPress execution and display HTML message with error message. A call to this function complements the die() PHP function. The difference is that HTML will be ...
0
votes
1answer
10 views

Page updates appear in Preview but not live version?

I have made some changes to a blog page and excluded some categories. However, whenever I view the blog online the excluded posts still appear. But when I got to the blog page and click 'preview' the ...
0
votes
0answers
6 views

How to get the finding links from the post content [migrated]

I need some help in finding links in html code. function get_content_link( $content = false, $echo = false ){ if ( $content === false ) $content = get_the_content(); $content = ...
1
vote
1answer
238 views

How can I add a meta-box to the posts editor containing all items of a custom taxonomy as checkbox?

I have a custom hierarchical taxonomy containing only two levels of items. First Level the title, second level items of the taxonomy. Is it possible to add a "meta box" to the posts editor of ...
1
vote
2answers
1k 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
11 views

How to Test a Blog Post for Publish vs. Update Status [duplicate]

I want to perform an action when a blog post gets published for the first time only. I do not want to take action on any subsequent update. I wrote a plug-in to do this. However, it runs the function ...
-1
votes
0answers
13 views

Problem with rating-widget plugin in wordpress

I am using rating-widget plugin in wordpress. wordpress.org/plugins/rating-widget/ Plugin setting is configed but rating stars are showed only in pages. Page : a sample page Post : a sample post what ...
1
vote
1answer
13 views

Users problem (multi-author plus multisite)

all. I am having a users-related problem on a multi-author site (actually two sites on a multi-site, both of which have the same users). Here are some details: 1) In the backend users' list, the ...
1
vote
2answers
27 views

Change default screen option value for posts per page

I want to change the default screen option value for posts per page in the wp-admin area when listing posts in pending mode. The default value is set to 20. Changing the value directly in the Screen ...
0
votes
2answers
14 views

How do I publish portfolio items with a future date?

I am trying to publish portfolio items with a future date (using for an event based website) and I can't see to find any plugins or anything. I have seen them for generic posts, such as "The Future ...
0
votes
1answer
399 views

Why my meta boxes won't show in front post page?

I see it everywhere: in single post, in category archives etc, but in front page post not. I display the metaboxes in this way: <?php if (get_post_meta($post->ID, 'test_1', true) != '' ) { ...
1
vote
2answers
534 views

Wordpress Child Category Display All Posts

I am creating a Wordpress page where all my posts in the child categories of team are displayed in a grid. I got this working with the below code. The formatting and general layout is great however it ...
0
votes
2answers
11 views

How to show part of the_content?

i wanna show 20 chars of the_content i tried this but doesn't work for me . <?php $content = ''; $content = the_content(); $count_content = strlen($content); if($count_content > 20 ) { ...
1
vote
1answer
25 views

Replacing all attachment links in post with media file link

I'm working on a Wordpress site, where all images inside posts are linking to the corresponding attachment pages. I want to use a lightbox but obviously this would require changing all the links back ...
-1
votes
1answer
22 views

List posts related to category on a div [closed]

i want to display posts related to selected category at the same page(on a different div). What i want is as the image attached, when i click the category name on the left side, all related posts must ...
1
vote
1answer
30 views

Can I use images as anchor tags with <?php previous_post(); ?><?php next_post(); ?>

Rather than displaying the title of the next page, I would like to display a large arrow that can be clicked on. To do this I shall either be using image files, or the tag. Can this be done?
1
vote
2answers
71 views

Why won't my taxonomy query show up?

I'm attempting to display posts from a 'Uncategorized' category under a custom taxonomy called 'Reviews' but without much luck. I'm using get_template_part('loop','review') to call loop-review.php ...
1
vote
2answers
32 views

Does an article (post) id ever change?

So I'm working on a plugin for wordpress, and a novice at it as well. I need to use the ID of a wordpress post, or blog article rather, as a unique reference id, or lets say in database terms, a ...
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
15 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 ...
-1
votes
0answers
17 views

Wrong picture from Wordpress to Facebook post

I have a blog (paidis.com) and almost everytime I publish something on Facebook, Facebook gets a wrong picture. I was trying to solve this but I couldn't, so I was using the option "upload another ...
0
votes
0answers
21 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
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
10 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
2answers
3k views

Advanced Custom Fields Plugin: Post Object returns bool(false)

I'm using the Advanced Custom Fields plugin to create a metabox with a list of all posts of specific post type, for the user to be able to select related posts for a page. You can see a simple ...