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

exec JavaScript using add_action when publish_post

How can I execute some Javascript code when an user publish a post I want to do something like this before publish a post: add_action ( 'publish_post', 'custom_links' ); function custom_links() { ...
0
votes
0answers
23 views

Slideshow of posts

I am trying to find a way to achieve the following: -- I have a section in my home page that lists all posts, since i am using bootstrap, i put every post in a 3 col grid, so 4 posts for each line. ...
0
votes
0answers
68 views

Invalid post type when click “Filter” or “Apply” button in Wordpres admin Post list

I need your help to resolve 1 Issue in Wordpress admin page. I'm using WP 3.7.1 and twentytwelve template. I have some posts and pages. Currently, when I click Filter or Apply button in Post/Page ...
0
votes
0answers
23 views

custom processing for posts

Although I'm very well aware of PHP, but I'm kind of new to WordPress. So I created this WordPress site, but there's a bunch of posts that I want them to include some PHP and JavaScript and HTML ...
0
votes
0answers
64 views

How to arrange different post categories in template

I'm playing with WordPress for sometime. In my website, there will be 3 possible categories for posts, like: 'offer', 'news' and 'about' (each category with individual content). My attempt is to ...
0
votes
0answers
24 views

Post being scheduled that shouldnt be schedulded

Theres something strange in the neighborhood.. Seriously.. I think my wordpress is haunted. I've been working on a plugin that creates a post from a form and its been working fine for several weeks, ...
0
votes
0answers
31 views

Get parent taxonomy's name of custom post?

I have a foreach-loop that looks like this foreach($selected_courses as $postid) { $course = new WP_Post($postid); } where $selected_courses is an array of ids based on a form submit. ...
0
votes
0answers
35 views

Action after saving/publishing a post

I want to create a small newsletter plugin, which can send mails out of the edit post page. I will add a metabox, and don't know how to create a button in this metabox which will start my function. ...
0
votes
0answers
46 views

How to cache WordPress posts without using plugins

In a normal PHP page, I can use the following code to save the current PHP page: ob_start(); // write content echo '<h1>Hello world to cache</h1>'; $content = ob_get_contents(); ...
0
votes
0answers
29 views

Moving Posts to a new site and maintaining URLs

I am looking to move all my posts to a new site. The new site is sitting in a dev environment and will eventually be launched in place of the new site at the same URL. The blog posts will not have ...
0
votes
0answers
16 views

select particular post type by a particular category

i have couple posttype and couple category , each of this posttype have 4 or 5 category attched to it , now my question is , how to show the posttype(post) of a particular category. this is my frist ...
0
votes
0answers
127 views

External link not showing on post but showing on comment

Why is this? For example, if I input this in a post: <a href="http://i2.wearecdn.net/images/2012/11/47/article/vans/so6099412/vans-authentic-schuhe-bright-green-black-1755-zoom-0.jpg">This ...
0
votes
0answers
31 views

Load Paginated Comments Inline

Currently my WordPress blog loads the comments in paginated results (loading all at once slowed down the blog too much); first displaying the oldest 50, after clicking "<< Older Comments" it ...
0
votes
0answers
10 views

Removing the 1st line in a post snippit showing on homepage AND leave it on the internal post

I have a magazine blog where different writers of each post is credited (i.e. by Larry Hamilton, Sr. Writer). The problem that I am having is that on the homepage the snippit should look like this: ...
0
votes
0answers
51 views

Most efficient way to list all categories and display a post for each of them?

I'm working on a blog that has around 8.000 posts and 50 categories. The task I'm working on is to list all categories and for each category to show the latest post with a certain custom field value. ...
0
votes
0answers
59 views

How to create a custom search in wordpess matching with title and metadata

I want a custom search in wordpress where the search query should return results matching to post title or with a custom metadata. For example if a user is searching for "chicken" in my site, it ...
0
votes
0answers
42 views

WordPress Featured Image on Custom Import

I'm working on customizing import plug-in and I'm facing hardness assigning a featured image while importing the data. I'm uploading the images to a custom folder via FTP and each post in the CSV ...
0
votes
0answers
81 views

WordPress Page Template to Display Page Title, Custom Field, and Date

I'm currently attempting to create a page template that will display all posts by the current logged in user, a particular custom field from those posts (i.e., Item Status), and the dates those posts ...
0
votes
0answers
99 views

Sort post by category using HTML Select tag

Good day wordpress dev. Just want to ask if it is possible to sort, filter or query post using HTML Select tag? This is the design I am trying to develop. ...
0
votes
0answers
58 views

Gravity Sum list column with post_after_submission

I want to make sure I'm doing this right. I have a gravity form with a list field with three columns. Basically, Product Name | Quantity | Notes I want to sum the value of all the values in the ...
0
votes
0answers
27 views

Display Post by menu order

I want to display posts on my homepage. But I like to manage the posts using Wordpress Menu, so I can easily add, delete, and re-arrange the ordering of posts displayed in the homepage. For Example: ...
0
votes
0answers
14 views

working with newest post from plugin

I am going to write a wordpress plugin which will execute when user submits a new post. Suppose, user wrote a new post and pressed the submit button. Now, I want to save the post as a txt file in my ...
0
votes
0answers
11 views

Adding comment template on a loop into a page

I've created a loop in a page, with a single post per page. The type of post is the default "post". Now, I've resolved the problem of pagination on this page, but I cannot show the comment template on ...
0
votes
0answers
138 views

Show Future and Published posts in category archive

I want to make a list of events using a blog category. Category page shows Published and Future posts. Tricky thing is that I want to show Future posts on top with posts sorted by: 'order' => ...
0
votes
0answers
34 views

Add a custom field to post

I want add a column to my table wp_posts with name "address". So EVERY post have address like field. But i don't know how i can manage the save from Add Post(admin)... I have looked into hooks, but i ...
0
votes
0answers
35 views

Wordpress Users not showing posts

I have a fair few authors on a wordpress blog and I'm facing a problem. In the backend I can list all authors and it shows their post counts -> But then when I click into this number it is telling ...
0
votes
0answers
19 views

Update parent post when updating children of that post or assigning children to that post

I have a custom meta box that displays a count of information gathered from the children posts associated with a parent but i need the information within the parent posts meta box to be updated each ...
0
votes
0answers
61 views

Numeric Pagination Not working

I wrote a function that does (it's unrefactored, bare with me): protected function _index_numeric_posts_pagination($options){ global $wp_query; $total = ...
0
votes
0answers
30 views

Posts being replaced/deleted

As far as I know this is not theme specific, but something which has just started going weird on my WP site. I'm asking for advice on what could cause this problem. I've set up a site using this ...
0
votes
0answers
43 views

In a page I need to display posts “standard” and post “videos” with post formats

I have created a filter to display "standard" posts in a page by selecting category and it works well but it deletes "video" posts. I need to create another filter to display the "video" posts from ...
0
votes
0answers
99 views

Retina for Wordpress Posts

I was checking one of the answers here, and it says: Just create the copies of images with double size using wordpress native media settings. And then add the following code in your templates. ...
0
votes
0answers
58 views

delete custom post type using a submit form

here i'm trying on submitting to delete the post in process.. i've tried without the hidden input aswell as doing the if isset on the redirecting page when form's submit. all 3 ways failed. ...
0
votes
0answers
17 views

Wordpress Categories on post edit page

I am building a magazine style site with around 60 categories. When adding a new post, selecting its categories is a real pain with the default category tree. What I would like is for the Categories ...
0
votes
0answers
69 views

Start image download by mouse click and insert counter

i use this code: <a href="<?php if (has_post_thumbnail( $post->ID ) ): ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ...
0
votes
0answers
55 views

List all recent post by categories at the front page (WordPress MU)

I'm looking how can I put on the network homepage all recent post of my WPMU Network. I tried that script but there are not so much informations (I want the same presentation such as a normal post) : ...
0
votes
0answers
20 views

Self-installed WP: blog posts not appearing on homepage

I run the website for our company. I'm not a programmer. It's a small two-person company, so I basically have to do it alone. We're changing to a new server host soon, so I tried backing up and ...
0
votes
0answers
38 views

Query posts and return XML

Here is the short and sweet of what I am hoping to do. I would like to have a way for external websites to query mine using a game title and they would get an XML back that contains the text of the ...
0
votes
0answers
197 views

wp_update_post post_content not being updated accordingly

I have a function that is hooked into save_post, which updates / creates a product in Woo Commerce according to the creation / updating of a custom post type (video). The creation works fine and so ...
0
votes
0answers
264 views

WP blog posts index URL

I want to use WP for a site that blog is just one aspect of it, and I don't want requests to home_url list blog posts (post_type=post), I want them be to fetched using another URL. This topic ...
0
votes
0answers
87 views

XML-RPC detailed author info for wp.getPosts

I'm working with XML-RCP since a few days. I recognized that the posts only contain the ID of the author of a post. I tried to get the specified user using wp.getUser but the XML-RPC user does not ...
0
votes
0answers
62 views

Update Post with Modified Data

Task is to take class from <pre class="php"></pre>, and add that class to <code></code> and wrap all content of <pre> into <code> after that. I am querying WP with ...
0
votes
0answers
55 views

How to Batch Upload .docx Files as Posts

I need to upload all the articles from our school newspaper to our website at once. They all need to publish at a specified date at a specified time and all of them have authors (users) and an image ...
0
votes
0answers
40 views

Update page | Post shortcut

Is there a keyboard shortcut for updating a page or post? It is such a PIMA to scroll up and update manually.
0
votes
0answers
93 views

How to configure comments evolved for wordpress for pages?

I have installed Comments Evolved for WordPress to enable comments in my sites. there are so many pages and posts in my sites. i have activate this plugin succesfully. this plugin works fine with ...
0
votes
0answers
33 views

WP New Post Problem

I cannot access "New Post" OR "New Page" from WP admin. I have this as the URL: http://www.infogurushop.com/wp-admin/options-general.php?page=sharing and sometimes get this as the URL: ...
0
votes
0answers
34 views

list post by tags combination - required tags to list out posts

Im in a need to List post by tags. The posts to be listed MUST contain all the tags to be listed, not only one, but all combined. Example; mysite.xx/tag/tag+another/ should put out ONLY the post ...
0
votes
0answers
10 views

How to create custom anchore to specific past category with feature image?

I created wordpress website and add 6 statics banner. Now i want to dynamic so i created a add category and add featured image as a banner but dont know how add anchore please give me idea or aany ...
0
votes
0answers
52 views

Javascript not displaying inside post

Hi I'm trying to add a video that uses javascript inside my post within the editor. I always enter it within the HTML editor with the post and have tried several different plugins but with no luck. ...
0
votes
0answers
27 views

Gallery Short Code

I am wondering what would make the gallery short code not work and just display in posts as: [gallery] I am creating a custom theme, I have no plugins installed and the short codes I have made do not ...
0
votes
0answers
73 views

get specific post_type from blog1 in multiste

okay this is the situation I have a coupon site with more than 2000 coupons already, now i want to display them on a second domain within my multisite setup. Therefore i need the second domain to ...