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

Sub menu that links to posts grouped by year

Is it possible to create a custom menu that links to all posts grouped by Year (See screen shot) and is automatically populated as new posts are created? I have found a few posts asking for a way to ...
-2
votes
1answer
21 views

Get post from custom post type that title is like custom string [closed]

I need to get one post from custom post type named ( 'player' ) that title = "Player"
0
votes
1answer
30 views

User rank in wordpress post

I saw awhile ago on a support Forum that you can show a authors rank on a post in wordpress but I can't seem to find the post again but instead of words I want it to show an image if anyone could ...
0
votes
0answers
14 views

add_filter and tag of footer post

I need to tag of post footer in add_filter() function, For example : add_filter( 'the_content', 'vmp_add_voting_links' ); I have the above code in a plugin and i want to replace the_content tag ...
0
votes
1answer
20 views

Randomize access to post

I want to have have my users gain access to certain posts randomly when they register and then once a week randomly give them access to another post that they didn't previously have access to. The ...
0
votes
1answer
90 views

page.php showing loop of posts and not page content

My front page displays the latest posts using index.php. My page.php contains the wp_header up top, the wp_footer below, and this in between: while (have_posts()) : the_post(); ...
0
votes
0answers
18 views

edit_post_link and how to provide link

I need to upload EBUP of each post and as post footer that link to its EPUB. At first i put the followiang code and i can show EBUB link in each post: <?php edit_post_link( __( 'EPUB', ...
1
vote
1answer
16 views

JSON - Permission Error?

I have two dropdowns to filter posts on a website. The second dropdown populates based on the selection of the first, ie: [CATEGORY] + [SUB-CATEGORY] = SEARCH The problem is that occasionally the ...
3
votes
1answer
108 views

Display posts for a single post format

I saw a a url path to display all posts of a particular 'format' a few weeks ago, but I've lost the link. Does anyone know the path? It will be something like mywebsitex.com/format/image Works ...
-1
votes
2answers
90 views

Cannot exclude particular post from loop of custom post type

I have a custom post type (from a theme installed by previous developer), and here is the code of loop which retrieve the post and display them. <?php // Counter $post_count = 1; // Query ...
0
votes
1answer
68 views

Sort Custom Post Type by Category ID then Post Name

I'm creating a custom post type archive page, and I have the posts sorted by category. However, I need the categories to be listed by ID, and the posts to be listed by name. Here is what I have so ...
0
votes
0answers
18 views

Is it possible to show actual breadcrumb to the page?

For example user search any thing in post like "Hello", then result will shown on search page matching with "Hello". When some one click on any of result, there is a breadcrumb which navigates upto ...
-2
votes
2answers
50 views

Post Format Status [closed]

I'm new at wordpress theme development. We inspected too many themes but didn't see any common culture at post format status. I wanted to ask how you're using this format, both front side and admin ...
0
votes
3answers
69 views

Display only current page -> posts tags in page

I am having one page for example sample page. I am displaying 3 posts in that page. All 3 posts having 2 tags so total 6 tags. Now I want to display all those 6 tags in sample page , I have tried ...
0
votes
2answers
44 views

Make 'blog' page show content as well as posts underneath it

I have a page called 'blog' and I want to have the blog pages content at the top of the page as an intro and then underneath a list of all the posts. I've run into quite a few issues I'm not sure how ...
3
votes
3answers
126 views

Query posts distinct authors

I am trying to get post from a category ordered random, but making sure that the author does not repeat itself. So I have this query which works as intended, but there is the chance that the author ...
0
votes
1answer
14 views

Add Image Before Posts Entry Title

This code adds the image before all titles on the page. How do i add one single image before the posts entry title? function adt_abovetitle($title){ //Return new title if called inside loop ...
0
votes
2answers
52 views

How to get post creation date?

I suppose getting the first revision of a particular post and get the date, right ? How to do that?
0
votes
1answer
15 views

List of child pages fetch next results at link click

I have a list of child pages which are getting displayed as links to those pages. Im displaying it in a certain div with a maximum of 6 results. What I want is I have a "a href" which is called ...
0
votes
1answer
33 views

Get Image tag from content of post

I have create a custom sidebar, and want to show only posts images in that sidebar. I have add a post with some text and choose image from gallery in the content of that post. Now i want to get only ...
0
votes
1answer
17 views

Display post from custom post type

I have this Custom Post Type (CPT) defined at functions.php: register_post_type( 'opinion', array( 'label' => __( 'Opiniones' ), 'singular_label' => __( ...
0
votes
0answers
20 views

Add a Tag to each Post in a Category

I have large number of posts in a certain category. I wanted to add a tag to each post in that category. Here is the procedure to try but not work. Create the new tag. Get the new tag’s ...
0
votes
0answers
19 views

How can I convert Custom type posts into Posts?

I have a Wordpress site that I just updated to 3.1. I use of custom post types now, my question is how can I assign (transfer?) a created custom post type to a newly postس? For example, all my ...
0
votes
0answers
95 views

404 when remove Slug base custom taxonomy and custom post type

I have a custom taxonomy (cities) and a custom post type (spots). I have removed the custom taxonomy base slug and the custom post type base slug to have this : mysite.com/amsterdam (all spots in ...
0
votes
0answers
31 views

Post gallery as carousel

So I have this idea in mind: I would like to create custom page template, and whenever in post gallery is between tags, for example: Lorem ipsum somethinginkgsd.... [carousel] Gallery here ...
0
votes
0answers
30 views

Pagination breaks custom sub menu

I've got the following class which allows me to make a specific sub menu. class Custom_Walker_Nav_Sub_Menu extends Walker_Nav_Menu { var $found_parents = array(); function start_el(&$output, ...
0
votes
0answers
46 views

Custom template of page with blog posts list for multi-blog page

I need to use (on my theme) multi blog pages (Posts page). My idea is using page template for it, but I have a problem with getting all posts in template file. Regular loop the_post() from index.php ...
0
votes
2answers
26 views

Accessing the post content with wp_query

I have the following code from a template to view get the post information: <?php $args = array( 'post_type' => 'post', 'posts_per_page' => $count, 'paged' => $paged, ...
0
votes
1answer
39 views

Transition from Draft to Scheduled Post with wp_update_post

I am trying to transition my post from a Draft status to a Scheduled status in the future. Here is my code to do that: if($save_as_draft == "yes"){ $post_status = 'draft'; $post_date = ...
0
votes
1answer
19 views

Publish a Post on a Future Date Automtically

I would like to give my user the ability to publish a post and the post only becomes visible (like with a published status) when the date hits. I'm using the following code to try and set it to ...
1
vote
1answer
21 views

post_parent is 0 when uploading new files

I have a custom-type post I'm trying to attach some audio/wav files to using the wp-admin UI. When I upload the new files using the Add Media popup those get saved and embedded into the post just ...
0
votes
0answers
37 views

Getting the current page post_id in function hooked to wp_ajax?

I have created a kind of a social network where when a user registration happens, I create a post (custom post type follower) for each user and assign its post_id to the user ( ...
0
votes
0answers
36 views

Insert <!--nextpage--> after every x img tags in a post

I want to insert <!--nextpage--> after every 10 image tags in a wordpress post (if there are 30 images, I'll get 3 pages), but I can't seem to figure out how to do it. I found a php function that ...
0
votes
0answers
43 views

Show posts between two Custom Fields date

I'm trying to fetch all the posts from today to next week by using some custom fields inside posts, using Advanced Custom Fields. Everything was working until now, because it doesn't show posts from ...
0
votes
1answer
17 views

I don't want the complete article to show on homepage

When I post articles the complete article shows in the home page. I just want it to show Intro and then read more. I did not create the site myself and just taking on the role of admin of the page.
0
votes
1answer
70 views

get_template_part for custom post type content not working

I have a custom post type of Textorial with necessary template files: textorial-type.php single-textorial.php content-textorial.php The idea is to have a custom layout for the post type and use ...
0
votes
1answer
25 views

Adding editable content above posts

I want to have a content area above my posts where I can use the visual composer to edit the content. However, when I go to manage>pages and then to the page which has my blog posts, and try to add ...
0
votes
2answers
116 views

Display posts by month

I want to achieve something like this, I don't know if it is possible and what would be the best way to do it: The way I query the posts is like this: <div class="post"> <?php global ...
0
votes
1answer
21 views

Use post in multiple places on a page with multiple posts

I have three custom post types: workouts, news_items, and business_items. I'm trying to display the top (most recent) item from each on the home page and I'm trying to put the featured picture from ...
0
votes
1answer
41 views

Single post full screen template not inheriting worpress role permission

In addition to the normal single post view on my website, I added a full screen version of the post with entirely new set of styles. In this full screen option, everything is removed except ...
0
votes
1answer
29 views

Visting slug for 'post' post type shows 404 not archive?

I'm trying to get the WP default post type 'post' to show under the slug of /news/. I've changed the permalink structure to /news/%postname%/ which is fine when visiting a single page, however when I ...
0
votes
1answer
34 views

How to get post_content while the post is being edited

I'm building a plugin that uses custom posts. The custom post uses metaboxes but some of the meta fields need information typed in the post editor. I'm trying to use post_content to retrieve ...
0
votes
0answers
15 views

Add “New” label to post not older than 24 hours [duplicate]

I did not found many results when searching in Google and the items that I found did not help me very much. How can I add a label "New" to posts that are not older than 24 hours? Is there a function ...
1
vote
1answer
32 views

Categories list into registration form

I'm trying to create a custom user registration form used for Educational website. Is it possible to automatically retrieve categories of posts (custom posts) in the registration form. The form ...
0
votes
1answer
20 views

Call image from post on index page?

I am facing one problem in which i dont understand what I used to call the image from post in WordPress themes on front page where n numbers of image are show with there description and user can ...
0
votes
0answers
35 views

How to display data with pagaination on backend?

I am new with WordPress development so I have no idea how to do this functionality with WordPress. I got one task to display some data from database and have to display records with pagination(Just ...
0
votes
1answer
84 views

Guest Author - How to display posts on /author/ archive page

I have used the Advanced Custom Fields plugin to create all the data elements for a company leadership directory page and management bio pages. On the site blog, management will not be posting ...
0
votes
0answers
71 views

How can I display excerpts of my Recent posts on my static homepage?

I am using the openstrap theme. I want a static home page on my Wordpress website, I have already set this up and have a bit of content on it, the next step is I want to have atleast 4 most recent ...
0
votes
1answer
48 views

Changing default WP-Site creation date

I started creating WP-Site this January-2015 but as per my project I need to include posts which are from year 2007 I created posts with the required date now I used a calender which sorts posts when ...
0
votes
0answers
27 views

Correct way to set up a template which will list all posts/posts by category/posts by year?

Been working in WordPress for a while but, funnily enough, never had to build a blog page within a website. I'm pretty there's a "correct" way to do this, which I want to learn, rather than the ...