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
20 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
10 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
16 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
0answers
7 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
20 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
38 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
22 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 ...
0
votes
0answers
14 views

Adding a link from post excerpt to full post — irrespective of excerpt length

On an archive/blog page, I would like to automatically display a link from the post excerpt to its corresponding full post -- even if the post has an excerpt but the excerpt is shorter than the ...
-2
votes
1answer
23 views

Canot save post if any meta box was empty

I need to dont save new post from custom post type if any meta box empty. So we must check the meta if empty, we mus show me " You must fill all meta box value before save post" else if all meta ...
1
vote
2answers
40 views

How can I show a custom post type for users in the authors.php file?

Here is the code I have. It is showing 100 custom post known as campaigns. I need it to only show the current users. So author/joe should only show joe's campaigns. <?php ...
0
votes
1answer
43 views

Custom post type single (permalink) throws a 404 error

I'm working on a website that has Woocommerce installed (also a CPT if I'm right, but that one works fine). This website has a custom post type for jobs, this cpt has posts that are linked to in the ...
1
vote
1answer
13 views

Authors in menu, template list post by author

Can i get a specific author in main menu and when you click on it to see all the post buy this author. Also i need to see all posts ordered by authors too in the menu. In what template should it ...
0
votes
0answers
11 views

Custom Page Option [closed]

How to add/change custom fileds in Page Options? Like Clients, Skills, etc. Theme is Versatile. I'm new in WordPress.
0
votes
1answer
24 views

Edit post meta direct from post.php?

Does anyone know of an easy way to be able to edit ALL of a single post's meta at once ie on the post.php &action=edit page? As some of the meta has been put in there with the update_post_meta() ...
0
votes
0answers
7 views

Time difference error while publishing posts to word press via xmlrpc

I have a blog which i update content on the daily. in addition i have a system that pushes content(posts) to the blog via the WordPress xmlrpc file. My blog and the content pushing software are on ...
0
votes
1answer
20 views

Display the latest post from some selected authors

I'm building a slider that will display the latest post of a few selected authors. So far, I've written this: <?php $args = array( 'post_type' => 'post', 'posts_per_page' ...
0
votes
1answer
19 views

Call posts of particular category in a page

As per my requirement I need to call posts in a page for example Iam having a menu item Current Tenders and having a posts category Current Tenders now I need lo display posts related to current ...
0
votes
2answers
30 views

Display posts both in list and grid view?

I need to display posts both in Grid and List views the user can able to choose the view that means I need to add an option to switch between both views please someone help me to achieve this either ...
0
votes
1answer
20 views

How can add metabox for post of specific category before save post and after save post

I want to add Metabox for the posts of category=5 and i am using the following code but unable to do so . So please help me out-> add_action('admin_init','my_meta_init'); function my_meta_init() { ...
0
votes
1answer
34 views

wp_query if have posts show date but not in loop

I have a wp_query set up to show events and I want to show the date if we have posts and if we do not I do not want to show the date. Here is my code: <?php $today = getdate(); ...
1
vote
1answer
31 views

Can wordpress differentiate between added and updated posts?

I've been looking trying to find an answer as to wether it is possible to get wordpress to display if a post has just been added(published) or if it was simply updated? (This is to add on a homepage, ...
0
votes
2answers
21 views

Custom Posts on Different Pages

So first off let me start off saying I'm new to WordPress development. I know HTML/CSS/JS like the back of my hand, but PHP and it's functions are new. Anyway. My problem may be simple, so here goes: ...
0
votes
0answers
14 views

Multiple Post Repeat for Related Post Loop by Category

This is my code: if ( is_single() ) { $categories = get_the_category(); if ( $categories ) { foreach ( $categories as $category ) { $cat = $category->cat_ID; ...
0
votes
0answers
14 views

Adding category in wordpress - custom

// Auto post ( Unique File Date ). $postData = array( 'post_category' => array( '0' ), 'post_status' => $Post_Status, 'post_type' => $Post_Type, 'post_date' => ...
0
votes
1answer
25 views

Add custom class to existing menu items from custom meta

I would like to add a custom class to my existing menu items. The problem is, that I would like to do something like this: <li class="<?php echo get_post_meta($post->ID, "_icon", true); ...
0
votes
0answers
13 views

How to check if certain user has viewed a certain post?

Is there a way to check if a user has viewed a certain post? It'd be nice if I can check in the admin panel. For example, if I click on USERS on the panel and select any user(to get access to this ...
0
votes
2answers
41 views

How can I set a maximum allowed post size and number of posts submitted?

How can limit the size of posts that authors can create on my WordPress site and the number of posts they can create?
0
votes
1answer
21 views

WP Query between posts custom fields [duplicate]

I've tried doing a WP_Query based on a custom field, which name is 'date' and value is something like '14/01/2015'. I want the query to give results when 'date' is between today and tomorrow. All ...
0
votes
1answer
16 views

Showing content from Wordpress ruins page CSS using WP_Query, without, content does not show

I suppose I have a two pronged issue here. I'm trying to show wordpress posts on my own site. I have a page where people can view the list of articles, then when they click on one it takes them to the ...
0
votes
1answer
22 views

Some comment box wordpress in 1 post [closed]

Can I add more sections to comment on the same post? For example, I have an Entry and it has 4 tabs, In every tab you need a comments section, Is this possible? Thanks
0
votes
0answers
14 views

Post Publish Metaxbox on a Front End Page

When I create a post within the Admin section in the top right there is a Publish meta box that you can chance the Status, Visibility and Publish date. I created a page to allow a user to create a ...
0
votes
1answer
20 views

Adding post date will not insert new post

$postdate = '2010-02-23 18:57:33'; $postData = array( 'post_title' => $attachment->post_title, 'post_type' => 'post', 'post_content' => $image_tag . $attachment->post_title, ...
0
votes
0answers
16 views

auto post with custom date php wordpress

When i upload the image from wp_media, this below code runs: add_action('add_attachment', 'auto_post_after_image_upload'); // Wordpress Hook function auto_post_after_image_upload($attachId) { ...
0
votes
1answer
39 views

Wordpress pages taking on the names of posts

We have several pages and a number of posts. Some of the pages especially the home page seem to take on the name of particular posts. This includes the slug. Despite repeated attempts to rename it, it ...
0
votes
0answers
31 views

Template for portfolio, posts existing but still “not found”?

I'm updating a website which wasn't made by me initially. The website has a portfolio-template which is used on severel sub-pages in the menu, and each sub-page has its own category. Now I want to ...
0
votes
1answer
25 views

Get current post's nav menu name (term name)

I want to get the nav menu name by the current post ID. After hours searching in my database I found out that navigation menus are basically just terms of the taxonomy 'nav_menu'. But for some reason ...
0
votes
1answer
25 views

How to set a certain Custom Template to a Single Blog Post

I need to set a custom created template to be used whenever a single blog post is displayed. I can see how to assign custom templates to pages under Page Attributes > Template, but how do I tell my ...
0
votes
0answers
27 views

Article navigation multiple pages - wp_link_pages

I am currently building an archive-esque page with included page-navigation. So far so good, here's the current situation: <?php wp_link_pages('before=<p ...
0
votes
0answers
23 views

How to display single arbitrary facebook post with a shortcode?

Does anyone know of a plugin that can show a single recent Facebook post with a shortcode that works something like this: [fb-recent post="0"] [fb-recent post="1"] where post="0" refers to the most ...
0
votes
0answers
12 views

Delay update feedburner

I have problem in delay get or update my account in feedburner. I've searched around and can't find anything on this, so thought I'd see if y'all could help. I am successfully scheduling posts and ...
0
votes
1answer
37 views

Get images from the post

Using Add Media I am inserting images in the Post.I want to reterive these only these images on the single post page.I am using get_attached_media function to reterive these images.But it returns an ...
1
vote
1answer
40 views

How to add posts to wp_query result?

I have 2 user groups: authors and clients Authors can publish posts and specify in metabox for wich client these post is ment for. Client can publish posts and view, edit posts, created by Authors ...
0
votes
0answers
36 views

How to get images inserted by shortcodes ultimate plugin

I have inserted images using shortcodes ultimate plugin.The shortcode is [su_custom_gallery source="media: 4230,4229,4228,4225,4227,4226" limit="40" link="lightbox" width="900" height="600" ...
0
votes
0answers
17 views

Sorting posts alphabetical that have single digits

I have post titles that are like this: Episode 1 Episode 2 Episode 6 Episode 10 Episode 14 I try to list posts alphabetically but it ends up showing like this: Episode 1 Episode 10 Episode 14 ...
0
votes
1answer
16 views

Make “Post published. View post” Open in a New Tab

How would I make Post published. View post(edit and pages as well) always open in a new tab? I have this in an iframe but it looks weird when a post is in it.
1
vote
1answer
20 views

WordPress Local And Live Site

I have a local WordPress install that I am using to test a new theme out. When I initial set up the local site I was able to import my database and media content. However that was a few months ago. ...
0
votes
1answer
37 views

Removing rel=“nofollow” from links posted in Post Content

I am running wordpress for my blog EasyPadhai. I am writing a posts and I have included links to my Android app EasyPadhai for my users. But all links to app are turning in nofollow links. Also ...
0
votes
0answers
8 views

Sidebar Categories Questio

I added five categories through widgets on my primary sidebar. Under each of them, all of my main categories that have posts in them are coming up. However, I only want certain categories to come up ...
0
votes
0answers
22 views

Displaying Page Title on index.php

I have my posts page set as index.php, and on there I have my main heading (as I do on all pages). I'm having trouble displaying the page's heading however. The page is called 'Blog' in WordPress, ...
1
vote
1answer
18 views

Delete post by giving its link

It is possible to delete a post in WordPress using its link only? I can't find any possible way to do this.