Results 1 to 5 of 5

Thread: Display Map in Header

  1. #1
    Thread Starter
    jasongeek's Avatar
    Join Date
    Jan 2014
    Location
    Sacramento, CA USA
    Posts
    1,355
    Thanks
    34
    Thanked 18 Times in 18 Posts

    Display Map in Header

    I've opened the Header.php file but I'm not sure where to put the code:

    <center><?php if(is_home() || is_front_page()){ $arg = array('w'=>'100%','h'=>'400px',); //w=width & h=height do_action('wpw_mappress_gmap_code',$arg);}?></center>

    I'm trying to have the map appear on every page.

    Where is the most appropriate place to put the code to make it look nice with the stock Classipress theme?
    Jason Lee Hayes

  2. #2
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    jasongeek's Avatar
    Join Date
    Jan 2014
    Location
    Sacramento, CA USA
    Posts
    1,355
    Thanks
    34
    Thanked 18 Times in 18 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Jason Lee Hayes

  4. #4
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Expired Customer reproo's Avatar
    Join Date
    Oct 2017
    Posts
    36
    Thanks
    4
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. header email don't display what I want
    By labo17 in forum ClassiPress General Discussion
    Replies: 2
    Last Post: November 26th, 2013, 02:00 PM
  2. display problem header
    By express in forum Clipper General Discussion
    Replies: 3
    Last Post: August 19th, 2013, 02:32 PM
  3. display problem header
    By express in forum Report ClassiPress Bugs
    Replies: 0
    Last Post: August 18th, 2013, 11:16 AM
  4. Samcy Issues with header display
    By mario92 in forum Report JobRoller Bugs
    Replies: 2
    Last Post: March 7th, 2013, 03:48 AM
  5. Dimitris Header Won't Display
    By simedia in forum Report Vantage Bugs (Legacy)
    Replies: 6
    Last Post: February 13th, 2013, 09:35 AM