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

Order posts by term in alphabetical order

I know it's possible to order by terms, but having migrated a huge amount of data from a different CMS, I'm left with a list of brands that are taxonomy terms. I'm using ACF to present the terms as a ...
0
votes
0answers
20 views

Categories box not showing on post edit pages

for some reason I don't get the Categories meta box on my standard 'post' edit pages in the wp admin. It shows up on my custom post types, and they show up in the 'Quick Edit' view on the Posts list ...
0
votes
0answers
27 views

Sharing tables between 2 different websites based on the same database

I have 2 different websites installed on the same database. The 2 websites are sharing the users tables, but I want them to share the posts tables too. I tried to do it by editing wp-db.php. After ...
0
votes
0answers
26 views

How to get new posts via Ajax when using Waypoint.js

So I have an ajax call in one of my pages when you hit a certain waypoint within the dom. I then call a Wordpress function that I have created. The function is working in that it gets the first posts, ...
0
votes
0answers
7 views

post_row_actions to print pdf

I'm a bit of a newbie wordpress dev so apologies if this seems like a bit of a stupid question to ask. I'm trying to add a plugin which will allow me to print posts as custom styled pdfs. I've added ...
0
votes
0answers
19 views

WordPress Post directing back to homepage

I have a very weird problem. Just one of the posts on a WordPress installation is directing back to the homepage when you try to view it, either by clicking a link or pasting into the URL. This is an ...
0
votes
0answers
11 views

Linking Page, Posts & Category together

I want to create a page named Works with the built-in template called Project Listing. And have to make individual posts in the page Works. However, I am not able to do it. Though I can create the ...
0
votes
0answers
22 views

View all multisite posts from one “hub” site

I'm creating a centralized blogging network for a client. The idea is that, on one of the many sites, the client can see a list of all the posts on all the sites. The interface for this would ideally ...
0
votes
0answers
24 views

How to add New Post On clicking a button?

I have a custom post type name guide_tutorial.As I add new post It creates a button name Add Pointer.On clicking the Add pointer button its open a popup which have details about pointer .Now I want ...
0
votes
0answers
20 views

Why are all posts older than a certain date missing from filtered Post lists in wp-admin?

I'm experiencing a strange issue where all posts older than a certain (seemingly arbitrary) date do not show up in the Posts manager, but only when looking at a filtered view (by post format, category,...
0
votes
0answers
46 views

get_object_taxonomies() returns null for custom post type

can any body tell me what will be the issue in function get_object_taxonomies() which returns null for custom post type..... the function is given as function insert_city($term) { echo $term."<...
0
votes
0answers
27 views

Is there a global page/post/product/anything ID?

I am working on compression plugin and need to save compressed styles in to a file. Compression process is done but I need a unique page ID for any WP page in order to save and name the compressed ...
0
votes
0answers
15 views

How to set the template of a page created via plugin with template inside plugin

I've been trying to make a plugin that creates a couple of pages and then sets their template. This issue is that I have the templates inside the plugin. To create the pages I'm using: $post = ...
0
votes
0answers
19 views

Multiple tags to create an RSS feed not working as docs describe

I'm trying to create an RSS feed that is based off of AND not OR with tags. In the codex https://codex.wordpress.org/WordPress_Feeds it says that you can use the format: http://www.example.com/tag/...
0
votes
0answers
23 views

Can not be able to insert the custom post taxonomy

here is my code in which i can't get insert the term in custom post type taxonomy .as in the the code in wp_insert_term($term,$taxonomy,$args); cannot work , while it is working if i put a string ...
0
votes
0answers
46 views

Add post order to function

How to add post order to this function? I would like to display most recent post from newest to oldest: <?php //Establish first post check variable $first_post = true; query_posts('category_name=...
0
votes
0answers
31 views

How to get post count including nested categories

I am traversing through categories using function like this function hierarchical_term_tree($category = 0) { $r = ''; $args = array( 'parent' => $category, ); $next = ...
0
votes
0answers
16 views

Hook and prevent certain posts from being imported

0 down vote favorite I'm using WP ALL Import to import thousands of posts from a custom XML file. I filter it the best I can with XPath, but some conditions have to be done in PHP. How can I hook ...
0
votes
0answers
24 views

Categories option not appearing in post meta box

While create new post, categories options is not visible in screen options. where I can find to show categories option while adding new post?
0
votes
0answers
17 views

How can I deny the user the insertion of emails in topics / comments and stay on the same page?

I have this function that checks whether or not a content contains an email: function fw_check_if_content_contains_email( $content ) { if (preg_match('/\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b/...
0
votes
0answers
23 views

Issue linking to custom post type posts

I am having issues linking to a custom post type post. There is a shortcode that loads a list of posts for "applications" on the site I am working on. I am not sure what code to use to have it call ...
0
votes
0answers
37 views

First hook to use current page post id

I'm trying to find the first hook that will pass the current post ID, as I would like to update the current post (by getting its ID) and the variables submitted to that page. This is the code I'm ...
0
votes
0answers
42 views

Fixing the WP Post Object for Custom Route

I'm currently in the process of building a custom plugin for a client that involves displaying front end user profiles for any "subscribers". These profiles will be populated with various user meta as ...
0
votes
0answers
11 views

Category specific attribute

I wonder what is the best way to define specific attribute for category. My idea is following. I have some categories that are just wrappers, they don't contain any post so they are only parent ...
0
votes
0answers
22 views

Query returning 1 post per page but saying it has 71 pages with almost 1500 results in total

Something is definitely not right here and I honestly cannot understand what it it. After I put this code on one of my custom made plugins, although it makes the search correctly (the result ...
0
votes
0answers
9 views

Automatic format non-formatted imported posts

I imported a lot of posts, some of them are good formatted, but most of them are non-formatted, without spaces after comma or dot(s), no new paragraph. In fact this is short example of article: Hi ...
0
votes
0answers
27 views

How to Publish a Post Multiple Scheduled Time

I want to publish a post in WP, but not immediately. So what I am doing is like this- From this tutorial. So, I am getting only 1 time when the post will be published. But I want to the post be ...
0
votes
0answers
16 views

Rating from a mobile app

I am looking for a way to allow my users to submit post ratings from my native mobile app. I have found this plugin : https://github.com/lesterchan/wp-postratings The calls are made by ajax to : ...
0
votes
0answers
28 views

Is it possible to display QUICK EDIT as default for all posts in wp-admin/edit.php page?

When we visit wp-admin/edit.php it display the post link. If we need a edit a post we need to click QUICK EDIT Link or Edit Link. Is it possible to display QUICK EDIT as default for all posts in wp-...
0
votes
0answers
13 views

Custom tinyMCE control wrapping wrong

I'm adding a custom button to my visual editor, so that the client doesn't have to manually input shortcode. It's a simple column one. So when you select your text, and click on it, it wraps the ...
0
votes
0answers
26 views

Custom post type category copies posts from “Posts”

I'm creating a custom post type and added function pricing_init() { $args = array( 'label' => 'Price Tables', 'public' => true, 'taxonomies' => array('category'), ..... And ...
0
votes
0answers
20 views

List all post from different post type on one page by CPT UI

I am a php begginer. I am using CPT UI plugin for one of my projects - free resources for designers. The idea is to have different pages for different type of resources. So I will create different ...
0
votes
0answers
19 views

How to add a pagination in custom post type maker plugin

I declared testimonial using a testimonial page template. I want a pagination in testimonial menu. <div class="testimonial"> <ul> <?php $args = array( "post_type" => "...
0
votes
0answers
13 views

Custom layout manager for posts

I have created a 'custom layout manager' for front page posts for my client, because he wants control over how his posts look. I've set up the backend - I have layout saved in an array, for each '...
0
votes
0answers
37 views

How to modify wp_link_pages() to get “Page: 1 of 4 >>”

I'm using wp_link_pages() in single.php . For now I'm getting output like Pages: 1 2 3 > But I want to make it like Page: 1 of 4 > for the first page and < Page: 2 of 4 > for other pages....
0
votes
0answers
15 views

Configure number of posts to show on Wordpress page using Redux Framework

I am using Redux Framework for theme options on a theme I am working on. I want users to be able to set the number of posts to show in a certain section. Right now it's hard coded to 3. But I added ...
0
votes
0answers
33 views

Cutsom post type and Taxonomy page

I have created a custom post type name 'products' and custom taxonomy called 'product_catagory'. The posts are displayed correctly and so is the archive-products.php archive template page I created. ...
0
votes
0answers
16 views

why are images not full size?

when viewing images on portfolio page is not a problem, but if one portfolio in the open drawing that appears small, it requires some time so the image can be full size. Why did it happen,can you ...
0
votes
0answers
35 views

Flexslider+Vimeo APi in WP

I created a custom post type using flexslider. It supports video (vimeo/youtube) and images. It works but I need to add the vimeo api (froogaloop) because I need: The video to automatically stop ...
0
votes
0answers
20 views

Where to direct the “action” of a form with a custom plugin to upload a post?

I'm trying to create my very first very own plugin to upload posts into WordPress. I'm learning by looking at another post uploader plugin out there, but I was really confused about the action of the ...
0
votes
0answers
104 views

Force update all posts in custom post type, no content changes

I have imported data from a custom post type that has location data for a map plugin (Progress Map). I have about 500+ posts each with different location data. For some reason the location data isn't ...
0
votes
0answers
17 views

Redirecting a Post to a Page Because the Page is More Flexible

Wonder if there is an acceptable way to do this. I am using a theme on this site that allows me a good amount of functionality for pages that isn't there for posts. So, I can create a page and have ...
0
votes
0answers
22 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
0answers
37 views

Featured image in custom post is being disabled

I'm trying to create a custom post as a plugin and so far I'm having some trouble trying to enable featured image on my custom post type. Right now I have created two custom post types but the problem ...
0
votes
0answers
19 views

Group posts by month by custom metabox?

is there a way to do this ? August 2009 11 Title of the post of the 11th day of August 15 Title of other post of the 15th day of August 20 Title of another post of the 20th day of August July 2009 4 ...
0
votes
0answers
51 views

How to delete a stuck post using phpMyAdmin

I was attempting to change some leftover http:// references in the DB using Update/Set SQL statements. I was getting confident and started doing them in bulk and stopped noting exactly what I was ...
0
votes
0answers
22 views

Custom Fields with pre-filled content

as this is my first post here I first of all like to say "Thanks" because I found a lot of hints here for my problems in the past. Now I have to ask for the first time: We are offering news under ...
0
votes
0answers
88 views

Image caption in Magnific Popup for images embedded in a post

I am trying to implement functionality to open my post images with Magnific Popup. I have the following script which works fine: add_filter('the_content', 'my_addlightboxrel'); function ...
0
votes
0answers
26 views

Post title replacement

How do I change many post title only which are in drafts. I need to replace a list of words with another. I'm using latest WordPress version 3.9.2
0
votes
0answers
40 views

Automatically Paginate Posts after specific number of words

I want to insert <!--nextpage--> (for paginating posts) after a specific number of words, and I want it to keep inserting the tag until the post ends. There is a plugin which does a similar ...