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

Is Hfeed class for all pages needed

Hey there :) I'm trying to fully understand the Hfeed class used in underscores.me themes. I'm developing a site on most of the underscores structure, but I can't figure out if I can remove the hfeed ...
0
votes
0answers
6 views

Creating a Publication posting on site from another site

Options : Create a New Post in a web -1 from another web -2 . or Everything is created in wordpress -2 be " copied " to the web -1 I 've used the built multsite with ThreeWP - Broadcast, but has ...
0
votes
1answer
29 views

How can you display all sibling categories to a post?

I would like to achieve a list of sibling categories to the deepest level category (4 or 5 levels deep) of my posts, for example: Post about South Sudan (breadcrumbs = World, Africa, East Africa, ...
0
votes
0answers
10 views

Detect DOM Changes in Custom Metabox

I have a scenario where I use a custom metabox that contains two tables. One table contains a select list which a user can then add details about the selection. When complete, they click a button to ...
1
vote
1answer
24 views

How to add custom content (text/image) at start of content (IN content ie the same line)

I would like to add some text or image at the start of each post (in a given post layout). I have found numerous ways to implement this before the content starts ie atop the content (of course, I ...
0
votes
0answers
9 views

Get post attached in sequence

I'm trying to do a reader, that will take images that are attached to the post.Kinda like a comic book reader, which has a button to the next image. However only saw snippets that show to catch the ...
0
votes
1answer
16 views

How can I fix a slow redirect after form submit from frontend (no plugin)?

Below is the code I'm using for my short-coded form and to add the post. Here's a basic overview of the problem I'm trying to remedy: -This form is displayed on the page at /addmember/ -On this ...
0
votes
0answers
16 views

Making a frontend posting form with file upload

I've spent the last few hours searching and trying different ideas to no avail, so I thought I might ask for a bit of help. I'm wanting to make a form that allows registered users to post from the ...
1
vote
0answers
15 views

How to compare two posts including their meta fields on a scalable base?

I have set up a wordpress in a way that posts can be cloned and be altered by a different author. whenever this is the case, i want the administrator to be notified via an additional tab in the ...
0
votes
1answer
20 views

Blog styling in SASS

Every so often I get a request like this: "Build a site using WordPress as the CMS [easy...]. Oh and we'll have a standard looking blog thrown in. No need to worry about styling, the default look ...
0
votes
1answer
9 views

Displaying the category name of a custom post type

So I have a custom query, in which I'm displaying some results posts of a custom post type called "staff". This custom post type is linked to a custom taxonomy called "department". I am able to ...
-4
votes
0answers
81 views
+100

Showing all data when no metadatafilter is active

I'm trying to understand how metadatafilters work. I've come quite far I think, but Right now I have a final problem. If a metadatafilter is selected, my page shows results fine, but I really want ...
0
votes
0answers
8 views

Possible to display X number of authors posts from another WordPress site?

Okay, I'm in a bit of a situation here and I'm trying to determine if there's an easy solution to this. The site in question is http://devwww.interfacett.com. That is the main dev site (a WordPress ...
0
votes
0answers
14 views

Deleted empty posts - menu gone

I just discovered that my site had a lot of posts with no title and content. I thought it was empty posts I had created when misclicking on create post instead of create page, so I sent them to trash. ...
0
votes
0answers
11 views

Slider for loop elements

I've created boxes which take the content based on Advanced Custom Fields from a post in a loop. Live example here at the bottom: http://solutionsmvo.nazwa.pl/memoria/ I want those boxes to be in a ...
-1
votes
2answers
50 views

Limit amount of pages shown in pagination within wp_query

I've got a query that looks like this: $args = array ( 'post_type' => $postType, 'paged' => $paged, 'pagination' => true, ...
0
votes
0answers
18 views

is_archive() not working on selected “Posts page”

I selected a page called "Actualités" in Dashboard > Settings > Reading > Posts page. Wordpress does not use archive.php when I load this page, but index.php. So I try to use is_archive() ...
0
votes
0answers
11 views

Preview Post output showing up incorrectly

I'm trying to display a post by the ID to basically show it as a Preview post. I found this post: Get wordpress post content by post id So I updated my code like this: echo ...
10
votes
1answer
307 views

Is there a action hook for the “Empty Trash” button?

I would like to run a function when the user clicks the "Empty Trash" button for posts. Something like: add_action('empty_trash','myFunction'); function myFunction(){ // My code }
0
votes
0answers
13 views

set s3 image as a featured image in wordpress post while posting the post programatically from an external source

I am pretty much new to wordpress. My requirement is that i need to make a post from an external source using ajax to wordpress site. The post data merely contain "posttitle,description,etc..." and an ...
0
votes
1answer
28 views

Theme Unit testing not importing on MAMP server - Fatal error: Maximum execution time of 60 seconds exceeded

I imported the theme unit xml file with the wordpress importer. But all of the data is imported as pages. I am following an online tutorial to build a wordpress framework and I believe the data ...
0
votes
0answers
15 views

How to get correct page info , post type/taxonomy/category/custom post type?

Ok I feel like I am mixing apples and oranges here. Yes I am fairly new to WP and the concept of pages/tax/post/custom post types etc is blurry to me. I come from joomla where we have article , ...
0
votes
0answers
9 views

Bulk delete posts with no featured image

I need to mass delete some posts that dont have a featured image assigned. Is it doable with a sql query? The only thing I could do, was to retrieve orphan posts ID as a list. Please help! :)
0
votes
1answer
25 views

get current post id inside hook

I have created this hook to send notification only when new post is published. In notification I am sending link and title of post which is newly created. For that, I need current post id inside ...
0
votes
0answers
16 views

Send Notification when new post is published in wordpress [duplicate]

Right now, I am sending notification to android application users when new post is created in WordPress. But issue is that, It sends notification also when draft is created and post is updated. Which ...
0
votes
1answer
28 views

Get results from the main wp_query

I would like to alter the main wp_query and then email the results as PDF or HTML email. I have managed to filter wp_query using custom filters and some code similar to this inside my plugins ...
-3
votes
0answers
18 views

How to do this add advertisement

Hello how to post advertisement for example, in the attachment it is on the left and right side NO FEES Low Prices 100% guarantee and right side Best Deals Free Shipping Do I do this in ...
0
votes
0answers
22 views

How can I stop the content template from grabbing media files?

I am running Wordpress 4.2.2 on localhost Mac OS X Yosemite. I am developing my first theme using underscores, and I am having a problem with the php content loop. I am using the ...
0
votes
1answer
10 views

Get all custom posts with a certain taxonomy

So the site i am working on has a Custom Post type of "Case Results" and one of the columns is "Type of Case". On a certain page I need to get all of these "Case Results with a "Type of Case" of ...
0
votes
0answers
15 views

Related videos on vimeo bringing to a new post

Hi Im building a website for my friend that houses vimeo videos. I want to create a video post page that has some info and screenshots about the video. Also with a 'related videos' section at the ...
0
votes
1answer
28 views

I would like to remove date display on photo preview

I have a web site and in the image preview of the posts, when I display images, there is a date displayed by the website and I would like to remove it. I've looked in the wordpress config but I ...
-1
votes
1answer
26 views

Get simple field value with post id

I can retrieve the simple field value by following function. simple_fields_value("simple_field_slug") But is it possible to get value by using a post id ?
0
votes
1answer
17 views

Add simple field column to the posts screen

I know that manage_posts_columns is the hook for managing the column in post screen. I can add a column with following code, // add new column hook add_filter('manage_posts_columns', ...
1
vote
0answers
24 views

Why does my site often display 404 on subpages?

About once or twice a week, my site will display a 404 page on everything but the home page. The simple fix has been to change the Permalinks settings to "Default" and then back to "Post Name" and it ...
0
votes
0answers
5 views

Transition Post Status Causes Menu Not to Save

The following code is in a plugin I'm developing. The code works and xenword_new_post is fired when a WP post is published. The article is updated by xenword_edit_post correctly when a WP post is ...
0
votes
0answers
16 views

WordPress list ALL post categories with count

I'm having trouble getting my 'All' category to show a post count. Lets say I've listed all my categories with post count and also added the show_option_all so it outputs like this: All Spring (4) ...
0
votes
0answers
12 views

How to code so the calendar widget so that each day on it is a link straight to that day's post?

I have a blog in which I post no more and no less than once per day. Every day, one post, and they're all named accordingly like this: http://everydaypoetry.net/03/31/2015/03312015/. I'm currently ...
0
votes
1answer
9 views

Comment Authors of Post On Front Page

You can get the post author on the front page, but I'd like to be able to list all comment authors of a specific post on the front page. Tried a few ways to no avail and Google doesn't reveal much. ...
0
votes
0answers
18 views

Copy/Move selected taxonomy terms to another taxonomy for posts

I've been searching for about 2 hours now on a solution of copying/moving selected taxonomy values for each posts to another. Here's the situation. I'm working on a site that has a post type of ...
0
votes
1answer
19 views

Count search results in heading

On my wordpress search page I would like to show a 'total found results'. This needs to be shown at the top of the page in a heading. I've tried this code but I gives me only the results of the ...
1
vote
0answers
14 views

Move comments only from one WP installation to another

We have a bit of situation here. We have a website (let's say it is www.oldsite.com) where we had more than 2000 posts. There arose a need whereby we had to move some 60-70 posts from this oldsite.com ...
1
vote
1answer
7 views

Permission issue with custom post type - not added to menu - by plugin

I've created a custom post type and taxonomy like this... function register_post_type_products() { $labels = array( 'name' => _x('Produkter', 'post type general name'), ...
0
votes
2answers
23 views

Post Per Page For Portfolio

I am working on listing some working portfolio. I want to list a certain amount and I was reading the post_per_page can do that. I have the following query, just trying to figure out where I can add ...
0
votes
1answer
17 views

how can I add data to posts that can be retrieved by WP Rest API

I used Custom Field Suite to add fields to all WordPress posts, but the field data does not show when I retrieve post data through the WP Rest API using /posts on a stand alone site. Is there a way ...
0
votes
0answers
7 views

Convert comments to posts and make it clickable on comment section

I am currently working on quite a big project for a client – he wants comments to behave like a post when a user clicks on them. I have read about some similar functionalities but nothing really like ...
0
votes
1answer
30 views

Show posts in archive or homepage and sort them by number of views

i am using wordpress default loop to show custom posts types on home page. Currently it is showing latest post. I need to show Products with most views first. Please tell me how can i do this. My ...
0
votes
0answers
32 views

Post/Edit/Delete Post From Frontend… How?

I've been given the challenge (challenge for me anyhow) of creating a way for website users to post/edit/delete posts based on their user name. I'd actually prefer to code something like this myself ...
-4
votes
0answers
14 views

return body text of a post by sending a link

I need a code with this functionality(in php): As input I send a link And in output it returns me the body text (or Body Copy Box) of this wordpress post. Best Wishes
0
votes
1answer
26 views

Getting post content without the navigation

I'm having a issue I don't seem to be able to figure out how to get around. I'm using the_content(); to get post content for a single post, but it returns a navigation item with it. I would like to ...
-1
votes
1answer
23 views

Different layouts for different post types in wordpress?

What is the reason behind allowing developers to create page templates so easily and not allowing the same for posts? I have 2 custom post type named Mathematics and Mechanical I made it using the ...