need to add custom logo with a image field

Support MB Settings Page need to add custom logo with a image field

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7863
    brkardbrkard
    Participant

    Hi.

    I want to add a custom logo with MB settings page extension. Also want to update theme_mods customizer serialized data ..

    When i add image field to settings page options saved to database like this:
    s:11:"custom_logo";a:1:{i:0;s:3:"271";}}

    But i need this image saves to database like this:
    s:11:"custom_logo";i:271;}

    ( 271 is image atachment id)

    How can i achive this ?

    Thanks.

    #7882
    Anh TranAnh Tran
    Keymaster

    Hi,

    I was facing the same issue when working with the custom logo. Currently there's no options for it yet. I will create a new field type single_image for this purpose. Please wait.

    #7888
    brkardbrkard
    Participant

    Hi. Thanks for your reply.

    Ability to add custom logo is the first thing that clients want. So it will be nice if you can create a new field type single_image for this purpose in a short time 🙂

    Thanks.

    #7901
    Anh TranAnh Tran
    Keymaster

    Don't worry. We're working on this. It will be available when new version of Meta Box is released 🙂

    #8044
    brkardbrkard
    Participant

    Hi..

    single_image field has come...and it is working like a charm..

    fantastic job, fantastic plugin...

    thank you very much. 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘need to add custom logo with a image field’ is closed to new replies.