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

Getting post ID and inserting it to the database field

I have this code that processes an entry into a Wordpress database, I would like to pick the POST_ID of the page where the item is processed and sort it alongside the time stamp that the page was ...
0
votes
2answers
22 views

Why does rewrite rule work for page not for custom post type post?

Update: I read that a custom rewrite rule might be overridden and drop any parameter variables, when the custom rewrite rule is used on a child/parent page/post. The post my custom rewrite rule is ...
-1
votes
0answers
6 views

Wordpress Images issue

I have a issue with my wordpress my all images redirecting on a specific url domain.com/wp-content/uploads/abc.jpg to domain.com"domain.com/wp-content/uploads/abc.jpg" Can someone help me figure ...
0
votes
2answers
20 views

Display all posts from selected month

I am trying to display all posts from a selected month. Currently once I select a month, only 10 posts display. I understand I can increase the amount of posts to show under the 'reading' options ...
0
votes
0answers
15 views

Posts permalink

I have created a post called post123. This post has the url: http://www.test.dev/news/post123 Now If I go into my browser and type http://www.test.dev/testingurls/post123 it would ...
-1
votes
0answers
10 views

Disable user posts if banned

I need a php code to place on a page to see if the author is banned. If so, then it should show a message This post has been disabled
0
votes
0answers
5 views

Take a received feedback item, turn it into a post

Using a feedback form post, user submitted feedback appears in the settings pages under <blogname>.wordpress.com/wp-admin/edit.php?post_type=feedback. I would like to then take those posts ...
0
votes
1answer
6 views

get “read more” with custom DB query like you would with WP Query

I am using a custom database query to fetch posts. In the post I have a break tag, which is displayed as <!--more--> in the database wp_posts table, but I can't get it to output like I would if ...
3
votes
2answers
46 views

Portable Post Links

I quite often run into a situation where I develop a site on a staging domain, have my client fill it there with content, and then when everything's approved move it to production. Now, my ...
0
votes
0answers
16 views

How to show posts under category name in the main page?

I have posts under two categories, FOOD and DRINK. How do I show the posts under the respective categories in the main page? Is there a theme which automatically does that? I am new to wordpress, ...
1
vote
1answer
25 views

Getting value from get_post_custom

I have added a custom meta box to a category that shows up fine. The only purpose of this metabox is to supply a link to the post. I can see that the box works because my test link is saved in the ...
0
votes
1answer
33 views

How to correctly split a post title

I am working on a piece of code that splits a post title for a given category. I will be doing more processing later with the tokens in the split string but I am running into issues with this. ...
0
votes
1answer
19 views

Restrict users post for himself

I am trying to build a system that lists users posts only (that I have managed to code) but also restricts users from seeing eachothers posts. If user A has his post under: domain.com/category/postA ...
0
votes
1answer
30 views

Thumbnail With Next/Prev Links Not Showing Next Post?

I am using the below code to display thumbnail with next/prev posts links on single.php page. It is working fine when next and prev post are from same category but not showing the next or prev post ...
0
votes
1answer
19 views

How do I create Comma Separated list of attached image ids?

I'm trying to grab the image id's of attached images to a post. I'm using an example posted here, but am having trouble returning the just the ids and not the entire array. My goal is to return a ...
0
votes
0answers
11 views

Send POST variable with 'post_publish'

I have a custom button which triggers my page builder to load on the post.php page upon clicking it. However, I want to send a variable as well with it. Here's what I tried $('#post').attr('action', ...
0
votes
2answers
17 views

Adding image in title

I am having some trouble with wordpress. First time user. How do you add an image in the title space in a post on wordpress. Can someone help ? Thank you
0
votes
0answers
23 views

How can I use the “Your latest posts” as a template?

Which is to say, I want a page that shows the content of "Your latest posts". To understand what I mean by "You latest posts" go to: Settings > Reading > Front page displays and one of the options ...
0
votes
0answers
15 views

WP Admin register taxonomy and post type performance

I noticed that the wp backend (admin) gets slower (and slower) when creating custom post types & taxonomies. (note that I'm not flushing any rewrite rules). Right now I'm calling the ...
0
votes
0answers
15 views

Any way to make a blog post be viewed only by the shared link?

As in Dropbox, people can share a file/folder privately by generating a shared link. With that link, any people have the access to that shared file/folder. May I know if we can do the same for each ...
0
votes
0answers
10 views

Exists filter or action that change Add New Post link?

I want to know if exists some method from filters or actions to change the link of the Add New button in backend , for example the regular url is http://wordpress_install/wp-admin/post-new.php but I ...
-2
votes
0answers
12 views

How to change post categories order per post basis? [on hold]

I got stuck trying on a way for sorting categories of posts per post basis. Does anyone know a plugin or a code to help with that? i'am not a tech guy so i ratter go with something already built..
-2
votes
0answers
10 views

Send email using Subscribe2 with wp_insert_post not in Admin section [closed]

I'm creating a new blog post through a template. I do that with the following code: if($_POST['category_name'] != ''){ $cat_ids = $_POST['category_name']; } $bmt_post = ...
0
votes
1answer
11 views

Format latest/newest post differently

I need to apply different formatting to only the latest/newest post. I need the first post to be full size image and full post, all subsequent posts must be excerpts with thumbnails. The code I am ...
0
votes
2answers
40 views

Reset/Reorder posts ID in the MySQL wp_posts table

I have a Wordpress site that is considerably popular. I am in the process of optimizing the site before adding other plugins such as the WPML plugin which I suspect will be using custom post types. ...
-1
votes
0answers
7 views

Kento Post Views counter doesn`t work [closed]

Kento Post Views counter for unique view doesn`t work well. I have Kento Post Views counter plugin in wordpress, but not working well. Sometime it appears double stats, the stats aren`t appearing ...
-1
votes
0answers
11 views

breadcrumb do not show the child pages but home page and post name [closed]

function the_breadcrumb() { global $post; if (!is_home()) { echo ""; if(is_single()): echo 'Main'; else: echo "Home"; endif; echo " / "; if ( ...
1
vote
1answer
51 views

The problem with Wordpress Importer

I've tried many times to upload theme-unit-test-data.xml from http://codex.wordpress.org/Theme_Unit_Test But when I'm trying to upload this file in WordPress Importer it gives me an error saying: ...
0
votes
1answer
24 views

Send/Publish a Post front end

i use this code to create a page with the user can send a post on front-end but i have a problem..when i click "submit" nothing happen. Where wrong? <?php /* Template Name: Rate Wine Form */ ?> ...
0
votes
0answers
10 views

Taxonomy preview page?

I want to organize my posts by "categories" (with a set of extra fields) which can be previewed. If I use the built in categories or register a new taxonomy, I don't think I get the option to ...
0
votes
1answer
39 views

Display related post by tag name of current post

I am using thesis and i am trying to display the related post by there tag name. suppose i have post and that post have three tag or multiple tag like tag:- 1) car, 2)automobile, 3) mechanical so ...
0
votes
1answer
26 views

Add something after all sticky posts in The Loop

Let's say I've got some posts and some of them are sticky. The sticky posts are displayed at the very top in The Loop. while( have_posts() ) { the_post(); get_template_part(); } How can I add ...
0
votes
0answers
14 views

how to place page navigation on a specific page at the end of posts from specific category in thesis theme

In single page of wordpress site I am trying to show 10 posts from a specific category. At the end of the list of 10 posts I want to show page navigation so user can navigate to old posts of this ...
2
votes
2answers
56 views

How to schedule multiple posts while adding new

In a WordPress powered news portal, they need to upload many news at a time on a certain period of a day, in most of the cases, after 10pm (today). But they are actually inserting news for the next ...
0
votes
0answers
15 views

Warning on subsite while creating new page/post in a multisite network

I have a multisite setup (subdirectory setup). While creating new page or post I am getting following error: Warning: Creating default object from empty value in /*****/wp-admin/includes/post.php on ...
0
votes
0answers
19 views

Post Editor: display categories from current post type taxonomy only?

I have a custom post type and a related taxonomy which is called "Asset_Type": Which is perfect. However, if I create a post with the default Wp Post type, I still seem them as categories: I'd ...
0
votes
1answer
12 views

I moved my site to another server, wp admin works so does the front page, but posts don't work

Pretty much summed up everything in the title. I can see the posts in wp admin, but when I hit the "View" link they return a 404 not found. Do you have any idea why this is happening? As a note: I ...
1
vote
0answers
15 views

How to get the last selected media alignment setting?

The default media uploader for inserting into a post retrieves the last selected alignment setting that was used. How do I retrieve that for use in my plugin?
0
votes
2answers
18 views

How to add pagination in between post and comments?

I am trying to add pagination in between post and comments. I used plugin Automatically Paginate Posts for that in which i can able to add pagination after comments and facebook plugin. Is it ...
0
votes
1answer
26 views

How can I have the posts from one word press blog show on the presentation page of another word press site

I am using the Tempera 1.2.2 theme with presentation page enabled (http://worldofmagictravel.com) and curently the blog posts that are showing on the presentation page are from a blog category within ...
0
votes
1answer
28 views

Get post ID from a link

I will try to explain my issue as good as i can. Please take a look at the following page in my website. We have: The main page Inside the main page there is a "view offer" button The "view offer" ...
0
votes
1answer
36 views

Query to get data of a post, if in category?

You would think you could use $query = new WP_Query(array( 'p' => $idofpost, 'cat' => $numbers )); to return the post if it is a certain category (or categories, or -number to exclude ...
0
votes
1answer
13 views

What would prevent my plugins from loading when forcing my posts to appear in a scaled-down fancybox.js iframe? [on hold]

What would prevent my plugins from loading when forcing my posts to appear in a scaled-down fancybox.js iframe? In a normal single.php post page, my ratingwidget and GAP (GIF Animation Player) ...
1
vote
1answer
47 views

Setting post meta data to random value during post status transition / on publish

Upon publishing an unpublished draft, I'd like the custom meta value "post views count" to be set to a random variable between 829 and 1013. I am using the code below, which doesn't always work. It ...
-1
votes
0answers
16 views

Read More text in search form

I have following code in my search.php.It works perfectly but in the result, it shows some part of the post content and then it shows [...]. I want to add Read More text their.What should I modify in ...
0
votes
0answers
13 views

Editing WP Plugin

I have a plugin that will has a dropdown box to select a post, but I want to change it so that it will select a page. Here is the original code. What do i need to change? <?php function ...
0
votes
0answers
12 views

Blank page when saving edits on post

Whenever I try to edit a product or a post on WordPress I get a blank page and the edits are not saved. I have been checking Google alot, but there it all seemed to be caused by a plug-in. I only have ...
0
votes
0answers
23 views

Order posts by custom field

I have 2 types of posts - event and news. For event category, I have a custom field - event_date while news does not have that field. I want to order the posts according to the event_date. I want to ...
0
votes
0answers
19 views

Allow certain subsites to display parent site's blog posts

Scratching my head on this one... I have a WordPress network set up with a couple of subsites. The parent site has a fairly active blog. A few subsites also have active blogs, but some have no blog ...
0
votes
1answer
21 views

Bulk replacing content of multiple pages/posts?

I have multiple pages, and some of their contents are same while others are different. Is it possible to replace the content of all of these pages with same content at once? I have thought of two ...