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)

1
vote
1answer
40 views

Posting blog entries in screenplay format

Recently I've been working on a series of scripts and wanted to publish them on my site as blog entries, largely because having them just sitting on my hard drive with only a few people reading them ...
0
votes
0answers
12 views

WP Query for newest post of each taxonomie of a custom post type

I'm trying and googleing since 2 days, but cant figure out how I can display my 8 needed posts. Details about my structure: I'v created an custom post type "projects" where all the posts about ...
0
votes
0answers
11 views

User roles: edit_post set but custom post type & posts not editable

I have a custom post type with the capability_type of "post". I then have a new user role with the following set: 'read' => true, 'edit_posts' => true, ...
0
votes
0answers
14 views

Linking categories and assigning posts in bulk

I am looking for a way to link categories in such a way, that e.g. if you assign few posts to a category, they will automatically be assigned to another category which is linked to the first one. Here ...
1
vote
0answers
321 views

How to make a bilingual front-end post using the plugin WP User Frontend and Polylang or qTranslate?

I'm implementing a bilingual blog site (English and Japanese). It contains front-end user posting and user registration. So, I used WP User Frontend. For multilingual content, I tried qTranslate and ...
0
votes
1answer
45 views

form $_post action value gets truncated after it passes through two forms

There are three pages page1, page2 and page3. When I press submit on my first form on page 1 my group name field can be catched with $_POST['groupname'] in the destination page but in the page 2 I ...
1
vote
1answer
407 views

Replacing all attachment links in post with media file link

I'm working on a Wordpress site, where all images inside posts are linking to the corresponding attachment pages. I want to use a lightbox but obviously this would require changing all the links back ...
0
votes
0answers
27 views

Passed variable gets undefined variable error on insert on next page

I am passing a variable with $_POST to another page and on the destination page I want to perform an insert operation and want to use that passed value . The variable "$mygroup" is coming from a forms ...
-1
votes
1answer
30 views

Replace existing pages with new pages, keep menu links

I basically want a plugin or method that would give the same functionality as 'Enable Media Replace' but for replacing pages and posts, instead of redirecting, or manually editing. I've searched high ...
0
votes
0answers
13 views

Get adjacent post data, ordering by custom field values (by Wp-query?)

I want to build a custom version of the adjacent-function of wordpress post. I have two custom field values for each post, my layout is the following: metafield1 value 1 & metafield2 value 1 | ...
0
votes
1answer
54 views

How can I extract the URL of a link from a post?

I am pretty new in WordPress and I have the following doubt. I have a page that take some informations from a list of post that belong to a specific category and show these informations into ...
1
vote
1answer
75 views

Programmatically inserting page breaks

Is there a way to add a page break in WordPress programmatically? I'm trying to do this within a PHP loop that goes inside a post as a widget, it generates information that it gets from YELP through ...
2
votes
1answer
37 views

How do I create an archive page for standard posts?

I've been tasked with creating a portfolio website for a client who also wants a blog. What I've Done Thus Far: I’ve created a custom post type to separate the portfolio work from the blog posts and ...
0
votes
1answer
61 views

Get posts by category or author

I want to get posts from a particular category or if the post by a particular user . It seems we could only have AND condition in wordpress . I know the below code is wrong but this is what I need to ...
0
votes
1answer
46 views

List all posts, pages and custom post types in admin

I want to create a drop down in my WordPress admin containing all posts, pages and custom post types. The return value should be a link to that page or an ID of the page. Is there something build in ...
0
votes
0answers
7 views

Support permalinks with either id or post_name

On my site, I use the default permalink format http://example.com/?p=123, where 123 is the post ID. Now, I need to import some posts from a different platform, where links look quite similar: ...
0
votes
0answers
18 views

must save twice to trigger the wp_schedule_single_event

Code is as below. I set a custom field named sliderScheduledClosed stored a datetime. I want to schedule an event when I publish the post. add_action('publish_slider', 'IUI_schedule_event', 10, 1); ...
0
votes
1answer
46 views

Hide posts belongs to few categories in homepage

Currently I am using all the latest posts are displaying in the homepage settings. But now I need to hide few specific categories to be displayed in the homepage. All the post belongs to those ...
0
votes
0answers
16 views

When categories are nested underneath a parent, should the parent category also be checked?

At some points I have a three deep nested category structure, when posts are assigned to a category that has a parent, should both the parent and child category be ticked? Or just the child? I know ...
1
vote
0answers
26 views

publish_post conflicts with save_post

my plugin has a save_post hook used to save the custom fields. now I add a publish_slider hook used to change a checkbox's status(slider is a custom post type). but it doesn't work properly. the ...
0
votes
0answers
91 views

Bulk renaming of post that keeps the old link working?

I have a very old wordpress site and started using a post naming convention that I now want to change. It's a video gaming site focused on modifications. The first part of the post title is the name ...
0
votes
0answers
87 views

Import facebook feed as a post in wordpress with 100,000 of posts

I need to import facebook feed of one of my facebook pages as posts to wordpress site using facebook graphic API. For this purpose I am fetching the json file with all the posts from facebook in it ...
0
votes
0answers
17 views

Custom Field value to

I don't know how I could solve this problem. I'm importing a csv file and this contains also an imglink (external) and it will creat a post draft for me. What I want to achieve is that the imagelink ...
0
votes
2answers
49 views

Is it possible to have dynamic post id # in add_menu_page()?

I use the add_menu_page function in my custom theme builds but when I export my local copy of the site and import it in the production site some of post id numbers change and I have to update this ...
0
votes
0answers
39 views

Display iframe or embeded posts on homepage

In my Blog there are many blog posts with a combination of iframe video posts and images posts. I need to filter the posts in two categories 1) Posts with Video (iframe or embeded) 2) Posts with ...
0
votes
0answers
25 views

Post count is wrong in all categories on backend and frontend

Admin area is showing wrong post count for all the categories (and I have 300+) It's showing more posts than they actually are, even for new categories with no posts at all shows like 5 or more. I ...
0
votes
0answers
16 views

Backend Sidebar Add Another Post Menu

Once logged into WordPress, looking at the sidebar menu. How can I make another Post Page Menu with a different name? Then make my own posts under that new Post page. If Pages are pages, and Menus ...
3
votes
1answer
3k views

Restrict custom post type to only site administrator role

How can I remove this custom post type from being shown in the dashboard for non admin users? /* Add Websites Custom Post Type */ add_action( 'init', 'create_website_type' ); function ...
0
votes
1answer
55 views

How to make post button to a random post

As you can see on my website http://www.kieshetsnel.nl/emma-watson-natalie-portman/ I currently have an Arrow left and right on the screen. But when i click next post (volgende keuze in Dutch) I ...
0
votes
1answer
72 views

Facebook share thumbnail not showing until refreshed

When I FB Share any post only thing that appears is text and no thumbnail like this: I need to close this window and retry sharing few times (or just F5 few times) and eventually thumbnail will ...
1
vote
0answers
19 views

Create a PDF from the rendered post (like displayed in the browser) [closed]

I would love to enable our co-workers to download single posts as PDF files. Problem is that every PDF solution I've seen only exports the posts text, but leaves out all the stuff that's rendered or ...
0
votes
0answers
28 views

I am not getting result from php function that is json encoded

So I am trying to build an array of post data. But when I json encoded it I am not getting back the post object data from the database. Here are my two functions public function ...
0
votes
0answers
18 views

“Pagination” for Posts with next/Prev navigation outside loop

I would like to list all posts from a category or all posts on one Page and add a navigation on the right side, so outside the loop which loads my posts. i found this post whick has a similar ...
0
votes
0answers
11 views

How to retrieve a post by inputing the url in a custom field and displaying it on an options page

If have an options page where I have a custom text field and I want to paste a url of a post in that custom field and retrieve the Post Title and Excerpt and display theme above the custom field and ...
0
votes
0answers
19 views

How to Edit Layout of a Particular Post Format?

I am looking to edit my theme layout of the aside post format. I have already included the add_theme_support() function to include the aside option when creating a post. However, the layout of an ...
0
votes
0answers
18 views

How do you remove the ability for a user to click on a blog title to redirect you to the blog page?

I am building a blog on Wordpress, but I want all the content for each post to be displayed under one page, (ie. if I had 5 posts on my blog page, they will all display on that one page). But if I ...
0
votes
0answers
38 views

Loading posts from another wordpress database on the same server

I've searched quite a while and found several solution but apparently I'm doing a lot of stuff wrong. I'm having 4 different Wordpress sites and need to load the latest 2 posts of each site. For ...
0
votes
0answers
41 views

Query post by meta key of another table

Im using event calendar plugin where I can set event date for posts and it shows in calendar widget. Everything is working as inteded but I would also like to query post by event date. I know how to ...
1
vote
2answers
1k views

Get posts of ONE taxonomy term of custom post type

I have a custom post type called portfolio and a taxonomy called locations. In the taxonomy I have various terms, like paris, berlin, london etc. How can I get only the posts which are related to ...
-1
votes
1answer
45 views

Show all posts shows a blank white page in WP 4.2.2 [closed]

In show all posts I have changed the number of items pe page from 20 to 500 and after that I got a timeout as it could not display all the posts. And now every time I go to show all posts I get a ...
0
votes
1answer
45 views

Show more than 200 images in one post

I have gallery post and its have more than 200 pictures in single post. So, when i open this post, Its take more than 2 min to open page, and the images not open fast. What can do ?
0
votes
2answers
48 views

Display News Posts by Day with Post Counter

I am building a site client who makes anywhere from 20-50 news posts per day. I'd like to have a news feed where it shows the date / post count as an H3 and then list all the posts for that day ...
0
votes
2answers
610 views

Display post category in foreach loop with category link

I have the following code to show current author post lists with post thumbnail, post title, post date and post category. function my_get_display_author_posts() { global $authordata, $post; ...
0
votes
1answer
40 views

Display Published Posts Count for Certain Time Period

I need some kind of plugin (if it exists) or a wp query which would display number of posts published within a certain time range. For example: I need to know how many posts have been published ...
0
votes
0answers
45 views

Front-end Posting: Allowing user to view/edit their pending post

So, I have a front end set up. I can write and submit a post. I have a list of my published and pending posts, which I can view and edit as an admin. I created a subscriber, but 'he' cannot access ...
0
votes
0answers
7 views

Post / Product publish time not accurate enough

I am automatically uploading 800 new products to woocommerce each week, after removing all the previous ones. But the next / previous product buttons are not working strictly chronologically as it ...
0
votes
0answers
13 views

Link Post Titles to External URLS

I have a site full of 1000s of newsfeeds. When user clicks on the title, it takes the user to the article page, then the user must click 'read full article' to go to the external url. Is it possible ...
0
votes
0answers
23 views

Delete/remove post excerpts?

I have post excerpts in my posts generated by some plugin. I do not use them. Is there any function which will delete them on post publish, or even better remove that feature?
0
votes
1answer
47 views

How to get all inline images in post content?

I want to get all inline images in the post content. The get_children() method doesn't work for me because they could add the same photo twice. Also this only gets "attached" images, and they could ...
3
votes
1answer
264 views

Getting Position of a post in a category

I have one post id x, one category id y. I want to retrieve the position at which the post will appear in the category. It is confirmed that the post is from the category Post order will be based on ...