83 comments found

  • Bought between 1 and 9 items
  • Has been a member for 2-3 years

Hi feeleep!

Once again, great theme, I’m enjoying working with it. :)

I was wondering if there’s a way to have two locations in the map (with two markers, of course), like “head office” and another office, with a different address. Thank you!

feeleep

As you know, the contact page map is theme options related and excepts one address by default. Theoretically, you could create another set of options identical to existing one and let it accept an extra address with latitude, longitude, zoom level and marker upload field.
However, the map itself relies on “data” attribute into which all of the above mentioned gets stored. In order to understand it better, here’s the chunk of code taken from “header.php” (line #97):

<div id="g-map-1" class="map col-lg-12" data-gmaptitle="<?php echo $map_title; ?>" data-gmapzoom="<?php echo $map_zoom; ?>" data-gmaplon="<?php echo $map_lon; ?>" data-gmaplat="<?php echo $map_lat; ?>" data-gmapmarker="<?php echo $map_marker; ?>" data-cname="<?php echo $contact_name; ?>" data-caddress="<?php echo $contact_address; ?>" data-ccity="<?php echo $contact_city; ?>" data-cstate="<?php echo $contact_state; ?>" data-czip="<?php echo $contact_zip; ?>" data-ccountry="<?php echo $contact_country; ?>"></div>

Of course, there’s javascript function made to handle and process the data and convert it into the map, see “Producr/js/theme.js”, lines #48 thru #134.

So, what you should do is to find the way to pass multiple addresses, modify javascript to accept/handle it ( maybe this might help: http://goo.gl/kkObxX ) and create another set of theme options to grab the extra address.
You can see how these options were created if you open “Producr/admin/option/producr_options.php” and take a look at the code between #210 and #254. If you take to edit options code, be sure to assign unique name to each new option in order to avoid conflicts.

It’s not as easy as it seems but hopefully the above can help!
  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi, I cannot get the slider revolution plugin shortcode to work inside of a page blox. Nothing comes up not even an error message.

Also, is there a way to make a page blox in “Page Blox > Add New” and then include that page blox in either a page or another page blox?

Default-user

Update: What I meant to say was that the slider revolution shortcode does work, just not inside of the [page_blox_container] shortcode which is a pain because I want to center the slider.

I’ve viewed the source code of the page and the slider code is inserted into the page but for some reason the slider never loads, it just remains a blank space. Maybe its a javascript issue?

Default-user

I think I’ve figured it out whats wrong. Anything you put in the code editor on Page Blox > Add New, automatically gets paragraph tags inserted which breaks the javascript of the slider plugin.

feeleep

Just wanted to ask you for the site URL to check the source code and javascript but you already got it resolved.
The truth is: anything you put into TinyMCE gets wrapped with the paragraphs. PageBlox use WordPress’ “native” text editor (without any modification) which behaves exactly the same as the one used on page/post edit.
However, all of the excess paragraphs get stripped down before PageBlock, page or post are published and I don’t think it caused the problem. Moreover, I tried to re-insert Revolution slider on theme’s demo site and didn’t encounter any issues.
Strange. If the problem persist feel free to let me know – I would love to take a look.

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Portugal

Hi,

I’m having the following error in the projects http://awesomescreenshot.com/0f62nkoa97

Whenever I try to create a project category it simply disappears. http://awesomescreenshot.com/0132nkoz66 Can you help me? is it urgent.

thank you

feeleep

Not sure what’s going on at your side, everything works fine over here so I’ll have to ask you to create a temp Admin account for me and send login credentials via PM. Otherwise I can only guess which doesn’t bring any solid explanation.

by
by
by
by
by
by