Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Awesome! Is that Swift Framework 2.5.43 which is newer than the 2.5.42 you provided in the Dropbox ZIP link?
THANKS,
-Alex
June 14, 2017 at 3:37 pm in reply to: WC_Product: get_gallery_attachment_ids is deprecated since since version 3.0! #328776Of course!
Updated and same issue. Screenshots attached.
Thanks for looking into this!
-Alex
Attachments:
You must be logged in to view attached files.June 14, 2017 at 2:52 pm in reply to: WC_Product: get_gallery_attachment_ids is deprecated since since version 3.0! #328747Thanks so much for replying. I did that and the issue persists. Screenshots included. I can try to set up a staging server if you all need it, thought I don’t know if I can set
efine('WP_DEBUG', true);
on the staging server.Attachments:
You must be logged in to view attached files.I have added
swift-framework-wp_4_8.zip
which updates the Swift Framework to Version 2.5.32 and for a while things worked better, but now it’s back to the same thing – pages loading with no content – nothing – whether using Swift Page Builder or the Default editor.I’ve totally cleared all caches – on the server and in the browser.
A lot of blank spaces   characters are getting added and formatting stripped out of text boxes. As Donald Trump would say: “Big Problem!”
Hope you all find a fix. We can’t make any updates to our website!
I have this same issue, too. It used to happen every once in a while and I would just refresh the page and not save anything and the content would load. But now it’s happening to nearly every page and the client is seeing the same thing and overwriting all content by hitting “Update / Save.”
May 22, 2017 at 7:31 pm in reply to: Gravity Forms Submit Button Not Picking Up Accent Color #325579Thanks for this.
make sure to save the theme options to flush the generated code was the part I was missing. Thanks for reminding me of that. I got lines lines 411 and 412 looking like this$custom_styles .= 'input[type=submit], button[type=submit], input[type="file"], .wpcf7 input.wpcf7-submit[type=submit], .gform_wrapper input[type="submit"] {background: ' . $accent_color . ';color: ' . $accent_alt_color . ';}'; $custom_styles .= 'input[type=submit]:hover, button[type=submit]:hover, .wpcf7 input.wpcf7-submit[type=submit]:hover, .gform_wrapper input[type=submit]:hover, .mymail-form input[type=submit]:hover, .gform_wrapper input[type="submit"]:hover {background: ' . $
but I had forgotten that step.
You can mark this as resolved.
Okay, thanks. That is very much not what I see but I appreciate you looking into it. I’ll investigate further. Thanks for the prompt and awesome support as always!
-Alex
Thanks for getting back to me. I still see the issue. I’ve checked two browsers and disabled caches. Screenshots attached.
Can you send me a screenshot of what you’re seeing?
Thanks,
-Alex
Attachments:
You must be logged in to view attached files.Perfect. Thanks. Feel free to mark this and my previous two tickets as resolved.
Best,
-Alex
You helped me a lot. Thanks. I didn’t think of doing it this way but this is what works and I think what you were getting at:
<?php echo do_shortcode( ' [spb_gmaps size="300" type="roadmap" map_center_latitude="' . $location_geo_latitude . '" map_center_longitude="' . $location_geo_longitude . '" zoom="15" map_controls="yes" advanced_styling="no" saturation="color" fullscreen="yes" width="1/1" el_position="first last"] [spb_map_pin pin_title="' . $location_name . '" pin_latitude="' . $location_geo_latitude . '" pin_longitude="' . $location_geo_longitude . '" width="1/1" el_position="first last"] [/spb_map_pin] [/spb_gmaps] ' ); ?>
Thanks for pointing me in the right direction!
-Alex
Thanks! I have no problem pulling in the custom fields via the get_post_meta() function. I’m trying to generate maps with a pin on ~100 pages based on a custom template with geo lat and long coordinate as supplied custom fields. So doing it manually for each page is what I’m trying to avoid.
Here’s the custom page template code. Any tips on getting the page to render the map? The divs to get rendered and all the custom fields are passed properly.
Thanks!
<?php
$location_name = get_post_meta( get_the_ID(), 'location_name', true );
$location_geo_latitude = get_post_meta( get_the_ID(), 'location_geo_latitude', true );
$location_geo_longitude = get_post_meta( get_the_ID(), 'location_geo_longitude', true );
?><?php while ( have_posts() ) : the_post(); ?>
<?php do_action( 'sf_page_content_before' ); ?>
<div class="content-divider-wrap container">
<div class="content-divider sf-elem-bb"></div>
</div><div class="inner-page-wrap row clearfix">
<?php get_sidebar('location'); ?>
<!-- OPEN page -->
<div class="col-sm-8 push-right clearfix">
<div class="page-content hfeed clearfix">
<div <?php post_class( 'clearfix' ); ?> id="<?php the_ID(); ?>">
<?php do_action( 'sf_page_content_start' ); ?>
<?php the_content(); ?>
<section class="row fw-row ">
<div class="spb_gmaps_widget fullscreen-map spb_content_element col-sm-12 spb-full-width-element">
<div class="spb-asset-content">
<div class="spb_map_wrapper">
<div class="map-canvas" style="width:100%;height:300px;" data-center-lat="<?php echo "$location_geo_latitude"; ?>" data-center-lng="<?php echo "$location_geo_longitude"; ?>" data-zoom="14" data-controls="yes" data-maptype="roadmap" data-mapcolor="" data-mapsaturation="color">
</div>
<div class="pin_location" data-title="First Pin" data-pinlink="" data-pinimage="" data-address="" data-content="<?php echo "$location_name"; ?>" data-lat="<?php echo "$location_geo_latitude"; ?>" data-lng="<?php echo "$location_geo_longitude"; ?>" data-button-text="" >
</div>
</div>
</div>
</div>
<div class="spb-fw-sizer"></div>
</section>
</div>
</div>
<!-- CLOSE page -->
</div>
</div><?php do_action( 'sf_page_content_after' ); ?>
<?php endwhile; ?>
April 28, 2017 at 4:34 pm in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322775Yeah, that could be. I tried using wp_remote_get() but kept encountering server errors. If you plug their api url into a browser, you just get a 500 server error. file_get_contents() does work to pull the body of the api request.
Anywhoo, thanks!
April 28, 2017 at 3:08 pm in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322748Ha – I actually tried that exact thing. The shortcode generated text still jumps to the top of the page while the lorem ipsum stays where it was. I tried a paragraph of lorem ipsum above and below the shortcode and the shortcode text jumps above everything as if its position were set to absolute or something, though I can’t find anything like CSS positioning that is causing the problem. The div containing the shortcode is actually output in the markup ahead of all the other content when inspecting elements.
Anyways, the code works fine in the custom template and I’ll get back in touch if we use the shortcode on the live website and I’ll include login credentials.
Thanks for being awesome!
-Alex
April 28, 2017 at 2:36 pm in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322734The website is not live yet. Just on a local install. I made it all into a custom page template sidebar and it works perfectly. If we need to use the shortcode elsewhere on the live website, I’ll send admin credentials then.
Thanks!
-Alex
April 27, 2017 at 2:04 am in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322509I’m inserting the shortcode like this, via the PageBuilder:
[spb_text_block animation="none" animation_delay="0" simplified_controls="yes" custom_css_percentage="no" padding_vertical="0" padding_horizontal="0" margin_vertical="0" custom_css="margin-top: 0px;margin-bottom: 0px;" border_size="0" border_styling_global="default" el_class="clearfix" width="1/1" el_position="first last"] [BirdEyePluginShort-RoundRock] [/spb_text_block] And here are screenshots of where the element shows up on the live rendered page versus where it's placed in the Page Builder. Thanks!
Attachments:
You must be logged in to view attached files. -
Posted in: We hit Power Elite.