edgepro
Forum Replies Created
-
Also, is it possible to download the previous version so that we can implement a temporary fix? What is the link for that?
It’s not pretty when one looks at the source code, but I use the token in the CSS classes of the element and then look for when the class is not rendered right and hide it. This CSS trick can allow you to conditionally show or hide anything, depending on if the field is null or not (or a specific value):
CSS:
/* Hide empty bullets */
[class^=”-Location”], [class^=”-Food-Location”]
{ display:none; }
HTML:<h3>locations include:</h3> <ul> <li class="{{mpg_check-in_location}}-Location"><a href="{{mpg_check-in_loc_link}}" target="_blank" rel="noopener">{{mpg_check-in_location}} (Check-In Here)</a></li> <li class="{{mpg_location_2}}-Location"><a href="{{mpg_loc_2_link}}" target="_blank" rel="noopener">{{mpg_location_2}}</a></li> <li class="{{mpg_location_3}}-Location"><a href="{{mpg_loc_3_link}}" target="_blank" rel="noopener">{{mpg_location_3}}</a></li> <li class="{{mpg_location_4}}-Location"><a href="{{mpg_loc_4_link}}" target="_blank" rel="noopener">{{mpg_location_4}}</a></li> <li class="{{mpg_location_5}}-Location"><a href="{{mpg_loc_5_link}}" target="_blank" rel="noopener">{{mpg_location_5}}</a></li> <li class="{{mpg_location_6}}-Location"><a href="{{mpg_loc_6_link}}" target="_blank" rel="noopener">{{mpg_location_6}}</a></li> <li class="{{mpg_location_7}}-Location"><a href="{{mpg_loc_7_link}}" target="_blank" rel="noopener">{{mpg_location_7}}</a></li> <li class="{{mpg_location_8}}-Location"><a href="{{mpg_loc_8_link}}" target="_blank" rel="noopener">{{mpg_location_8}}</a></li> </ul> <h3 class="{{mpg_food_location_1}}-Food-Location">And food locations include:</h3> <ul> <li class="{{mpg_food_location_1}}-Food-Location"><a href="{{mpg_food_loc_1_link}}" target="_blank" rel="noopener">{{mpg_food_location_1}}</a></li> <li class="{{mpg_food_location_2}}-Food-Location"><a href="{{mpg_food_loc_2_link}}" target="_blank" rel="noopener">{{mpg_food_location_2}}</a></li> <li class="{{mpg_food_location_3}}-Food-Location"><a href="{{mpg_food_loc_3_link}}" target="_blank" rel="noopener">{{mpg_food_location_3}}</a></li> </ul>
Forum: Plugins
In reply to: [Multiple Page Generator Plugin - MPG] Compatibility With Ninja FormsThe closest thing they have is this:
https://ninjaforms.com/blog/populate-list-field/But I have no idea how you could hook into that on the backend. (I know just enough php to be dangerous and I don’t think its’s practical for me to take that on!)
Thanks for your answer though- guess I need to find one of my programmer friends that knows some php.
Forum: Plugins
In reply to: [Multiple Page Generator Plugin - MPG] Best Google Map Plugin For MPGGreat info! Thanks!
I already started playing around with the Google Maps API and I’m already getting it to do what I want- yes, it’s pretty easy aside from trying to style the markers and icons, but I’m really close.
On the city thing, is there a way to search for a matching ZIP & return a city?
Forum: Plugins
In reply to: [Multiple Page Generator Plugin - MPG] Can’t get any template to work/startNot sure why it would be related but after updating the plugins for Contact Widgets (by GoDaddy) & WP Shopify, the issue went away. I made no other changes to my site so it had to be one of them or possibly some other update made by GoDaddy on their backend.
Forum: Plugins
In reply to: [Multiple Page Generator Plugin - MPG] Can’t get any template to work/startI emailed you through your support form. Looking forward to hearing from you.
It was a new plugin install. WordPress is all up to date, as well, and not a multisite. I even deleted the MPG cache folders, uninstalled & reinstalled. Perhaps it’s a conflicting plugin? The only one I have on there that I think might interfere is Really Simple SSL?
Forum: Plugins
In reply to: [ShopWP] “View Product” showing instead of “Add to Cart”Can you enable the item to be clickable to go to the product detail page while also allowing the button to be an “Add to cart” button? This was how the older version worked; now my site is wrecked after the update. We ABSOLUTLEY have to have our items work this way! Please help!