Forum Replies Created

Viewing 15 posts - 1 through 15 (of 70 total)
  • in reply to: The Mystical Disappearing Content #328779
    alexwright
    Member
    Post count: 72

    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

    alexwright
    Member
    Post count: 72

    Of course!

    Updated and same issue. Screenshots attached.

    Thanks for looking into this!

    -Alex

    Attachments:
    You must be logged in to view attached files.
    alexwright
    Member
    Post count: 72

    Thanks 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.
    in reply to: The Mystical Disappearing Content #328546
    alexwright
    Member
    Post count: 72

    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 &nbsp 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!

    in reply to: The Mystical Disappearing Content #327949
    alexwright
    Member
    Post count: 72

    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.”

    alexwright
    Member
    Post count: 72

    Thanks 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.

    in reply to: Logo Pushed Down On Header Layout 1 #323750
    alexwright
    Member
    Post count: 72

    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

    in reply to: Logo Pushed Down On Header Layout 1 #323745
    alexwright
    Member
    Post count: 72

    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.
    in reply to: Additional Projects #323094
    alexwright
    Member
    Post count: 72

    Perfect. Thanks. Feel free to mark this and my previous two tickets as resolved.

    Best,

    -Alex

    in reply to: Add Google Maps To Custom Page Template #322797
    alexwright
    Member
    Post count: 72

    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

    in reply to: Add Google Maps To Custom Page Template #322777
    alexwright
    Member
    Post count: 72

    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; ?>

    in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322775
    alexwright
    Member
    Post count: 72

    Yeah, 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!

    in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322748
    alexwright
    Member
    Post count: 72

    Ha – 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

    in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322734
    alexwright
    Member
    Post count: 72

    The 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

    in reply to: Adding Custom Shortcode Into Text Area > Column > Row #322509
    alexwright
    Member
    Post count: 72

    I’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.
Viewing 15 posts - 1 through 15 (of 70 total)