All Questions
Tagged with custom-field posts
161
questions
0
votes
1
answer
37
views
What is the easiest way to create a custom field archive?
So, here is the issue:
I am using a plugin named User Submitted Posts, and it works great on its part. However, I still want to have that user content page the Twenty Twenty Four theme has by default, ...
1
vote
1
answer
49
views
Get featured image thumbnail and inserting into custom field on wordpress posts
I'm not a developer so trying to put this together has not been successful. Hope someone can assist!
My goal - create a custom field on a wordpress post when a post is published or updated which ...
0
votes
1
answer
600
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 ...
-1
votes
1
answer
29
views
Is there a plugin or another way that can help me find out the underlying files of a page/post? [closed]
I have a WordPress website, developed by someone else. I need to make some changes and fix some issues, as the site still has some flaws. For example, there are some fields that need to be changed, ...
2
votes
1
answer
538
views
How to detect if an ACF custom-field is really in use?
I want to find out if a custom-field is in use for a post or term.
That means the custom-field has a content and is not empty.
I guess that's more difficult for selects, radio or checkbox-inputs.
So ...
0
votes
1
answer
66
views
What snippet do I need to type to show my ACF field show up on my theme?
I've been trying all kinds of things but I can't get it to work cuz my Theme single.php looks different that usual.
I made a field in ACF named Region and then enter for example USA which I need to ...
0
votes
0
answers
24
views
How to save template data into wp_post table (post_content column)
Is there a way to save template data into wp_post table?
I made a custom template that automatically makes tables and some sentences with the meta-data that users insert in.
I wanted to make users ...
0
votes
1
answer
80
views
Is there a way to make [Table Of Content] plugin while not using revision data?
I have a problem while using TOC plugins 'cause all of TOC plugins use revision data to recognize header tag. I'm using my own metadata (custum field) plugin and the data doens't show on the revision ...
0
votes
1
answer
794
views
Override WordPress core post-template.php block template
I need to modify the default markup generated using the render_block_core_post_template function located inside wp-includes > blocks > post-template.php.
I don't see any other way of modifying ...
0
votes
2
answers
260
views
Posts sortable column not sorting properly for custom field numbers
I have a custom field for view counts that are stored as numbers. I added a Views column, and made it sortable, but they are not sorting properly.
The results when I click on the Views column are ...
1
vote
1
answer
943
views
Only display posts after current date
All my posts have a custom field named date-start-custom. The value of the custom field is in the date format YYYY-MM-DD HH:MM (e.g: 2021-06-15 14:30), and I want to only list posts that has a date ...
1
vote
0
answers
404
views
How do I correctly set up a WP-Query to only show upcoming event-posts?
The goal is to display event-posts only for upcoming events. Setup is Elementor Pro combined with Astra Pro theme.
I added a custom date field called 'eventdatum' (d/m/Y) to posts and via the ...
1
vote
1
answer
727
views
How to display Common posts from specific Tag & Category with Shortcode
How to display posts that are common in Category A and Tag A, and I want to display posts by shortcode so that the Shortcode can be used on multiple locations with different category Ids and Tags.
I ...
0
votes
1
answer
40
views
How to display custom field in product description?
I have a custom field such as "_additional_description", I need to display it at the end of the product description, but only if the product is simple.
Thank you for your help
1
vote
1
answer
404
views
Update Post Meta for a logged in user
I have created a form which collects information which I want to update a post with. The code I have works great, but instead of updating a post for the user, it creates a new one. Not sure what I am ...