WordPress.org

Ready to get started?Download WordPress

Forums

How to save some infos and use it on the theme ? (1 post)

  1. Sylver---
    Member
    Posted 4 years ago #

    Hello,
    i have a problem i'm not sure how to explain.
    I have 1 theme and X blogs (in network).

    How can i save some informations (like adress or anything) and use it on the theme (like bloginfo('name'); for display the name of the blog).
    For example, on the footer.php, i just want to add bloginfo('postal_adress) (or something else) and that automaticly display the postal adress of the blog wich i previously save on the db or somewhere else.

    I think the best way is to add a new option in wp_option but how can i display it after that ? Modify the function bloginfo() ?

    Do u understand my problem ? Do u know how can i resolve it ? A plugin maybe ? I don't know what excaclty looking for..

    Thanks for u help :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.