I am having some issue removing the width and height from my attachment images when using wp_get_attachment_image. This is what I am using to display the image <?php echo...
I’m questioning how i can get rid of the post-editor (visual + html). I tried to not register post type support, and it still appears (de-registering works fine with...
I have a custom filed called xxxx_url. xxxx_url should be unique. So, before publishing the post, I want to make sure that xxxx_url is unique or not? If it...
I have a custom post type “Listing” and I want to get all Listings that have a custom field gateway_value != 'Yes', and order the results by another custom...
I’ve been playing around with code snippets which add meta data to admin searches. The best snippet I’ve found was written by Stefano on this question. However, it appears...
This question already has an answer here: Underscores in custom fields (1 answer) Closed 7 years ago. In wp_postmeta table I noticed that some of the keys are with...
(My first WP question ever asked! Be gentle!) I’m building a site that is mostly pages (i.e., static), using WP as CMS. At the bottom of several of the...
I am trying to create a REST APIs for my wordpress website which is used for facility listing using wordpress job manager plugin. I have registered my custom post...
How can I add pre-defined options to the “add new” custom field dropdown? Here’s two examples of automatically adding and showing new custom fields: WordPress: Adding Default Custom Fields...
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by...