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
0answers
55 views

display sub categories assoccited with each post in a category archive page

i have wordpress blog with many posts. each posts associated with many categories and sub categories. i want to display sub categories assoccited with each post in a category archive page. for ...
1
vote
0answers
114 views

Set static page/post from another blog on same network

I have a multisite project and have a small problem with static front page/post. In general i am looking for a way to choose a static page/post out of the whole network on my main blog. Now i'm not ...
1
vote
0answers
117 views

sql select for post_title and a term name

I'm having trouble trying to think out this SQL select I need to write; here's the gist: I'm programmatically creating posts by importing an excel file, so I'm in 100% sure of post titles, etc, since ...
1
vote
0answers
918 views

Dynamic dependent Dropdown lists for Categories, Sub-Categories and Posts!

I'm using WordPress 3.5 as CMS to develop my personal website. The reason I'm writting, is that I need a way to implement a code or plugin to allow users to navigate through posts using ...
1
vote
0answers
63 views

One post on my website is going to a 404 page

So I ran into an incredibly odd and frustrating problem today. As the title says, as of today one of the posts on the website is going to a 404 page. This is the ONLY post that goes to a 404 page. ...
1
vote
0answers
281 views

Posts added with wp_insert_post are moved to trash automatically

I've got a script that loops through some data and automatically creates some posts. foreach($data['title'] as $title) { $my_post = array( 'post_title' => $title, 'post_content' ...
1
vote
0answers
70 views

Display posts with comments closed, with pagination?

i'm using a custom query, which needs to display all posts with closed comments. I have this <?php $the_query = new WP_Query('showposts=-1'); ?> <?php while ($the_query -> have_posts()) ...
1
vote
0answers
170 views

Show Custom Taxonomy Categories, Listing of Posts, and Single Post via AJAX

I need to be able to do the following: List all terms in a custom taxonomy (categories for custom post type) When a user clicks on a category, a listing of all posts in that category appears When a ...
1
vote
0answers
95 views

Copy post to separate database with “add_action(…)”

I'm basically trying to have a copy of a post be sent to another database's table when it's published. I've gotten it to add a new row in the new table, with my own static arguments, but I'm not sure ...
1
vote
0answers
393 views

show custom post type category dropdown sorting result on same page

I made a custom post type "kaubad" and i also want to add sorting option on website front end - users can select between this custom post type categories. here is screenshot about what i want to do. ...
1
vote
0answers
737 views

How do I locate the exact location where this error is occurring 404 page not found

I recently installed a wordpress theme and lots of plugins. This error appears on blog post after refreshing page for second time anywhere in between the post content. Here's the link to my site: ...
1
vote
0answers
275 views

List authors with the last post title and order by last post date

I want to list authors with last post data and order them by last post date. Now i have this codes but i don`t know how to edit them. // Selects from tables wp_users and wp_posts, selecting published ...
1
vote
0answers
228 views

Some posts from custom post type to subdomains

I have custom post type where all posts associated with some persons. Like: mysite.com/masters/master-name/ And i need to have redirection from master-name.mysite.com. This redirection will be ...
1
vote
0answers
434 views

How to order posts by meta_value and title

How do you order products in WooCommerce so that products are random, but at the same time featured products show first? Here is my code: $args = array( 'post_type' => 'product', ...
0
votes
0answers
8 views

get publish / move to trash post URL

I'm having some issues finding the URL's for the publish/update and move to trash buttons. I have something like this : <a href="#" class="menuu-item"> <i class="fa ...
0
votes
0answers
13 views

Adding Information To All Posts Screen

What I'm looking to do is add the value of a post's metafield in each post's row on the all posts screen. I'm attaching a screenshot of where I'd like this information to show up. The info would be ...
0
votes
0answers
18 views

Listing posts according to their popularity and hyperlinking them

I have 3 options in the header of my page recent,popular and feature. I have written a function as follows : function category_recent(){ $cate = get_the_category(); $current_cat_id = ...
0
votes
0answers
13 views

modify admin panel all post to show date time

Hey I want to Know how can I modify admin panel all post to show date and time instead of only date. Published post will have published date and time and scheduled post will have scheduled date and ...
0
votes
0answers
17 views

Re-layouting the “Settings Menu” in “Add a New Post” page

Just asking a quick question here to see if anyone can help me out with this issue. I am building a blog website, but the "Add a new Post" page menu to select publish, categories etc default layout ...
0
votes
0answers
10 views

Display Post Image Wrapped in Div, Inside Link Tag

So I'm trying to wrap media images published in a post into a custom div, that is also wrapped in a link tag that has the permalink of the media image as it's href. Here's the filter that I've made so ...
0
votes
0answers
13 views

Cannot use pages created on WP

I am quite new to WP and I have recently taken over a development project of a page that I really don't understand quite well due to the weird options that the previous developer took. Unfortunately I ...
0
votes
0answers
13 views

How to Display Subcategories and its Latest Post as sections or modules under the Parent Category

I want to achieve the following: When in the parent category display as follows: Parent Category Title Parent Category Description Child Category #1 Post#1 Post#2 Post#3 Child ...
0
votes
0answers
21 views

Setting up automated post status change / delete system

Haha, first of all, I've been asking all my WP questions in stackoverflow and then wondered why everybody said they don't know nothing about WP. My question is simple: What's the best way in your ...
0
votes
0answers
45 views

correct date for each post / photo

I need help. I published three post photos on different days with different dates. Why the dates are not in sequence but inserted according to when they were published ..!? I wish that if something ...
0
votes
0answers
17 views

Get posts from other blog?

How to get 5 posts from an other blog with tags common with current post and show it on my site. thank you in advance.
0
votes
0answers
8 views

Category page that displays 3 posts from each subcategory

Alright, so my main menu I am adding category "MainCat" that has subcategories i.e "SubCatOne" "SubCatTwo" etc.. When I click on that page I see all posts from all categories on it, unorganised (below ...
0
votes
0answers
12 views

Need advice for uploading images and generating sizes

I would like some advice on creating a image upload system(this maybe a plugin or a script on a page, it doesn't matter). I have a image site were each image is an post. I want to be able to upload ...
0
votes
0answers
14 views

How to update post meta in schedule event action-function?

I want to execute something like this. What I must to change in following code? wp_schedule_event( time(), 'hourly', $string); add_action($string, 'do_this_hourly'); function do_this_hourly() { ...
0
votes
0answers
13 views

rewrite_rule - working fine but broken single post 404

I'm having an issue with my rewrite rule, works fine here: example.com/resources/ example.com/resources/articles/ Also works fine with the pagination here: ...
0
votes
0answers
12 views

Wordpress Posts page similar to home page

i have a wordpress theme Nova lite. in home page i have many plugins in the right side and posts on left side, if click on a post i go to a page which has the detail description of that post. what i ...
0
votes
0answers
15 views

Selecting the related products manually

I have a wordpress site and i want to manually select which products will be shown as related. Is there a programmaticaly solution for this problem or a plugin to install?
0
votes
0answers
15 views

Displaying only a Summary of a post on the Index Page

I've been working on a theme for my WordPress site, as I want it to have the same theme that my forums uses. I have been using the underscores.me theme which if you don't know what that is, it only ...
0
votes
0answers
29 views

Show Post title and featured image outside of the box

I'm trying to work out my idea to show post featured image and post title outside of the post content. Let me explain better. I'm using underscore framework. There are three files there. single.php, ...
0
votes
0answers
20 views

Wordpress and copying / pasting contents from tables

I have a quick question, got a client who wants to have a Wp site and then from her old site, she wants me to copy/paste her contents in the new one, but just noticed that all her contents is ...
0
votes
0answers
19 views

add one more publish/update post button

I'm here with a issue regarding my plugin... I've added a menu that should serve as a floating quick-action menu.. For example i would like that if you click the save button it will save the current ...
0
votes
0answers
20 views

Display posts list in a table with search

I am new to wordpress, and I need to display a table in the frontend with list of posts and a search functionality. Is there any custom code to do both the functionalites(listing and search)? NOTE : ...
0
votes
0answers
42 views

Fake post on the fly with ajax

I would like to generate one fake post on the fly in the admin panel. My aim is to use fake content to retrieve the_title(), the_content(),the attachement url,... I will use this to display different ...
0
votes
0answers
17 views

Custom post types display pending posts without login

I am having an issue in a custom post type ('place'). I can view the posts like "http://www.example.com/?post_type=place&p=9454" while i am logged in as any user from the front end.But i cant view ...
0
votes
0answers
53 views

Loop breaking after each category instead of posts-per-page property

I need to have my menu page layout in this format Totally I have 67 posts so I want 3 columns in this way in first column I need to have 15 posts and in remaining 2 colums 30 and 30 all this columns ...
0
votes
0answers
14 views

Post doesn't appear in the taxonomy manage page

I'm using CPT UI to create custom post type named "Tour". Inside tour i have a taxonomy named "Sidebar". Inside Sidebar i have an item like this: As you see there's a post in that item. But when i ...
0
votes
0answers
27 views

ACF only getting specific custom field data

I'm new to this so bare with me if this doesnt conform to the usual standard. Basically I have recently been employed in a new office that builds customised wordpress sites for its clients, I am no ...
0
votes
0answers
23 views

Adding description to wordpress blog post through wp-admin panel

Is there a way to add a description to my Wordpress blog post through wp-admin panel?
0
votes
0answers
16 views

How to sort search results with a specific category first

I'm using the Zoner theme for Wordpress and would like properties categorized as "featured" to be first on the search/archive page. Is there a way to run the search query twice, such that the first ...
0
votes
0answers
26 views

How to change post template via url?

I have a single post template (single.php) which displays the title, the abstract, tags, content etc. I made another template (abstract.php) to display only the title and the abstract of the post. ...
0
votes
0answers
4 views

Gallery attached to a post but outside it (my-post-url/my-gallery)

I want to create a post gallery related to a WordPress post, but outside it, for example: my-post-url -> Display my post. my-post-url/gallery -> Display my galelry.
0
votes
0answers
12 views

next post link in same category

Regarding https://codex.wordpress.org/Next_and_Previous_Links the following code should display post in same categories if post are registered in more than one category. Unfortunatly it does not work ...
0
votes
0answers
14 views

How to find URL for post type listing page?

How to find URL for post type listing page I want to get this URL on my post details : http://localhost/wp/ABCPROJECT/stories/amet this is a listing page And this is a it's details page how can i ...
0
votes
0answers
64 views

WP REST API returns post image URL with double backslashes

I'm trying to create a mobile application that use WordPress as a backend CMS, i was able to get the JSON output using WP REST API and reuse what i need from the output in my application, but i have a ...
0
votes
0answers
15 views

How can you change all past posts' images to link to none instead of the image file?

I'm working with a new client who has a ton of existing posts. She has a lot of inline images and for some reason they all link to the image files. I know how to change this for future posts by adding ...
0
votes
0answers
58 views

Saving Post redirects to 404 page when php $_GET variable in post body

I am having a very annoying issue where certain posts redirect to 404 page when trying to save or publish a post. It only happens to a few posts and did not happen prior to the last few WP updates. I ...