Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sandra11

    (@sandra11)

    Ok understood…

    In the same way, on create new custom meta box, I think it would be useful not to use a “generic” ID too, because this could create problems in other plugins.

    Thanks for clear explanation!!! 🙂

    [Resolved]

    Thread Starter sandra11

    (@sandra11)

    @bcworkz thanks and sorry for delay

    You solved my problem!

    Your code works correctly on my installation. Is there any chance you previously moved a previous meta box with the same ID to the side column? Check your user meta keyed “meta-box-order_post”. If the ID is in this array, the box has been moved from its default position.

    Yes, its ID was (is!) in this array.
    Finally, I’ve changed ID (from demo-meta-box to demo-meta-box2) and all works perfectly!
    Just a question: why this behavior?
    If I MUST use the first ID, can I clear the wordpress cache? Or what?
    Thank you very much!! 🙂

    • This reply was modified 9 years, 6 months ago by sandra11.
Viewing 2 replies - 1 through 2 (of 2 total)