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
1answer
7 views

Multiple approval from editors before publishing?

I would like to have more than 1 editor approve a post before it can be published. Is their anything that does this out of the box or will I need to roll my own?
0
votes
0answers
10 views

image on rss feed on post

i am so new to wordpress, i have a theme, i want my website to display post of bloggers fashion posts from a virtual world second life...i started using blogger, they have a simple widget "bloglist" ...
-2
votes
1answer
19 views

Create a page in a plugin , like woocommerce

I want create a plugin with custom posts. Which post will be shown in the single page from the plugin, just like woocommerce single products are shown. How can I do it. I saw it in many plugins as ...
0
votes
0answers
9 views

Display only certain content to users in my settings

I'm trying to create a simple client portal without much additional functionality, but I need to set up wordpress according to the following information: Split users into roles / categories - ...
0
votes
0answers
22 views

Define specific color for each category_post

I'm looking to achieve something quite special and I can not manage to see where should I start, I need the same menu system has this website ( which is done with wordpress also, using reverie ...
0
votes
0answers
23 views

Wordpress list child pages of custom post type

Im stuck on this and any help would be appreciated. Say there is a parent page called "Stuff". And Stuff has several pages under it. Stuff more stuff more stuff1 more stuff2 It has no children ...
-1
votes
0answers
7 views

A Shortcode Within a Shortcode, Nested shortcode? [on hold]

Problem 1 People flagged this as a duplicate on this site. I don't see this problem anywhere else. Problem 2 - My actual problem I have a plugin called WP-Filebase ...
0
votes
0answers
9 views

Automatically set posts to NoIndex depending on category?

I'd like all new posts with a specific category to automatically have NoIndex applied. There are various plugins - e.g. Wordpress SEO - which make it easier to manually select posts for NoIndex. But ...
0
votes
2answers
12 views

How to prevent people from seeing an attachment to a scheduled post that's released in future?

I'm developing a website for a large corporation. They release financial documents on specific dates and times. I've developed a custom form to upload these pdfs to articles, and custom loops that ...
0
votes
1answer
27 views

How to choose specific post to display in a newsbox?

. . I'm building a website based on post (kind of blog paltform). the thing is I would like to be able to choose which post ( From any category) To display in the homepage ( in a newsbox system). ...
0
votes
1answer
13 views

Custom Template for wordpress cpt plugin

I am creating a wp custom post type plugin. Which supports the custom meta datas as well.Now my question is i have to create a archive page with custom template file. I have added the appropriate ...
0
votes
1answer
16 views

Retrieve data from post meta meta_key having '_product_fq_image' while having author_id and post type is PRODUCT

How can we retrieve data from postmeta having '_product_fq_image' while having author_id and post type is PRODUCT I have tried this $lt_content_design= get_user_meta( $user_id, 'lt_content_design', ...
0
votes
1answer
21 views

Query function not executed between <div> element [on hold]

I'm wondering why the following code is not executed between the element it's put in. I know sort of how to fix, but I'm not sure if that's the best solution. My code: First function function ...
0
votes
1answer
11 views

Save/retrieve form data best practises for theme development

I'm building a theme and I have a custom page template with a <form> which is for the vistors to fill in and submit. I'm processing the data with help from hooks and this is all separated from ...
0
votes
2answers
32 views

WP_Query: Mixing category__in and tag__in together

I'm creating a "Related posts" section for my theme, based on a tutorial from wpbeginner.com. It offered two options in selecting posts: those in the same category(ies), using category__in, or those ...
0
votes
2answers
49 views

How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?

I am pretty new in WordPress theme development and I have the following doubt about how show posts into a page. I have this page belonging to an old custom legacy blog that I am build again using ...
0
votes
0answers
16 views

How to display Parent categories and Child Categories?

I struggleing to find the best way to develop the below. Basically my website will have a landing page on the site (Sports Landing Page) and when the user clicks on a category on that page eg ...
0
votes
1answer
23 views

Show number of posts AND number on current page

I know how to show the total number of posts in a site, but is there a way to show the number of posts the page you're on is displaying? For example, I want to show this at the bottom of each of my ...
0
votes
1answer
23 views

How can I access my posts on my wordpress site, now I've lost the domain name for it?

I wrote some posts for a wordpress site I've got, unforunately I couldn't renew the domain name in time, so I want to access the text in those posts, and put it into my new site, how can I do that? I ...
0
votes
1answer
22 views

Style Wordpress Custom Post Type Single Page

I'm registering a custom post type 'events'. The events can be listed using a shortcode, and when you click on an event you go to the single view of that event. Now, I want this single view page to be ...
0
votes
1answer
25 views

What file have I to create in my custom WordPress theme to show all the post belonging to a specific category?

I am pretty new in WordPress theme development and I have the following doubt. I am working on this custom theme: http://lnx.asper-eritrea.com/ Into this website upper horizontal main menu I have a ...
1
vote
0answers
36 views

Change label of title field for posts in the backend

I am trying to add some HTML to the title label in the backend of WordPress. Attempt 1: I am using the following (simplified) function: function change_post_titles() { global $post, $title, ...
0
votes
0answers
33 views

Can't Post to my Wordpress Anymore!

I'm at my rope's end with this whole thing and have tried everything I can to solve it. I have a WordPress site with a SQL database on Azure, but recently all of the users associated with the site ...
0
votes
1answer
9 views

Microformats in a single post - layout conflict

WordPress uses microformats, for example, when we use the function post_class() in the DIV containing the article. It automatically includes the class called hentry, which is used in microformats. ...
0
votes
1answer
13 views

Page not loading content - Body archive - page

I'm working on this page The problem Is that is not loading any content, altought it's english version does: link I'm not getting any console errors so can't find where the problem is. The only ...
0
votes
2answers
17 views

Display an author's posts on his own author page

I have a blog that publish articles of any philosophers.Each philosopher has a special page that includes information about him. I've created a post type called philosopher. I want to display the ...
0
votes
1answer
32 views

list posts of two post types in a single template

I have two post types. One is post & other one is event. Both sharing same categories & tags. I am listing the posts by archive.php. Now I am listing the posts as general by two different ...
0
votes
2answers
33 views

How to make a template for a specific post of a custom post type?

For the Page post type: I can create a logout page in the CMS and create a page-logout.php for its template. I created an Account post type but I can't use account-user-registration.php for a User ...
0
votes
2answers
36 views

Looking to exclude blog posts from category Previous/Next buttons

I'm working on some conditional elements here and I thought I had it but it's still not working right. You can see my site here. What I've done is displayed only category Legal Libation Columns (98) ...
0
votes
0answers
20 views

Getting the excerpt from latest blog post, could someone please explain?

I know this question has been asked a bunch, but due to my newness to Wordpress, nothing I came across was working for me. I finally found a question with a chunk of code that actually displayed ...
0
votes
1answer
31 views

Keep post format class with isotope filter

When I add isotope filtering for displaying posts, I lose the format class. WITHOUT isotope filtering: <article id="post-22" class="post-22 post type-post status-publish format-image hentry ...
0
votes
0answers
11 views

Wordpress - 404 When creating Post/Page

I'm using the most recent version of WordPress and have encountered an issue that I've never seen before. Basically, when I try to publish a Page or a Post, WordPress directs me to a 404 page rather ...
0
votes
1answer
25 views

Display all posts/pages in a multiple selectbox

So I'm looking for a way to show all posts/pages inside a multiple selectbox, which is used to select and store which page/posts has been checked in order to display some text on that page(custom ...
0
votes
2answers
25 views

Help me troubleshoot conditional tag with elseif & else? [closed]

I'm only starting to learn PHP and I would appreciate some direction. I find WP's conditional tags particularly challenging. This is what I have: <a href="/"><img src=" <?php if( ...
0
votes
3answers
18 views

retrieve post data and insert it in seperate static html page without Wordpress

I have a blog which runs on Wordpress and inside the Wordpress environment I'm fine and know how to display specific blogposts etc. But beside I want to insert specific Blog-posts in a static HTML ...
0
votes
0answers
10 views

How to migrate the posts from an old custom legacy blog to a new WordPress website?

I have to migrate the posts of a very old custom legacy blog made in ASP (the posts are stored in a MySql table) into a new WordPress blog. So I need your help to find the smartest solution to do it, ...
1
vote
2answers
17 views

Adding an image to a non existing post

I am building a frontend posting mechanism. Everything is working fine besides the image uploader. I am using Wordpress Wysiwyg editor using <?php wp_editor ?>. When I click on the Add media ...
0
votes
0answers
21 views

Fix existing media names with accents

Today, I updated the version from a wordpress blog and migrate to another server. But, I noticed that most of the image names has accents/special characters in the name. This make the browser doesn't ...
0
votes
0answers
8 views

Wordpress metabox can't be shown in the index.php

I got a problem, I have already made the custom post type and i assigned a metabox for it but i can't use it in the index.php. Here is my code: This is for the Custom post type & meta box in ...
0
votes
1answer
40 views

No comments on static front page

I have had this problem before. I want my homepage to be very simple, and I don't want it to be a discussion forum or a place where you can leave your comments. I wrote yesterday and got some good ...
0
votes
1answer
13 views

Get new post meta data when (custom) post is saved

When I save my post (custom post type: project) I want to get the meta data for a specific key that I just inserted. Based on the value of that key I insert a product in WooCommerce. What happens is ...
0
votes
3answers
53 views

Exclude posts from homepage having a specified tag

I am pretty new in WordPress development and I am trying to implement this custom theme that handle the so called featured posts As you can see in the posts area of the homepage I have the Articoli ...
0
votes
0answers
15 views

Can't drag and expand meta boxes when adding post

When I try to add a post, I can't expand and drag meta boxes, however, when I try to edit posts, I can. I already have re-uploaded the original files of post-new.php and post.php Why is this ...
0
votes
0answers
18 views

Why does `url_to_postid` return 0 when testing `page_for_posts` Page?

If I set Reading Settings > Posts Page (in other words, the page_for_posts option) to a static page, and then attempt to pass its URL through url_to_postid() it will return 0 - why is it? I ...
0
votes
0answers
16 views

Can I query another data table on a multisite with the single.php template?

Here's a quote from a thread on this forum showing exactly what I'm trying to do: blog 1 gets = wp_post table blog 2 gets = wp_2_post table Small multisite setup, two very different sites, both ...
0
votes
1answer
26 views

Using AJAX and PHP to load next post object

After looking through the jQuery documentation and many stackexchange community forums, I am still faced with this problem. Taking little bits from here and there have helped me get this far, but I ...
0
votes
1answer
51 views

Display post from specific date

How do I display posts by a specific date? If it is 15 July today, it'll display posts from about two or three days ago, like the 12th of July's posts. And tomorrow it'll display the 13th of July's ...
1
vote
3answers
50 views

Can I set and show “important” post in my blog?

I have the following doubt related to the WordPress posts showed in the home page. I know that in the home page I can show the latest published posts. But can I also show (before the latest posts) a ...
0
votes
1answer
37 views

Custom wp_trim_words() function not trimming right

I have this custom wp_trim_words() function set to give me excerpts of only 20 words, and for the most part, it works fine. Except for some reason, on posts that contain lists, it outputs way more ...
-2
votes
1answer
27 views

Published posts counter [closed]

I'd like to have statistics for the website. Is there is any snippet to allow WP admin in Dashboard to monitor how many posts published daily or monthly by other users ?