Redo Hacks Made to Awake 1.x for 2.x; Static Search Box & Edit Contact Us Field

pending (2 posts) (2 voices)

  1. marbuckner
    Member

    With the help of the forums I had made some code changes to the Awake 1.x theme that I would like to make to the 2.x version. The code base is significantly different, and these are a bit beyond a new skin. How can these hacks been accomplished in 2.x?

    - Change the search box so instead of appearing on hover that it is embedded (always visible)
    http://mysitemyway.com/support/topic/display-search-box-in-nav
    http://mysitemyway.com/support/topic/remove-search-hover-and-replace-with-static-search-field-awake-theme#post-12176
    http://mysitemyway.com/support/topic/search-box#post-1931

    - Add a Fax field to the Contact Us widget
    http://mysitemyway.com/support/topic/how-to-edit-contact-info-fields#post-9778

    - Have multiple pages each showing a different blog (different categories on different blog pages).
    http://mysitemyway.com/support/topic/more-newsblog-pages#post-468
    http://mysitemyway.com/support/topic/setting-up-multiple-blogs-on-one-site#post-20080

    Posted 10 months ago #
  2. Elliott
    Support

    Hello marbuckner,

    1. Navigate to Dashboard -> Awake -> General Settings and add this in the extra header text field,

    <div id = 'static_search'>[search]</div>

    And this in the custom CSS field,

    #fancy_search { display: none; }
    #static_search { z-index: 9999; width: 300px; position: absolute; top: 70px; right: 20px; }

    2. Open up /wp-content/themes/awake/lib/classes/widget-contact.php and you can find the contact widget. You'll just need to copy the format used for the other form fields and add another. For example copy the "email" field and add your own beneath it on lines 29, 47, 65, 81, and 105.

    3. You can use our new [blog] shortcode for this, http://mysitemyway.com/docs/index.php?title=Blog.

    Posted 10 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme