Skip to main content

Questions tagged [posts]

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).

1 vote
1 answer
15 views

Single post template not working in wordpress

I created a single post template by going to Appearance → Editor → Templates → Single Posts. This is what the template looks like. But when I try to create a new post by clicking on "Add new ...
Hemant Agarwal's user avatar
0 votes
2 answers
24 views

Cannot create posts via REST API

I have a Wordpress site hosted by Bluehost, generic web store using WooCommerce and Elementor. I can add and edit products via the WooCommerce API without trouble, but whenever I try to post to the ...
Keagan Hawthorne's user avatar
1 vote
0 answers
14 views

Issue Copying Posts and Pages from One WordPress Site to Another

I am currently trying to copy all posts and pages from one WordPress site to another and have encountered an issue I can't resolve. Here’s an outline of what I've done so far: Export out a backup of ...
Josh's user avatar
  • 11
0 votes
0 answers
13 views

Just installed WP on Ubuntu. Can't publish a new post [closed]

I installed WordPress on a Linux server by following these tutorials in order: https://www.digitalocean.com/community/tutorials/how-to-install-lamp-stack-on-ubuntu https://www.digitalocean.com/...
mixvinx's user avatar
0 votes
0 answers
10 views

Issues applying JSON body filters in EU F&T Portal SEARCH API with WordPress integration

I am trying to use the SEARCH API service of the EU F&T Portal public REST APIs for retrieving data for further integration with my project, but I am having some problems. I am using WordPress as ...
smelendez's user avatar
0 votes
2 answers
33 views

Comment count next to post title?

is there a simple way like a hook or function extension to show the comment count next e.g. behind the post title. I'd like to show the comment count behind every post shown on my WordPress. Example: ...
VSG's user avatar
  • 3
0 votes
0 answers
20 views

Wordpress Post Query Using Custom native MySQL like St_Distance_Sphere

Is there a way to query posts for "the loop". But include some filter on the results based on a mySQL Function like St_Distance_Sphere? Or convert a wpdb->query into a form similar to &...
Enjabain's user avatar
  • 101
0 votes
0 answers
16 views

Unable to create categories and tags for posts in wordpress multisite

Good morning everyone, I inherited a wordpress multisite. Now I need to create a blog as a sub-folder site but it is impossible for me to generate new categories, or rather the number of categories ...
user249673's user avatar
0 votes
0 answers
21 views

Contributor has lost the "Submit posts for review" feature

Last weekend I had problems with my website, which led me to clean up my WP-OPTIONS table, something I hadn't touched (out of fear) in 13 years. It's incredible how much junk accumulates there, with ...
Rafa Mañas Enríquez's user avatar
0 votes
1 answer
27 views

/wp-admin/admin-ajax.php Error 500 while using divi premade layout in existing pages

I am getting error as 500 while only using premade layout and existing pages option. Its working fine for staging, issue is only on production. How to check exact issue... Tried disabling plugins.....
bhagya_kz's user avatar
0 votes
1 answer
18 views

How Do I Make a Specific Post Sticky as Number Four in the List of Latest Posts on my Blog Homepage?

Currently, my WordPress blog displays a list of latest posts on its homepage. They are ordered by date with the latest post being at the top of the list. Is there a filter or a function that I can add ...
livingandlearning's user avatar
1 vote
2 answers
17 views

Category Attachment Pagination 404 Error on 2nd Page

I'm customizing category.php to display all attachments with a specific category, but when I click on a link for a page besides the first one, I get a 404 error. To reproduce: Install a new Wordpress ...
The-Coder-Who-Knew-Too-Little's user avatar
0 votes
1 answer
38 views

Implementing Soft Delete for Bulk Actions / Empty Trash

I successfully introduced the concept of soft deletion for a custom post type by implementing an additional post_status named deleted. Whenever I click on a «Delete permanentely» link in the list, the ...
uruk's user avatar
  • 604
0 votes
0 answers
27 views

Can't save/get Patterns' `post_content` attribute

I am currently successful at getting the WordPress patterns via the following query: SELECT * FROM {$wpdb->posts} WHERE post_type = 'wp_block' Problem is, I realized post_content is empty, except ...
neke90's user avatar
  • 1
0 votes
0 answers
12 views

Exclude the Newest Recent Post from their Category After New post Publish old post should be in their category at Home Page

For Avoid Duplication of Posts Exclude the (Recent Newest Post) from their Category. But when a new post is published again in a similar or another category, the old post should be included again in ...
Islamic Quran Center's user avatar

15 30 50 per page
1
2 3 4 5
403