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

WP 3.8 – Preview button not working for editor

After finishing developing my site I updated WordPress to 3.8. Everything works, but for some reason, an editor cannot click on the Preview button in the backend. Visiting the link ...
0
votes
0answers
21 views

post author changes when editing post

I have the following function which alows me to set a post author, even if they are only a subscriber: add_filter('wp_dropdown_users', 'MySwitchUser'); function MySwitchUser($output) { //global ...
0
votes
0answers
18 views

Switch post status to draft during import

I want to export all information of a WordPress database. Then I want to import the database dump into another WordPress database without having anything automatically published after the import. I ...
0
votes
0answers
28 views

Change link to permalink inside post content

Probably this has been answered before several times.But couldn't find so sorry if it sounds duplicate. I have a post content and in that content I have couple of internal links Now inserting those ...
0
votes
0answers
49 views

Programmatically schedule post with wp_update_post function

I schedule posts in a wp plugin (WP 3.8) with the following function. My posts seem to be in the correct status after scheduling them (when editing them, date time and status are good), and also after ...
0
votes
0answers
50 views

Woocommerce product - changing metabox locations

I've been trying to find more information or a tutorial on how to move the metaboxes for products in the add/edit admin screens in woocommerce. I found a good tutorial on how to move the metaboxes ...
0
votes
0answers
43 views

how do i add posts-page slug before posts slug in permalinks

I have a posts page and the page slug is /blog my current permalink structure is /%postname%/ when i click on a blog post. say for example the posts slug is adrenaline-rush the url is ...
0
votes
0answers
86 views

Send and Embed Vine (in WP Post) on Facebook

I've written a bunch of functions in my theme's functions.php so that I can use a shortcode to post Vine videos, e.g [vine id="hx9LlrZxdqV"]. My functions will then grab the raw .mp4 URL and output it ...
0
votes
0answers
8 views

Hook into create_initial_post_types to add capabilities array?

Is it possible to do this? I don't want "create_posts" to be mapped to "edit_posts" -- would like to add to the capability array for when posts are registered to add "create_posts". Does anyone know ...
0
votes
0answers
48 views

How to search attachments (images) and posts in WordPress of a given post type

I'd like to extend the search functionality in a WordPress blog in order to search a custom post type including its attachments. I got some progress searching posts and attachments, also excluding ...
0
votes
0answers
32 views

wordpress search result page post_type order

i want to customize the search. what i need is when user search for ex: if user search for tools in search result will return result in following manners. Pages page 1 page 2 Posts post ...
0
votes
0answers
27 views

Make a paginated article (for easier reading on mobile)

I'm looking for some plugin, or perhaps more likely some Javascript package that will make me do something like mobil.idg.se on a phone (select a story, then swipe sideways to read the next part of ...
0
votes
0answers
23 views

How to change a post or page being edited to a file on the server

I am trying to change the post I am editing to a files file_get_contents() at the time of edit_form_after_title being called. I have tried using function edit( $post_id ) { $post_id = ...
0
votes
0answers
29 views

Fetching Post based on date

I am creating a website for fetching post based on date, So when the page load it display the post of current date and in that page there are two button Previous and Next so when the user click on ...
0
votes
0answers
22 views

WP Gallery Image Page Issue When 2 galleries share one image

All attached images are stored in WP_POST table and have PARENT_POST which is only one. So if I put some image in one gallery the image will belong to that gallery(post). If I add the same Image in ...
0
votes
0answers
20 views

SQL update post category by post starting letter

I need to update post category based on post first letter. E.g. all post starting with "A" should go into "A" category. so far i can only select posts starting with "A". SELECT * FROM wp_posts ...
0
votes
0answers
25 views

wp new post expert probleme?

i use rss post feed after feed no post expert or descripion just images and three point (...) and after go to post edit page i don't edit anything just change writing mode ! from html to ...
0
votes
0answers
76 views

background image in post with images on top

I am trying to create a post that consists of a background image with images over the top of it. The idea is that the top images are links overlay on the background. I have used the following css: ...
0
votes
0answers
24 views

Read More Button does not display

I have read through every existing post on this topic and they are all way too technical for me and I think my problem may be different anyway. So, like many others, I need to truncate my blog posts ...
0
votes
0answers
18 views

Add slide option on columns

Created 3 column on my site via Special Recent Posts plugin. But I want add slide option on this columns. Like this: How can I do it?
0
votes
0answers
43 views

query custom post type by date

I created a custom post type envent. I d like to filter out post in the futere. I did use the advanced custom fields plugin to make a date picker. I used following code, but somehow id does not filter ...
0
votes
0answers
16 views

Removing standard links in the posts page

Is there any way of removing the 'extras' that come on the posts page? i would rather not have the links to the previous and next posts at the top and neither do I want the "This entry was posted in ...
0
votes
0answers
166 views

Query Posts From Multiple Post Types

Is there an easier or more efficient way of querying posts from multiple post types by the date of which they were published? I read this question here: Using Query Posts With Multiple Post Types And ...
0
votes
0answers
51 views

Edit permalink before publishing a post

How can I check and edit permalink of a post before it publishes. Using permalink is not enough customized, because I want my permalink to be like: ...
0
votes
0answers
42 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
22 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
42 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
22 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
48 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
27 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
32 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
41 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
20 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
11 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
86 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
24 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
9 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
43 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
37 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
39 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
53 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
62 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
42 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
13 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
94 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
31 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 ...