WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I record my problem here.


Does someone know what I am doing wrong?

share|improve this question

usually you need to

global $custom_metabox;

as described in the alchemy docs. however i can't tell more unless you post your code.

share|improve this answer
I solved my problem other way but thx :) – Itachi Mar 5 '12 at 15:20
i saw that, but i think it defeats the purpose of using alchemy if you are going to fallback to get_post_meta(). i use alchemy all the time and probably could have solved this for you w/ code posted. in my opinion you will get better/more responses if you post code instead of a screencast – helgatheviking Mar 5 '12 at 17:47
I usually use get_post_meta but had a problem... tried your way and it fixed my problem instantly. Thanks! – Shane Hudson Sep 7 '12 at 10:25

Try moving your $metabox->the_value('title') inside your custom loop.

The WPAlchemy object usually tries to get meta information for specific posts, not a bunch at once.

Sorry about the $metabox variable above, I couldn't see what variable you're using.

share|improve this answer
So I moved $simple_mb->the_value('title') inside my custom loop and still nothing. – Itachi Mar 4 '12 at 16:31
Try adding the global $simple_mb; inside the loop as well. – guiniveretoo Mar 4 '12 at 17:23
I did this too. But still nothing – Itachi Mar 4 '12 at 18:02
Finaly I solved my problem with this piece of code <?php $meta = get_post_meta(get_the_ID(), $custom_metabox->get_the_id(), TRUE); echo $meta['title']?> but with this my problems don't end. I echo my values correctly but they showed only in last post. Here is screen imageshack.us/photo/my-images/825/wpalchemiproblem.jpg Does someone know how to fix it? – Itachi Mar 4 '12 at 18:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.