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
votes
0answers
15 views

How do I show/hide a post description or any other field on the front end

how can I control an in individual post field to appear or not to appear on the front/end with a checkbox - hide from front end. E.g. like in this mockup - http://screencast.com/t/Q71rxUcxOrx Is ...
0
votes
0answers
13 views

If select bulleted list in post editor it displays a decimal list. How to solve?

In the wordpress post editor, there are options to use a bulleted list or a numbered list. If I choose bulleted list, I get a numbered list. I get a numbered list when I select numbered list. In my ...
0
votes
0answers
8 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 ...
-1
votes
1answer
16 views

Post deleted in trash [on hold]

I need a plugin or some method to recover deleted post of trash.
0
votes
0answers
16 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
8 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
11 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 ...
1
vote
0answers
9 views

wp_update_post adding a -2 to the post slug

I've recently created a php file that is creating posts using the wp_insert_post function. This is working great and its inserting the post as it should do. I am leaving out the post title as I want ...
0
votes
0answers
9 views

publish the post in multi categories individually [on hold]

I have two manager users and one super admin manager A: manages the posts in category A manager B: manages the posts in category B super admin: can do everything i did this by using the Restrict ...
0
votes
0answers
13 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
1answer
12 views

How to list all names and descriptions of a custom taxonomy

I have a custom taxonomy (toolkit-sections) inside a custom post type (toolkit-tools) and I'm looking to just list the taxonomy names and descriptions from toolkit-sections on a homepage. I don't ...
0
votes
0answers
10 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
11 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
1answer
15 views

What function publishes a post when you click the publish button?

I'm trying to track down an issue with a plugin. In vanilla WP when you are on the post edit screen (/wp-admin/post.php) what function is getting called to change the post status from draft to ...
1
vote
2answers
49 views

Looping through posts per category gives same posts for each category

For a specific section on my website I loop through some categories and get the three latest posts in that categorie and list them. Like so: <?php $categories = get_categories(array('exclude' ...
0
votes
0answers
6 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
1answer
22 views

Update all images url imported from HTML pages

I have to copy content from different website. I copied whole webpage and paste it in my post. All works fine. I also get images in my post but they are still linked to older website. Is there any ...
0
votes
0answers
7 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 ?? ...
1
vote
1answer
18 views

Need help targeting a custom post type with conditional tags

I found some code online to create content blocks on my WordPress blog. I use a content block at the bottom of the sidebar of my page for a shopping widget. Here's the relevant code from ...
0
votes
2answers
24 views

Adding featured image messes up page layout [on hold]

I got someone to design the wordpress side of my site and now I need to try to understand what they did and would be grateful for advice.I have a Page that shows sections and stages (which are ...
0
votes
0answers
15 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
32 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
1answer
21 views

In what context should Categories and Tags be used

I was thinking on writing up a post called "Review: Ni no Kuni" which would be a personal review on the title game having finished it. Under categories i could make a "Reviews" Category to group all ...
2
votes
2answers
39 views

Convert IPTC keywords to blog post tags

I'm a total newbie regarding to wp or coding or anything like that but I manage to get things done with a bit of reading. I need a way to convert IPTC extracted keywords that are attached to it's ...
0
votes
1answer
24 views

How to get the current user post and it's ID?

I have a site setup so users can publish a post via the frontend, what happens is, there post is posted as a status, 'Pending Review, in a custom post type. How can i get the post ID for this ...
0
votes
0answers
19 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
1answer
39 views

If WooCommerce Stock Updates, Also Update Specified Field Values

I would like to have a function that should update the Est. Dispatch Date Field ) in whenever WooCommerce Stock Value / Stock Amount changes even when order is placed and stock amount is reduced by ...
0
votes
0answers
28 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
1answer
34 views

numberposts not working

I've got this following block of code and want to limit the number posts to 2, but it doesn't seem to work..?? I've also tried using posts_per_page, doesn't seem to work either. Can anyone help point ...
0
votes
1answer
18 views

Display a post via template

I want to display a single post in the sidebar-area (not the sidebar itself) and can't seem to get it working. I know the post_id (it's 1571 btw), so I looked around and only found this link from 7 ...
1
vote
1answer
29 views

How to get the post type from a category id?

I am trying to find out the post type from a category id. Suppose that, when i am opening a category page localhost/project/foobaar/category/pen I want to know the post type to which category - ...
0
votes
0answers
11 views

Gravity forms plugins image upload code [closed]

I want to change dpi of an uploaded image before uploading that image and before saving into database.
0
votes
3answers
31 views

set role specific screen options in post summary page(all posts)

I need to set different screen options in post summary page(all posts) for administrator and different options for other user roles. But It should not be able to change from the particular user ...
1
vote
2answers
25 views

How to change the color theme per post?

A client of mine wants to be able to choose between a dark and a light theme each time he publishes a post. What's the best way to change the color of a theme per post? I thought in creating a ...
0
votes
1answer
20 views

New Gmail email to a WordPress new post? [closed]

I have seen several paid, free, trail, etc services (Zapier, IFTTT) where you can give your gmail email login info and WordPress setup info and it will automate certain processes. For example, once ...
0
votes
1answer
22 views

How to convert query sql to shortcode in wordpress?

I want to make a shortcode like this [myshorcode:2:drinks], and query-wrangler I have managed to get the following query that shows me 2 products of a certain taxonomy PHP WP_Query: $query = array ( ...
0
votes
0answers
13 views

WP Custom Post Type permalinks with category [duplicate]

I am trying to accomplish the following: Website will contain a section titled "resources". I would like to separate the content using content post types. Post Type: Resources ( This i can create via ...
-2
votes
0answers
9 views

Add some text after a specific post

I have a blog where 20 posts are appearing. I am using twenty fifteen theme. I want to add some text after 4th number post and then 8th, 12th and 16th.
0
votes
0answers
5 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
1answer
14 views

How can I add 2 buttons with shortcode

I want 2 buttons in my blog post. One is "DEMO" and another one is "DEWNLOAD" . For Demo button shortcode I use this codes. function demo_button($atts,$content = null) { extract( shortcode_atts( ...
-1
votes
0answers
12 views

Show all subcategories post on parent cat page using wp_query

I am trying to display the children categories post. $wp_query = new WP_Query(); $wp_query->query('post_type=post&posts_per_page=12&paged='.$paged.'&category__and='.$cat_id); <?php ...
0
votes
0answers
10 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
6 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
21 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
9 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
2answers
36 views

Undelete post (untrash)?

Which function should be used to move post from trash to published pages? i.e. is there wp_undelete_post or something like?
0
votes
1answer
35 views

Wordpress get_post_meta issue

I'm new to php and was assigned some code to fix within a Wordpress theme, but I cannot figure it out for anything. The code is for the home page of a custom theme and it is supposed to pull the most ...
0
votes
0answers
9 views

This snippet is making my post display as an attachment post

Ive added this function to my functions.php in order to get a field to set if there isnt 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
20 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 ...