# wpfunnels/trunk/admin/modules/steps/landing/views/view.php

WPFunnels – Funnel Builder for WooCommerce with Checkout &amp; One Click Upsell, version trunk. 81 lines.

- Page: https://pluginprobe.com/plugins/wpfunnels/trunk/code/admin/modules/steps/landing/views/view.php
- Raw: https://pluginprobe.com/plugins/wpfunnels/trunk/raw/admin/modules/steps/landing/views/view.php
- Modified: 2023-07-17T10:43:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpfunnels/trunk/code/admin/modules/steps/landing/views/view.php#L10-L20`.

```php
<?php
/**
 * View landing
 * 
 * @package
 */

    $settings_link = add_query_arg(
        [
            'page'          => WPFNL_EDIT_FUNNEL_SLUG,
            'id'            => $this->step->get_funnel_id(),
            'step_id'       => $this->step->get_id(),
            'show_settings' => 1,
        ],
        admin_url('admin.php')
    );

    $id = $this->get_id();
    $title = get_the_title($id);
    $link  = get_the_permalink($id);
?>


<div id="step-landing" class="wpfnl-single-step__content">
    <?php require WPFNL_DIR . '/admin/modules/steps/general/step-title.php'; ?>
    <!-- /steps-page__content-title-wrapper -->

    <div class="steps-content_boxs-wrapper">
        <div class="steps-box">
            <?php require WPFNL_DIR . '/admin/partials/icons/cart-icon.php'; ?>
            <span class="step-page-title"><?php echo __('Landing page', 'wpfnl'); ?></span>
            <?php
            $post_edit_link = get_edit_post_link($id);
            $builder = get_option('_wpfunnels_general_settings');
            if (isset($builder['builder']) && $builder['builder'] == 'elementor') {
                $post_edit_link = home_url() . '/wp-admin/post.php?post=' . $id . '&action=elementor';
            }
            ?>
            <div class="actions-area">
                <a href="<?php echo $post_edit_link; ?>" title="Edit" target="_blank" class="btn-default step-edit">
                    <?php require WPFNL_DIR . '/admin/partials/icons/edit-icon.php'; ?>
                    <?php echo __('Edit', 'wpfnl'); ?>
                </a>
                <a href="<?php echo $link; ?>" target="_blank" title="Preview" class="single-action step-preview">
                    <?php require WPFNL_DIR . '/admin/partials/icons/eye-icon.php'; ?>
                </a>
                <!-- <a href="#" title="Duplicate" class="single-action step-duplicate">
                    <?php //require WPFNL_DIR . '/admin/partials/icons/duplicate-icon.php';?>
                </a>
                <a href="#" title="AB Testing" class="single-action step-ab-testing">
                    <?php //require WPFNL_DIR . '/admin/partials/icons/ab-testing-icon.php';?>
                </a> -->
                <a href="#" title="Delete" class="single-action step-delete" id="wpfnl-delete-step" data-id="<?php echo $id; ?>">
                    <?php require WPFNL_DIR . '/admin/partials/icons/delete-icon.php'; ?>
                </a>
                <!-- <a href="<?php echo $settings_link; ?>" title="Settings" class="single-action step-settings">
                    <?php //require WPFNL_DIR . '/admin/partials/icons/settings-icon.php';?>
                </a> -->
            </div>
        </div>

        <div class="steps-box create-vairation">
            <?php require WPFNL_DIR . '/admin/partials/icons/funnel-icon-xl.php'; ?>
            <span class="no-product-tag coming-soon-tag"><?php echo __('Coming Soon', 'wpfnl'); ?></span>
            <span class="step-page-title"><?php echo __('Start Split Test', 'wpfnl'); ?></span>

            <div class="actions-area">
                <a href="" title="Create Variations" class="btn-default add-variation">
                    <?php require WPFNL_DIR . '/admin/partials/icons/plus-icon.php'; ?>
                    <?php echo __('Create Variations', 'wpfnl'); ?>
                </a>
                <span class="helper-text"><?php echo __('Optimize your lead and sales with split tests', 'wpfnl'); ?></span>
            </div>
        </div>
        <!-- /steps box -->

    </div>

</div>
<!-- /#step-landing -->

```
