` but output is $metadescription anyone help me please `$metadescription = wp_trim_words( get_the_content(), 55, ''); add_post_meta($post_id, 'm ...
As several fields are updated programmatically, I want those not to be updated when a post is saved or updated inside the wp-admin dashboard. For exa ...
I run a running/biking website with wordpress. Now I would like to create a PHP query that returns the posts of the last 30 days. I have done that. H ...
For a WooCommerce shop, based on a Shipping Zone I have three custom fieldgroups showing at checkout. I want to hide two of those fieldgroups dependin ...
I have created a series of custom fields in the woocommerce checkout. They are successfully saved in the order and displayed in the email but I can't ...
I bought a theme on ThemeForest to create listings. Users have access to a platform to create listings, edit them and also delete them. Each listing h ...
I'm creating a wordpress plugin in a wordpress instance full of unknown plugins. I need to perform some checks and actions after custom fields have be ...
I would like to add 4 custom fields to my woocommerce order emails, but not exactly sure how. The 4 fields are named 'age' 'year-of-study' 'area-of-in ...
I have 2 different working methods at functions.php for backend. Each method below has 2 hooks; 1 to display the new custom field & another hook t ...
I’m fairly new to Wordpress and I’m trying all my best to learn, but I can’t find a solution for this one… I’ve been using the Twenty Twenty-Two theme ...
I want to extends the Premium Items module with some fields like(max_order_value, visible_above_and_visible_below) but it do not have its _attributes. ...
Hello I applied the code I found here. But I can't figure out how can I call this image on frontend. I tried this so far: but I guess this is not ...
I'm using the "Adavanced Custom Field" WordPress plugin for the creation of relational fields. I created a custom post type "CPT 1" and added it as a ...
In my Wordpress back-end, under my Custom Post Type for "Business", I want to enable the Featured Image and Custom-Fields in my "Screen Options", howe ...
Hello I'm new to Dynamics, and I'm interested if there is a way to add a custom fields inside Invoices entity. I have seen that there is a way to crea ...
I'm trying to add some values to a issue picker custom field in Jira, using Python. I'm getting <Response [405]> and no value has been added. ...
What's my goal with this question I'm currently building a custom plugin for a WordPress website. When my plugin is activating, it's creating a new C ...
I want the blog posts in Wordpress to be sorted by a date set in custom field and hidden when that date has passed. I got the sorting working but not ...
I want to show a custom Avatar image field on the author page. The following code is working for me, but shows as can be guesses the field of the curr ...