Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

custom-field

Custom field metabox not showing in back-end

August 2, 2022August 1, 2022 by Magenaut

I recently updated my website after a while, and the custom fields meta box is not showing in the editor anymore. It isn’t showing under “Screen Options” either. Any ideas why this could be, and how to get it back?

Categories Q&A, Wordpress Tags custom-field, metabox, post-meta Leave a comment

order by meta_value serialized array

August 2, 2022August 1, 2022 by Magenaut

Hi I’m trying to pull posts using the wp query. Just one problem–I am trying to sort the posts alphabetically by a certain meta_value. Thing is that this meta_value is a serialized array. Is there an easy way to do this without having to unserialize it? Thanks!

Categories Q&A, Wordpress Tags custom-field, custom-post-types, meta-query, query-posts Leave a comment

How do I search an array stored in a custom-field using WP_Query?

August 2, 2022August 1, 2022 by Magenaut

I have a custom post type called “on-air” that included a custom-field called “daysonair”. The form for this has checkboxes for each day of the week.

Categories Q&A, Wordpress Tags array, custom-field, wp-query Leave a comment

Better post meta efficiency?

August 2, 2022August 1, 2022 by Magenaut

I work with websites which require using Post Meta for Post Objects within a particular Post Type.

Categories Q&A, Wordpress Tags custom-field, hooks, post-meta, posts, save-post Leave a comment

Using meta_query, how can i filter by a custom field and order by another one?

August 2, 2022August 1, 2022 by Magenaut

With the following code (in functions.php) my posts (of CPT event) are ordered by _end_date instead of _start_date. What’s the proper solution to this as of WP 3.1.3? Of course I’d like to avoid using deprecated meta_key.

Categories Q&A, Wordpress Tags custom-field, custom-post-types, meta-query, query-posts, sort Leave a comment

How to correctly call custom field dates into a posts_where filter using SQL statements

August 2, 2022August 1, 2022 by Magenaut

Currently I have the loop listing posts between two dates using the posts_where filter:

Categories Q&A, Wordpress Tags custom-field, sql Leave a comment

Query Posts or Get Posts by custom fields, possible?

August 2, 2022August 1, 2022 by Magenaut

If I were to take a standard query post.

Categories Q&A, Wordpress Tags custom-field, get-posts, query-posts Leave a comment

Most efficient way to add javascript file to specific post and/or pages?

August 2, 2022August 1, 2022 by Magenaut

I am wondering what the most efficient method is to add a javascript file specifically for a post and/or page.

Categories Q&A, Wordpress Tags custom-field, javascript, jquery, php Leave a comment

How to add add_meta_box to specific Page Template?

August 1, 2022July 31, 2022 by Magenaut

I want to add add_meta_box to specific page type like Page Template, Like Product Template.

Categories Q&A, Wordpress Tags custom-field, metabox, pages Leave a comment

How to customize default wordpress editor?

August 1, 2022July 31, 2022 by Magenaut

Good to hear that Sonny (wordpress3.3) has the new editor API wp_editor() that gives us the ability to use multiple instances of the editor in our custom fields with ease.

Categories Q&A, Wordpress Tags custom-field, customization, wp-editor Leave a comment
Older posts
Newer posts
← Previous Page1 … Page10 Page11 Page12 Page13 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress