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

Serve different layout via URL parameter

I'd like to be able to serve up an alternative layout for single posts via an URL parameter. For example, a user going to: http://domain.com/postname/ will get the post in the normal layout and a ...
0
votes
0answers
43 views

How to include specific post terms in Facebook share?

So I already added the necessary scripts to add a Facebook share button in my posts <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = ...
0
votes
0answers
19 views

Stop post submission without losing data?

Is it possible to stop a post from publishing/updating, and instead redirect back to the post with the same data that was being submitted? I want to do this so I can show an error message, should ...
0
votes
0answers
25 views

Preview own posts if logged in

I want to make it so anyone logged in can view their own posts if draft or pending via the URL ?p=post_ID&preview=true. What is the best way to do this?
0
votes
0answers
51 views

Show Custom Post Type Results

Hopefully someone can help me here. I have a custom post type and with this post type I am able to show the title in a select option. Now what I want to happen is when that title is selected it will ...
0
votes
0answers
211 views

How to show only subcategories in parent category not parent category?

I just want to show only subcategories of specific parent category on parent category page. I have 1 parent category videos and 3 child categories art,funny,and technology of that parent. I didn't ...
0
votes
0answers
58 views

Custom post type archive with taxonomy

Hmm OK, I'll try to be as clear as possible. I have a CPT named "custom_type" with the args (one of many) rewrite('slug' => 'space') and has_archive => 'spaces'. My first question. When calling ...
0
votes
0answers
45 views

Changing the permalink structure with 'with_front' not redirecting old URL

I'm attempting to change the permalink structure of the default post type with the following code: $args = array( 'rewrite' => array( 'with_front' => true, ...
0
votes
0answers
58 views

Get fatal error when using wpdb in jQuery.post target URL

Why am I getting a Fatal error whenever I use wpdb in the target URL of my jQuery.post? Here is my code so far. My process.php is this: <?php $to = 'myemail@gmail.com'; $subject = ...
0
votes
0answers
32 views

How to let people submit without logging in?

I'd like to let my user's post without logging in here's the script with the part that requires them to be logged in, any ideas? on by passing it to just show the post content instead? ...
0
votes
0answers
91 views

Random Post Generator Links for Individual Custom Post Types

I'm trying to figure out how to tweak the random post generator code to work for each of my custom post types in addition the one I have that shuffles through ALL of my custom post types. Here is the ...
0
votes
0answers
45 views

Perform database function in target URL using jQuery.post

I have a popup which gets the users input (name and email) and sends it to a process.php so I can send an email. I pretty much have that done. But I need to add a functionality wherein it will also ...
0
votes
0answers
49 views

Category and Sub category

There are two main categories such as Job by Education and State wise jobs, if a Job related post is posted how the post can be listed in both the two main categories and sub categories,
0
votes
0answers
11 views

Problem Wordpress redirection?

In my blogsite, we can view blogs from example.com/blogs/. In each blog, all related tags are displayed from example.com/blogs/tags/my_tag/. In tags page, there is pagination. If next is clicked in ...
0
votes
0answers
210 views

Adding custom fields to the Quick Edit screen - puzzled about the column concept

We've been told that: The quick_edit_custom_box action hook will not fire unless there are custom columns present. (Source^) If so, then adding a custom field edit functionality to the Quick ...
0
votes
0answers
275 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
23 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
28 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
45 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
134 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
87 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
140 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
13 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
98 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
43 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
30 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
25 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
37 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
24 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
32 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
29 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
90 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
50 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
23 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
48 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
18 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
253 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
58 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
47 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
65 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
61 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
27 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
15 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
120 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 ...