• I have an affiliate book store where i compare prices of different book stores. I have a custom field called ‘price’ associated to my posts. There can be many prices for different book merchants. WordPress stores my custom keys as $price[0], $price[1], $price[2]. How can I set them as $price[amazon], $price[coles]…

    Thanks
    Seb

Viewing 3 replies - 1 through 3 (of 3 total)
  • Unless you are using some plugin (and I don’t know one to suggest) I don’t know that you are going to be able to do that.

    Thread Starter Sebastien Couture

    (@scouture)

    Can you suggest anything for better managing custom fields. I’m already using Custom Field Templates.

    The problem I seem to be having is that the keys don’t stay put. If I knew that Amazon was always $price[0] and Coles $price[1], I could manage that but I don’t know if I trust that they will stay in place.

    Thanks
    Seb

    Or make the custom field key be “amazon price” and “coles price” etc.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom array keys for custom fields’ is closed to new replies.