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

Post Format problem

I'v tried really a lot of solutions, and the one that works, it works half a way. Inside single.php I'v added <?php while ( have_posts() ) : the_post(); ?> <?php if( ...
0
votes
0answers
6 views

send email to author of post on post submission

i am using wordpress directory theme.I want to send email to author of the post whenever he publish a new post. currently email is just sent to administrator only.i didnt find any code utilizing ...
0
votes
0answers
13 views

Cannot use pages created on WP

I am quite new to WP and I have recently taken over a development project of a page that I really don't understand quite well due to the weird options that the previous developer took. Unfortunately I ...
0
votes
0answers
12 views

How to Display Subcategories and its Latest Post as sections or modules under the Parent Category

I want to achieve the following: When in the parent category display as follows: Parent Category Title Parent Category Description Child Category #1 Post#1 Post#2 Post#3 Child ...
-1
votes
1answer
23 views

Show Title/Date/Excerpt of first post & only Title for rest in Query [duplicate]

I need to show 7 posts of a certain category. The first needs to appear as Title / Date / Excerpt. While the others can just be Titles of the posts. Right now I am having trouble with getting the ...
0
votes
1answer
32 views

How to create a Top 10 Popular Posts Page?

I need to create a "Popular Posts Page", that shows the Top 10 most viewed posts of all the time, based on the high number of views. Any help?
0
votes
2answers
24 views

l accidentally permanently deleted a Draft. There's any way I can recover it?

I recently started a blog and I was about to finish my second Post. I was cleaning up some stuff and decided to empty my Trash. I wasn't paying much attention to it because I wasn't expecting my ...
0
votes
1answer
24 views

How do you change the comment count in the back end posts list, to reflect unapproved comments, rather than all comments?

By default, the comment column shows the number of approved comments. I would like to either: Change this to the number of comments pending approval, OR; Create a new column with the number of ...
0
votes
1answer
9 views

datepicker value in mysql

I am using a plugin WP-Types for custom post types in which there is a option to create custom fields in which i created one date field for my requirement. Now what happens when i add any date into it ...
-1
votes
0answers
21 views

How do I get my parent page to include posts? [closed]

I'm using Wordpress.com, the menu appears to look fine but every time I click on a parent tab it doesn't include any articles that I've posted. This is my website : http://jumpthemagazine.com/ ...
0
votes
1answer
7 views

WP Database generate content for post_name column

I ran a query that deleted all content in post_name (used for SEO-friendly URLs) column. UPDATE wp_posts SET post_name = '' I thought that WordPress would automatically populate new ones if I ...
0
votes
2answers
25 views

Stripping <p> tag from elements in post

I'm fine with P tags for most of the content, since it makes styling easier. However I'd like to have span div iframe and possibly other HTML tags to not be placed inside of a p for post. I saw this ...
0
votes
0answers
19 views

Setting up automated post status change / delete system

Haha, first of all, I've been asking all my WP questions in stackoverflow and then wondered why everybody said they don't know nothing about WP. My question is simple: What's the best way in your ...
4
votes
1answer
49 views

Keyboard shortcut for updating a page or post?

What is the keyboard shortcut key for updating a page or post? It could save me a lot of time as rolling down a page draft is time consuming.
0
votes
1answer
16 views

Post title to show all characters after having it limited for preview

Currenctly I have the post titles that are being limited by a wp_trim_words. Here is the code below. // Filtering character limit on post titles. add_filter( 'the_title', ...
0
votes
0answers
45 views

correct date for each post / photo

I need help. I published three post photos on different days with different dates. Why the dates are not in sequence but inserted according to when they were published ..!? I wish that if something ...
0
votes
1answer
18 views

Alternating Post Styles on Homepage

I am trying to create alternating post styles for the homepage but can't seem to work it out. I'd like to have full width image, followed by feature image left- post title right, then feature image ...
0
votes
0answers
17 views

Get posts from other blog?

How to get 5 posts from an other blog with tags common with current post and show it on my site. thank you in advance.
0
votes
0answers
8 views

Category page that displays 3 posts from each subcategory

Alright, so my main menu I am adding category "MainCat" that has subcategories i.e "SubCatOne" "SubCatTwo" etc.. When I click on that page I see all posts from all categories on it, unorganised (below ...
0
votes
0answers
12 views

Need advice for uploading images and generating sizes

I would like some advice on creating a image upload system(this maybe a plugin or a script on a page, it doesn't matter). I have a image site were each image is an post. I want to be able to upload ...
0
votes
2answers
29 views

Get Posts that are in the current month or later

I have a custom post type that is an Event. I'm trying to query those Events and only return Events that are in the current month or later. So the event could be in the past, but it has to be in the ...
-1
votes
0answers
15 views

How to stop showing posts at TOP categories [duplicate]

I have a main category and a sub category. If Main category is birds: http://origami.directory/birds/ And Sub category is Ravens and Crows: http://origami.directory/birds/ravens-and-crows/ I only ...
-1
votes
0answers
20 views

How to show posts ONLY in SUBcategories using wordpress?

use wordpress and I want my posts be shown only in my subcategories. How can I do that? Right now my Raven posts are being shown under Birds as well. But I only want them to be shown under ...
0
votes
0answers
11 views

How to update post meta in schedule event action-function?

I want to execute something like this. What I must to change in following code? wp_schedule_event( time(), 'hourly', $string); add_action($string, 'do_this_hourly'); function do_this_hourly() { ...
0
votes
1answer
19 views

A better way to make 75% width for text and 100% for images in post?

I tried to make 75% width of paragraph in .entry-content, and also 100% responsive width of images. However, <img> is always in <p> as default. Currently, I can only make .entry-content ...
0
votes
0answers
11 views

rewrite_rule - working fine but broken single post 404

I'm having an issue with my rewrite rule, works fine here: example.com/resources/ example.com/resources/articles/ Also works fine with the pagination here: ...
0
votes
1answer
8 views

media_handle_sideload() returned post_id being incremented

Currently I'm trying to take screenshots of websites. That works great by using mshots and media_handle_sideload. However these screenshots need to be associated with my post. I've made a function ...
0
votes
2answers
28 views

How to retrieve custom field values and save again as array

I am new to PHP and WordPress. I have this scenario. There are 4 custom fields saved in page, named: _custField1 _custField2 _custField3 _custField4 What I need to do now is to fetch their values ...
0
votes
0answers
12 views

Wordpress Posts page similar to home page

i have a wordpress theme Nova lite. in home page i have many plugins in the right side and posts on left side, if click on a post i go to a page which has the detail description of that post. what i ...
0
votes
0answers
15 views

Selecting the related products manually

I have a wordpress site and i want to manually select which products will be shown as related. Is there a programmaticaly solution for this problem or a plugin to install?
1
vote
0answers
38 views

Automatically add date to the auto generation of post slug

I need to customize the slug when you add new post and after you write title it creates automatically slug. I want to add before the auto title of the post the current date on this format d-m-y so the ...
0
votes
1answer
10 views

Comments enabled, but disabled at the same time

I have comments enabled under the "Discussion" settings (http://postimg.org/image/pvc3cb8yp/). However, every new post has comments turned off by default (http://postimg.org/image/ivagy6uuv/). When I ...
0
votes
0answers
14 views

Displaying only a Summary of a post on the Index Page

I've been working on a theme for my WordPress site, as I want it to have the same theme that my forums uses. I have been using the underscores.me theme which if you don't know what that is, it only ...
0
votes
0answers
29 views

Show Post title and featured image outside of the box

I'm trying to work out my idea to show post featured image and post title outside of the post content. Let me explain better. I'm using underscore framework. There are three files there. single.php, ...
0
votes
1answer
18 views

Related posts not working in the index

I use this code in the single.php and it works perfectly. But in the index.php nothing appears. single.php: <div id="relatedposts"> <?php $orig_post = $post; global $post; $categories = ...
0
votes
0answers
33 views

How to search posts by title, id and author? [duplicate]

i am getting the details from a custom search with the below query from a parameter $_REQUEST['search'] in the URL $custom_args = array( 'post_type' => 'post', 'posts_per_page' => 5, ...
0
votes
0answers
20 views

Wordpress and copying / pasting contents from tables

I have a quick question, got a client who wants to have a Wp site and then from her old site, she wants me to copy/paste her contents in the new one, but just noticed that all her contents is ...
0
votes
0answers
16 views

add one more publish/update post button

I'm here with a issue regarding my plugin... I've added a menu that should serve as a floating quick-action menu.. For example i would like that if you click the save button it will save the current ...
1
vote
1answer
23 views

How to handle broken links created by permalink/slug changes?

If I create a page with the slug "exams" and then need to change the page's slug from "exams" to "tests", any other pages in WordPress that link to the original permalink now have broken links as ...
0
votes
1answer
12 views

Meta boxes not saving

I have a custom post with two custom meta boxes that I add using this tutorial:http://wptheming.com/2010/08/custom-metabox-for-post-type/ When I update the post, it disappears. My code: function ...
0
votes
0answers
20 views

Display posts list in a table with search

I am new to wordpress, and I need to display a table in the frontend with list of posts and a search functionality. Is there any custom code to do both the functionalites(listing and search)? NOTE : ...
0
votes
2answers
17 views

problem with creating a wordpress post slider

firstly i know i have to add some code explaining what i have done before. But honestly i had tried more than ten tutorial concerning wordpress post slider based on flexslider or bxslider or other ...
0
votes
0answers
42 views

Fake post on the fly with ajax

I would like to generate one fake post on the fly in the admin panel. My aim is to use fake content to retrieve the_title(), the_content(),the attachement url,... I will use this to display different ...
0
votes
1answer
62 views

Posts per page, reverse count

Let's say I have 10 posts on my blog with a posts per page limit of 7, this is what I get: Page 1(home): 7 posts Page 2: 3 posts But I need this: Page 1(home): 3 posts Page 2: 7 posts I ...
0
votes
0answers
14 views

How to make two permanent categories that every one has to press before posting something [duplicate]

How to make two permanent categories that everyone has to press before posting something.
0
votes
0answers
21 views

Modify first post of any category page [duplicate]

I want to modify or add some text before first post of my few category page. How I can achieve this. Which filter do I need to use.
2
votes
3answers
50 views

Cannot access current post's ID in custom plugin

I have a plugin that prepends an upvote box to the_content of a single post, sends data via AJAX back to the main plugin PHP file and calls a function to update a database value on success. Here is ...
-3
votes
0answers
44 views

Post rating without plugins?

Is there any simple post rating snippet which will work when page is cached. There is many functions, for example this: <form method='POST' action=""> <input type=hidden name=rate ...
0
votes
1answer
48 views

How to Use PHP Code In-Page?

I am looking to create a dynamic Add-to-Cart button. The problem is that I need my server to dynamically create the "add-to-cart" URL. Currently, I have a static example built here at this link. ...
0
votes
1answer
20 views

Custom Select Query pagination not working properly

I have Custom Select Query joining two tables and displaying events older than current date. Everything works fine until I try to paginate it. <?php global $wpdb; $date = ...