Is it illegal to make and sell crafts like diaper cakes if the idea was from a magazine?

As long as you give credit to the magazine i think it's OK. but there again i don't think you can copy right a recipe.