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
49 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
0answers
18 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
0answers
66 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 ...
0
votes
0answers
19 views

When I SAVE/PUBLISH my long post, it gets truncated

When I SAVE/PUBLISH my long post (more than 2000 words), it gets truncated for random number of words (sometime it saves 1200, sometime 1220 and other numbers) but never saves the complete POST. What ...
0
votes
0answers
23 views

Cannot access $post object - no matter what I try

Here is the code: <?php // Plugin Name: Lohman Supply Product Hover class LohmanProductHover { public function __construct() { add_action('wp_loaded', array($this, ...
0
votes
0answers
34 views

Content Section Custom Anchor Not Working

I purchase WP theme (Techwise) and I found an issue with content menu sidebar in post page. that content not working as same (toc) Table of Content. it's not working with Arabic letters but working ...
0
votes
0answers
69 views

Publish specific category posts to specific pages

I'd like to have many different categories of posts. And many "blog template" pages. And when i create a new post of a specific category and see it posted only on specific pages. Is the only way by ...
0
votes
0answers
19 views

Help with a function that will place a map pin for all posts

I have a custom post type called "properties". When I add a property on the admin side, I input an address and then click a button that says "Place Pin At Address". I have uploaded thousands of ...
0
votes
0answers
18 views

How to load specific posts on individual pages or based on username?

I've got a few things here... How can I load specific posts on specific pages? The idea is to have an individual page for each user that displays posts allocated to them. Or if its easier, to load ...
0
votes
0answers
53 views

WP_Query custom field pass the post id

I'm using WP_Query with ACF(Advanced Custom Fields) I'm building a news portal, and I'm trying to pass related stories from 1 post which is top_story = true. In another WP_Query I want to print the ...
0
votes
0answers
25 views

Adding GUI and functionality to a custom post type enabling working with non wordpress table

I've created a custom table in the Wordpress DB with all the needed functions for working with the table (insert,delete,update etc...) I also created a custom post type, on which I wish to add a GUI ...
0
votes
0answers
65 views

Get Page ID of blog homepage

my start page in WP shows the latest posts. I added some meta fields to the start page in the WP backend which I want to access before the list of recent posts starts. I try to access the meta values ...
0
votes
0answers
13 views

Popup panel is only displaying 1 entry ignoring all others

I have a popup panel being used for when someone clicks on view bio it will display their bio along with their name and headshot. As of right now I have four members being displayed M1 M2 M3 and M4. ...
0
votes
0answers
19 views

How to show same posts on different WordPress installs?

I have 2 websites using WordPress on the same server and the same database with spesific prefixes. I want to show the posts of the first site in the second site. For example: I have 100 posts in ...
0
votes
0answers
18 views

Filter post by post title/content

I have a problem on my site. i have a automatic posting by instagrate the problem is sometimes my post gets duplicate. i want to filter my posts by their post title. i have this setup on page to ...
0
votes
0answers
32 views

Hide Certain Tags on Single Post Page

I'm trying to hide certain tags from single posts pages. I've googled and found 2 codes but both are hiding the whole post page. I'm using a theme that needs using 2 tags ticker and slider to show ...
0
votes
0answers
21 views

$authordata related posts by author

I created a widget to display related posts by an author but the code no longer gets the posts by author. I'm guessing something has changed in Wordpress and see some reference to the_author_meta but ...
0
votes
0answers
23 views

Got portfolio thumbnails on homepage. need to filter them using filters

All i'm trying to do is add a working filter to existing portfolio thumbnails (Its already there without excerpt or post title - as i wanted it) I've also got the filter terms on the page, with the ...
0
votes
0answers
23 views

WordPress : Update old image_default_link_type to post

I have this code that update image_default_link_type option value to post. ans it work good for new post. But the old post i cannot update the images in old post to post link. How can do that ?? ...
0
votes
0answers
46 views

Post List Widget with custom posts and editing the Read More Link

I actually have 2 questions, one related to the Post List Widget, the other concerns the "Read More"-link. ad 1) I want to show a certain category of posts (only one post at a time) in this widget. I ...
0
votes
0answers
38 views

Different post design as per category

My site has two types of categories ( training & hard-reset ). Under each category there is a slight change in the design for posts. repairmymobile.in/hard-reset/datawind-ubislate-7cz-tablet/ ...
0
votes
0answers
24 views

Get the post id from a plugin

WHile Building a plugin I need to get the post id from the function defined inside plugin.So i used global $post; $postid = $post->ID; echo $postid; and $id = get_the_ID(); echo $id; ...
0
votes
0answers
50 views

Unique post-id for Wordpress Multisite Network

As the title says, is there any way to make sure that posts from subdomains, in a Multisite Network, can use different ids? The reason for this, is because I'm using WP Favorite Posts plugin, and ...
0
votes
0answers
19 views

Paginate Multisite Attachment WP_Query

I am working on a multisite blog network where I need to display x post per page and navigation at the of the bottom list. My code will not display a pagination at the bottom and displays x post per ...
0
votes
0answers
14 views

Disable Media uploader to users

Is it possible to disable the Media uploader to anyone lower than an admin, but have the select file(s) window show?
0
votes
0answers
14 views

How to duplicate Sub Menu?

Just wondering how I can duplicate (copy) a sub menu item. I have the duplicate menu and duplicate post plugins. Neither lets me duplicate a sub menu. Thank you for the help
0
votes
0answers
62 views

How to add a class to edit_post_link?

My goal is obtain "Edit" button like this: <a class="post-edit-link btn btn-default" href="{$url}">Edit this</a> The first attempt I was trying adopt was adding before and after params: ...
0
votes
0answers
17 views

Use one meta box handler at post editor and option page

I made plugin which uses custom database table to store custom form data. All works at option page where is added meta box like this add_meta_box( 'my_form_meta_box', 'My details', ...
0
votes
0answers
15 views

This snippet is making my post display as an attachment post

I've added this function to my functions.php in order to get a field to set if there isn't a category listed. function my_acf_save_term( $post_id ) { // Bail if not logged in or not able to post if ...
0
votes
0answers
13 views

Creating different instances of a post

I was wondering if there is a way to create different instances of a parent post. For example I have post: example.com/post and I'd like to have a sub post like: example.com/post/1 (which is just like ...
0
votes
0answers
32 views

HELP get categories, child and post

Have tried severals code from Codex but not working,is it possible to display posts on category pages as subcategory wise using this. Example : ** Main Category Page ** ** Sub category #1 ** – Post ...
0
votes
0answers
22 views

Unable to uncheck a category in a post

I've created a post and I've checked the 'Jobs' category, but when I save the post, the 'News' category gets automatically checked, as well as the jobs category. It's seemingly impossible stop this ...
0
votes
0answers
23 views

How to tag posts under menu items without showing posts titles?

right to the point. How do I 'link' posts to menu titles so once someone clicks on the menu title all the posts that I tagged there show up? I do not want that each post's title show up (when ...
0
votes
0answers
26 views

Sticking a post or page to the top of all WordPress pages, posts, index pages, etc

I'm trying to add the same common content (like an announcement, banner, or slider) to the top of all WordPress pages, posts, category archives, etc. Standard WordPress sticky posts are displayed only ...
0
votes
0answers
110 views

Custom post type as HTML/PHP table

I have a custom page which displays some WP members (students) using $wpdb to query the database and display these members in a HTML table. This table gets generated (populated with records) when the ...
0
votes
0answers
29 views

Click on link to filter displayed posts like what we can see on products page

**I wanna know if there is a way to filter displaying post on clicking on menu or a link. I know that there is some ways for admin post list, but i want it for front pages. I think we can do that ...
0
votes
0answers
38 views

Custom Permalink Post with meta value

I would like to use two metabox values in order to build the permalinks for all posts (standard post type of wordpress). But after rewriting the permalink, it links to a page that contains a part of ...
0
votes
0answers
26 views

Show posts from specific categories in a set page and some cosmetic modifications

So I'm trying to make a gallery-site for a friend's art as a hobby/learning project, and so far I've chosen a theme that I liked and modified it to fit the content I wanted to upload. But ...
0
votes
0answers
23 views

Filter displaying posts

I wanna know if there is a way to filter displaying post on clicking on menu or a link. I know that there is some ways for admin post list, but i want it for front pages. I think we can do that by ...
0
votes
0answers
17 views

How to allow a “contributor” to restore a delete post?

I have a user with "contributor" role attached. When I log in as this user, go to posts section and try to restore deleted posts, Wordpress shows this message: "You are not allowed to restore this ...
0
votes
0answers
46 views

order posts with conditions & meta_key merge

i want a code to orders my blog posts using a "conditions" & combinaisons of 2 meta_key so details: if ( postviews < 20 views in exmple) ==> those posts order with date ==> here ...
0
votes
0answers
77 views

Custom post type permalink throws a 404 error

I am new to WordPress and trying to build a social networking site that has Buddypress installed and one CPT. This website has a custom post type for user blogs, this CPT has posts that are linked to ...
0
votes
0answers
46 views

Total Post type count display wrong, any idea?

Why are the total number of posts not the same? Any suggestions?
0
votes
0answers
45 views

Calculate top authors on the basis of Post Views

I wanted to calculate the Top authors on the single.php page according to the average of the posts views. I have created a function which is calculating the average of the total post views of a ...
0
votes
0answers
66 views

Adding css class to post and styling it

I am new to wordpress development, and I am using the Customizr Theme I am trying to add a CSS class into my wordpress post in order to incorporate styles into it but I am having difficulty finding ...
0
votes
0answers
50 views

Custom post type not showing in wp_posts table in database using navicat or PHPmyadmin

This is really weird. I created a custom post type and saved a few posts using it. Then I managed to edit and update them. When I came to look in the database for the rows I cant find them. I used ...
0
votes
0answers
48 views

How to parse a post and change the way a gallery item is rendered?

I want to use this plugin http://final-tiles-gallery.com/index.html to display the gallery the users insert in their posts, for that I need to use an specific HTML structure so the plugin works, I've ...
0
votes
0answers
17 views

Loop a Custom Post Pagination

I am having a little trouble trying to get my custom post type pagination to loop. The idea to my pagination is to only display a next field with the title of the next post. Once you hit the last post ...
0
votes
0answers
14 views

How to create a hook that can give points for either how many pages viewed by user, or pages viewed by a user's posts?

I started a blog recently and I liked the achievements idea. I installed two plugins both which I like, one is called Achievements and the other is called WordPoints. Specifically, I would like to ...
0
votes
0answers
16 views

Empty result when trying to fetc post in the future

I am trying to fetch a single post that is either scheduled or published using a custom WP Query. The query is running asynchronously. However I get no results. Here is my code: ... $args = array( ...