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
19 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. I am using the following (simplified) function: function change_post_titles() { global $post, $title, $action, ...
0
votes
0answers
30 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
8 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
11 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
16 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
30 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
32 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
34 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
19 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
28 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
10 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? [on hold]

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
17 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 ...
-1
votes
1answer
20 views

Pictorico: Post Image Thumbnail Shape [closed]

I am new to Wordpress. I am using the Pictorico theme. When I add a post, I can see that the posts's featured image appears as a link (thumbnail) on the homepage. However, the default size appears to ...
0
votes
0answers
19 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
39 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
45 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
17 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
15 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
23 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
48 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
49 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
34 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
26 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 ?
1
vote
1answer
27 views

allow new users to post an article before they sign up [closed]

I am new to wordpress development but I can get it done if I am guided on the right direction. I have allowed subscribers to post articles on my site.Now I am trying to allow them to post BEFORE they ...
0
votes
0answers
26 views

How can I Protect my Q/A site from Unexpected /Spam Post? [closed]

I have a Bengali Q/A site which is created in WordPress. Recently I am getting unexpected post to my site from different users in english which are not any question or answer, just some junk content. ...
0
votes
1answer
24 views

Automatically create a loop for post ID

I am having trouble generating a loop for my post. The JS calls the slide_ID which then needs to display each slide-ID in numeric order for it to work. Example for slide-1 to scroll to its next slide ...
0
votes
2answers
51 views

Conditional css for custom post type

I'm using a wordpress theme which uses custom post types for portfolio items and "sets" to categorize them. When I hover over a "set" to edit, it reveals this at the bottom of the browser: ...
-2
votes
0answers
15 views

How to assign different theme for older posts in wordpress?

How do I assign different theme for new posts and older posts. For Example: I want to have different theme for posts older then June 2014, and another theme for new post after June. Thanks in ...
0
votes
3answers
50 views

Latest comment post should be the first post in the blog

If someone put a comment to post, that post should be the first post of blog. ( Forums works like this). I don't want to use forum plugin also. I need only, when a user submit a comment, that post ...
0
votes
1answer
16 views

Can I divide the pages into categories?

I wanto know if I can divide the pages into categories? Going into the Wp administration panel I can see that I can create some categories for the posts but it seems to me that I can't do it for the ...
0
votes
2answers
22 views

Get All post that is in table

I have table that save in it the user id and post id. Now in some page i need to show all post for user_id (1) for example. how can i display all post that user_id is 1
0
votes
0answers
13 views

Countdown to post date tag function?

I made an events post type and I wanna make countdown to post date, for example: Let's say the post is due 5 days later so it writes in the post '5 days remaining' Any suggestions?
0
votes
1answer
35 views

Custom Post Type used for FAQs Accordion

OK, so I asked this earlier and no one had any answer for me. I have a CPT for FAQs. FAQs are separated into 'categories.' I need the name of the 'category' then a every post within that 'category.' ...
0
votes
2answers
35 views

Custom WP_Query not working correctly

OK, So I have created a custom WP_Query that gets the post_type post and outputs it as a styled list. It works well and outputs the styled list but then underneath it displays all the posts again but ...
0
votes
1answer
45 views

Different number of posts per row in grid layout

Is there a way to return different number of posts per row in grid layout based on the post size retrieved from a custom field? For example: | Large post | | Medium ...
0
votes
1answer
22 views

WordPress Search

I'm trying to write a search feature on a website of mine, and it seems like it's not pulling in any of the pages, only posts. Below is the code. Search Form: <form role="search" ...
0
votes
0answers
13 views

Run Jquery Script after delete post in front end

I have a list of posts on a page on the front end. With each post I have created a delete button with get_delete_post_link. This works fine but I now need to execute some jQuery after the post is ...
0
votes
0answers
14 views

Cron job not firing

I'm having this problem where cron jobs doens't seem to post delayed posts.. I'm using this cron job wget -O /dev/null http://domain.com/wp-cron.php?doing_wp_cron Am i doing something wrong?
0
votes
1answer
34 views

Remove arrows from previous and next link

In the wordpress theme I am developing I inserted some code to display links to the previous and next posts which appears at the bottom of each post. The code looks like this.. <?php ...
0
votes
1answer
33 views

How to create content automatically when a post is published?

Goal: Ability to automatically create content in WordPress posts/pages. Goal Details: When a post is created/published, it will automatically create or configure content based on the base data inputs ...
0
votes
3answers
43 views

Echo the number of posts being displayed

I had this code working as I needed it to...but now I need to add a post count where the "____" is, beside "posters", so I can manipulate the css depending on how many posters are showing, for ...
0
votes
1answer
12 views

Featured Images link to post parent

I want to reuse featured images for new posts. So a single featured image from the media library is attached to more than one post. When i use post_parent ); ?> on the attachment page to go back to ...
0
votes
2answers
28 views

Change the background of each post according to the category

I am using the Hueman Theme. What I want to do is that the background of all the posts should change according to the category of the post. Please suggest something