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

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Add "reviewedby" in Wordpress posts

​Hello, I was wondering if there is a way to add "reviewedby" + name (potentially with a blue checkmark) under the author as displayed in the attached example. ​Also, I would like users to ...
User3591's user avatar
0 votes
1 answer
14 views

Frontpage overriding my posts

Each time i make a new post I cant see it ok my website when I view it. The front page (which is blank) seems to override my posts. How do I remove it or change the settings
Dineato's user avatar
0 votes
0 answers
12 views

(plesk)After adding 1000 youtube url to my 1000 different wordpress article, my all websites doesnt show yt url as embed

i added 1000 article with 1000 youtube url, i directly pasted youtube url, but after that, including that site, my all sites on my dedicated hosting doesnt show the youtube embed after i paste direct ...
teamzane's user avatar
0 votes
0 answers
12 views

How do I connect the free Wordpress.com to Google Analytics 4 [closed]

I do not have a subscription service but host for free on WordPress. Therefore, I cannot use any add-ins. Is there a way to link my web site to the new Google Analytics 4 GA4 property. I do not have ...
Terra Encounters's user avatar
0 votes
2 answers
26 views

post loop with different design depending on post

I'm having a lot of trouble finding the solution. I would like to loop my last 3 posts with wp-query. I would like the 1st post to be in one div and the last 2 posts in another different div. So when ...
Thica's user avatar
  • 15
0 votes
0 answers
15 views

Post type gives 404 unless logged in

My custom post type gives a 404 (slug translated by WMPL), unless I login to the admin. Then it works again for several days (it seems), just to become 404 again. Login in again (without doining ...
Base's user avatar
  • 1
0 votes
0 answers
12 views

change the blog in the url if you go from a specific page wordpress

I have a products page on my site, and the products themselves are actually posts. And also, I have a blog with posts. When I am on the products page, I have a link like: site.com/products And go to ...
s.kuznetsov's user avatar
0 votes
1 answer
10 views

How to publish offline pages?

I saved many pages offline with firefox. Those pages have two parts, a html file and a files directory that contain images, js etc. What's the easiest way to publish those offline pages on my ...
progonkpa's user avatar
  • 103
0 votes
0 answers
12 views

How to make posts_like_dislike reference current post when iterating?

I am using plugin https://wordpress.org/plugins/posts-like-dislike/ . It adds a [posts_like_dislike] shortcode. When inside the default wordpress Twenty Twenty-Three in posts "Blog Home" ...
KamilCuk's user avatar
  • 101
0 votes
1 answer
19 views

What might cause two dates to appear on a blog post?

I'm the webmaster of a grad school student group. We have a WP site I took over from the last webmaster, who took over from the person before, etc. I just started over the summer. Blog posts are ...
Erica's user avatar
  • 1
0 votes
1 answer
25 views

Notice: Undefined index: h in themes/dentario/fw/core/core.wp.php on line 1515

I am getting this error on this theme and I am trying to find out if the website even needs this set of code. It is a theme that doesn't seem to have support. I contacted the support team and they ...
Rookie Recruits's user avatar
0 votes
0 answers
9 views

Blog page shows the whole blog post instead of the excerpt or summary with the feature image only

My ecommerce website is built on the storefront theme. I've started its blog, however, the blog post is not being showed as an excerpt on the blog page. Instead, it appears as the complete post. Also, ...
Soma's user avatar
  • 1
0 votes
0 answers
19 views

Word press won't post or update if there is code in the page

After more than ten years without a problem WordPress will not post or update if there is code in the post. Any help would be appreciated Ps I have already tried disabling all plugins Thanks!
Jesse Liberty's user avatar
0 votes
0 answers
17 views

Disable All In One SEO plugin for custom post type

I am using All in One SEO Version 4.2.7.1 I just added a custom post type using below code- function RK_FAQs_register_post_types() { // Set UI labels for the recipes post type. $labels = ...
Ravinder singh's user avatar
-1 votes
1 answer
18 views

How can I make the forum topics also appear as WordPress blog posts? [closed]

How can I make the forum topics also appear as WordPress blog posts? And with which forum plugins?
Max Cady's user avatar
0 votes
1 answer
9 views

How can I guide user to the next unread post within category

I am struggling with a coding problem as we want to guide the user to the next unread post within a category ('puzzles'), since we don't want users to go back and re-submit old puzzles to game their ...
David's user avatar
  • 1
0 votes
1 answer
16 views

Wordpress converting ' to ’ and - to –?

When I create a post (or whatever) in wordpress if i type - wordpress converts it to – on site for public users. as you can see left one is bigger than right one (i added right to just show what i ...
Maria's user avatar
  • 1
0 votes
0 answers
14 views

How to allow subscribers to create post of a new custom post type

I am working on a plugin which adds a new custom post type and I want all users to be able to create new posts of this type. Here is what I've got at the moment: $labels = array( 'name' ...
Petar Vasilev's user avatar
0 votes
0 answers
11 views

Add a category to posts, that DO NOT contain two specific keywords?

i'm a little bit underwhelmed. I use mostly plugins for everything but i think there is none that does that job. I'm looking to add a category (ID 18663) to posts that do not contain two specific ...
gooloode's user avatar
0 votes
0 answers
8 views

Stripe Button not working on a custom post type template

I have a custom post type of "Properties", I am adding a stripe button on the template on this Property Post Type. But when I click the stripe button, i get the following errors: jquery.min....
Bob Jurgens's user avatar
0 votes
1 answer
25 views

initiate the post numbering for the upcoming articles at 100,000

I've set up a new WordPress website, and it already contains 100 articles. Now, I'm looking to initiate the post numbering for the upcoming articles at 100,000. How can I accomplish this?
e12345678's user avatar
  • 113
0 votes
0 answers
27 views

Import posts from a different database with the same old id

I am trying to retrieve data from an old custom programming to a new WordPress site, but I encountered a problem that I cannot retrieve the old id number. I need that to keep the site's archive, the ...
Kami's user avatar
  • 1
-1 votes
1 answer
25 views

Function to delete post from category older than 2 days

I was referring to What would be a PHP command to erase all posts from category X from the last month? from 2017 to delete old post from a category. When I implemented it, it is deleting newest 1 day ...
apptikka's user avatar
0 votes
1 answer
41 views

Is it possible to use the_post 2 times in one loop

I have a page on which I want to display all my posts from my custom post type, which I am able to do in a single column. However, I want to display the posts in 2 columns. For this, I will need two ...
Romit's user avatar
  • 1
0 votes
0 answers
82 views

Gutenberg block: add a multi-select for posts

I created a custom Gutenberg block with @wordpress/create-block. I now have a dropdown where you can select a post, but I would like this to be a multi-select where you can select multiple posts. How ...
azrac's user avatar
  • 1
0 votes
0 answers
21 views

Disappeared article

Good morning, one of my clients has a disappeared article from the 'Posts' section of Wordpress. I tried to upload a backup, but everything crashes when I attempt to reload them (I've already ...
LuchiniChiara's user avatar
0 votes
1 answer
13 views

Randomly display activity posts on home page with buddypress

I have a buddypress with a theme (youzify), I want to display activity posts randomly on home page, not in chronological order. Anyone knows any code or method for that? I used this code but it doesn'...
wmasat's user avatar
  • 1
0 votes
2 answers
25 views

Add function to single blog post pages only

I am wanting to add this code to single blog posts only after content. Right now it is showing up on every page after content. add_action( 'presscore_after_content', 'insert_cp_banner' ); function ...
nine19's user avatar
  • 1
0 votes
0 answers
21 views

It tells me that I exceeded the maximum number of executions when trying to publish content

I need the code to replace a post to be executed when publishing, it asks me for the ''updateSaved'' function. function actualizacionPost($condicion){ ...
Miguel Angel Salas8's user avatar
0 votes
0 answers
17 views

Updating post_parent caused the website to become unresponsive for 40 seconds or more

I am building a WordPress plugin the sets the post_parent of a post to the id of a custom post type called series. However, once I click update on the post it successfully updates the post and the ...
Petar Vasilev's user avatar
0 votes
1 answer
51 views

SQL phpmyadmin remove posts from cat id exclude condition

I have a sql code for wordpress database that use for deleting posts from specific cat id for specific time duration and I always use this code and it is working fine. DELETE a, -- DELETE from ...
akhbarejadid's user avatar
0 votes
1 answer
57 views

Mismatch between posts count and actual list in admin posts page

I have an issue in the *Posts* page in the admin area; more specifically, I see that there is a mismatch between the posts count and the actual list shown, when the posts are filtered by category: the ...
DamianFox's user avatar
3 votes
1 answer
25 views

How can I change the post order after filtering in WordPress?

After filtering the post list in the admin dashboard, how can I change the order of posts after filtering and it will display in the same order at the front end too?
Radheeka Chopda's user avatar
0 votes
1 answer
99 views

How to automatically update ACF field value every year?

I'm using ACF in my custom post type and I have 2 numeric fields: one for Birth year and another for Age. I want to update the age field automatically based on the birth year field value. I found out ...
Adriana Leites's user avatar
0 votes
1 answer
25 views

This is a plugin code that supposed to add badge/label Infront of post title but i don't understand why it is showing the code tags in frontend

I want it to display the label/badge infront of title not inside the title because it keep showing the code tags. /* added farbtastic script and css while adding badges from backend */ add_action('...
Vince's user avatar
  • 1
0 votes
1 answer
25 views

is_singular() in mu-plugins not working

I wanted to use mu-plugins to load the plugin only on a page with a single blog post. Unfortunately, the is_singular('post') function is not working properly. So I tried using $post->post_type, but ...
patryk siuta's user avatar
1 vote
1 answer
60 views

How do you export and import wordpress blog posts and exclude pagebuilder shortcodes?

I am exporting wordpress blog posts from one website and importing them to another wordpress website. Unfortunately, the blog posts are including page builder created shortcodes from the old website. ...
Wes's user avatar
  • 11
1 vote
1 answer
95 views

ERR_CONNECTION_RESET on post save or add media

About a year ago the site was moved to another host (same domain name). Every time I attempt to save a post, page or upload media, I'm immediately sent a connection reset error (This webpage is not ...
Alex Gubin's user avatar
0 votes
0 answers
18 views

Menu for all posts from multiple categories

This seems like a basic question but I couldn't find answer anywhere. I have 300+ posts and 15+ categories on my website and I'm unable to create a menu to link to all the posts from all categories. I ...
Nikita Gupta's user avatar
0 votes
1 answer
25 views

How can I strip a single tag from an email post

I'm trying to send emails showing my post contents when I publish something on my site. However, my posts have videos so I'm trying to remove that from the emails that go out. Here is the current code ...
Jeremy's user avatar
  • 1
0 votes
1 answer
35 views

Wordpress Post page list view seems broken

The post list page in the backend admin for my wordpress seems broken. The post title and other details are broken down every character. I have not modified any css or theme file. Anyone has any idea ...
Rick Roy's user avatar
  • 103
0 votes
1 answer
58 views

Add text/link next to the last word of each post

I'd like to add a custom message or a link next to the last word of all posts. Like this: This is any post of my wp blog. This is the last word of my post: last word. [text/link here] I've been using ...
Cipher's user avatar
  • 1
0 votes
2 answers
44 views

How to show custom post type in all post section?

I want to show my custom post type live-blog in the all post listing page ie. http://www.wordpress.com:8080/wp-admin/edit.php So for that i am using pre_get_posts hook in order to show live-blog and ...
Manav Chauhan's user avatar
0 votes
0 answers
22 views

Image inside the content is replaced with featured image from my older post

I'm trying to create a popular posts widget and display the images via this function: function vp_get_thumb_url($post, $text, $size){ $imageurl=""; // 1) FEATURED IMAGE // ...
justtme's user avatar
0 votes
1 answer
21 views

Adding Blocks within Blocks

Not sure if this specific question has been asked before. So regret repeating it here again. My WP version: 6.2 My usecase -- I am unable to add blocks within blocks. Mostly I do not get option to add ...
bbh's user avatar
  • 101
0 votes
1 answer
18 views

posts blocks don't show up correctly

Hi I have the posts available on this page appear well like in this link: https://teesvg.com/svg-bundles/ but the posts in categories pages don't show up correctly like here: https://teesvg.com/...
PC Welcome's user avatar
0 votes
0 answers
103 views

Wp forms wpforms()->entry->update not working on page refresh

Wp forms wpforms()->entry->update not working on page refresh , it only works when i do some change in wordpress dashboard (like clearing cache or updating any post) then only it is updating the ...
Ajay 's user avatar
0 votes
1 answer
42 views

Output number of Wordpress posts remaining until a post milestone is reached

Some time ago there was a Wordpress plugin (Post Countdown) that created a widget to display how many posts there were still to be published before a milestone was reached. As of PHP8 it no longer ...
Mr. CRJ's user avatar
0 votes
0 answers
5 views

custom register accept term and policy page

I want to customize this accept Privacy Policy what plugin should I use or what should i create custom css or JS script? thank you.
renedes's user avatar
0 votes
1 answer
18 views

Edit Page button is gone

I am using Wordpress 6.2 and I have created a blog site. I cannot see the page where the blogs on this site are displayed under the "Pages" section, and the "Edit Page" button at ...
AliOsman's user avatar

1
2 3 4 5
120