• Resolved Curtis Hays

    (@chays77)


    We have version 3.22.0 installed on a site that is using legacy layouts for Authors. If I edit that current Layout there is Layout Code a previous developer wrote for Elementor. If we upgrade to 4.10.0 I lose that layout and can’t figure out how to export / import it. Is that possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @chays77. Thanks for using PublishPress Authors. Sorry, this is a difficult question to answer. We’re not able to see that code and how it fits into your theme.

    Thread Starter Curtis Hays

    (@chays77)

    <section class="author_index_<?php echo esc_attr($index); ?> authorbox-pad elementor-section elementor-inner-section elementor-section-boxed elementor-section-height-default" data-element_type="section">
    <div class="elementor-container elementor-column-gap-default">
    <div class="elementor-column elementor-col-33 elementor-inner-column elementor-element" data-element_type="column">
    <div class="elementor-widget-wrap elementor-element-populated">
    <div class="elementor-element elementor-widget elementor-widget-image" data-element_type="widget" data-widget_type="image.default">
    <div class="elementor-widget-container">
    <div class="elementor-image">
    <?php echo $avatar_html; // avatar markup already escaped by WP ?>
    </div>
    </div>
    </div>
    </div>
    </div>

    <div class="elementor-column elementor-col-66 elementor-inner-column elementor-element" data-element_type="column">
    <div class="elementor-widget-wrap elementor-element-populated">

    <div class="elementor-element elementor-widget elementor-widget-heading" data-element_type="widget" data-widget_type="heading.default">
    <div class="elementor-widget-container">
    <h2 class="elementor-heading-title elementor-size-default">
    <?php if (!empty($user_url)) : ?>
    <a href="<?php echo esc_url($user_url); ?>"><?php echo esc_html($display_name); ?></a>
    <?php else : ?>
    <?php echo esc_html($display_name); ?>
    <?php endif; ?>
    </h2>
    </div>
    </div>

    <div class="elementor-element elementor-widget elementor-widget-text-editor" data-element_type="widget" data-widget_type="text-editor.default">
    <div class="elementor-widget-container">
    <p class="authorbox-meta">
    <?php if (!empty($author_title)) : ?>
    <?php echo wp_kses_post($author_title); ?><br>
    <?php endif; ?>

    <?php if (!empty($author_phone)) :
    $digits = preg_replace('/\D+/', '', $author_phone);
    ?>
    <a href="tel:+1<?php echo esc_attr($digits); ?>" class="authorbox-phone"><?php echo esc_html($author_phone); ?></a><br>
    <?php endif; ?>

    <?php if (!empty($author_email)) : ?>
    <a href="mailto:<?php echo esc_attr($author_email); ?>"><?php echo esc_html($author_email); ?></a>
    <?php endif; ?>
    </p>
    </div>
    </div>

    </div>
    </div>
    </div>
    </section>
    <?php endforeach; ?>
    Plugin Support Riza Maulana Ardiyanto

    (@rizaardiyanto)

    @chays77 It will not be possible to port this to the new author box, easily. You will have to take this approach: https://publishpress.com/knowledge-base/author-boxes-theme-templates/

    Plugin Author Riza Prihananto

    (@rizaprihananto)

    Hi @chays77 ,

    We haven’t heard back from you in a week. Let me mark this as resolved. If you would like to continue the discussion, feel free to reply or create a new one.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.