Quick php code question

Discussion in 'Web Design and Development' started by torndownunit, Mar 18, 2010.

  1. torndownunit macrumors regular

    Joined:
    Jan 4, 2009
    #1
    I was reading support documents on how to adjust something in a Wordpress theme. I need to edit this line of code to insert the category ID.

    .get_option('rttheme_product_list_ex_cat[]').

    I am just not sure if the ID goes within those [] brackets, or if I erase them and put the ID in?

    EG

    ".get_option('rttheme_product_list_ex_cat20')."

    or
    ".get_option('rttheme_product_list_ex_cat[20]')."

    Thanks for any help.
     
  2. joro macrumors 68020

    joro

    Joined:
    Jun 11, 2009
    Location:
    NOVA
    #2
    I think you want this one:

    Code:
    .get_option('rttheme_product_list_ex_cat[20]').
    If not, try the other one :)
     

Share This Page