This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Support date

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #51951
    rla_z2Enrla_z2En
    Participant

    I bought the PRO version today but when I go onto online portal the support date only shows to 2024-11-21 12:09:44
    Please can you clarify why this is?

    Also, I would like to add Ajax Super Pro to a php template. Is that possible?

    <?php
    /**
    * The template for displaying archive pages
    *
    * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
    *
    * @package firstchoice
    */

    get_header();
    ?>

    <main id=”primary” class=”site-main”>
    <div class=”wpb-content-wrapper”>
    <div class=”vc_row wpb_row vc_row-fluid”>

    <?php if ( have_posts() ) : ?>

    <header class=”page-header cat-title”>
    header section OK

    [wd_asp id=2]

    <?php
    the_archive_title( ‘<h1 class=”page-title”>’, ‘</h1>’ );
    the_archive_description( ‘<div class=”archive-description”>’, ‘</div>’ );
    ?>
    </header><!– .page-header –>
    <!– Archive Author Page
    before loop loop –>

    <?php
    /* Start the Loop */
    ?>
    <div class=”cat-grid”>
    <?php
    while ( have_posts() ) :
    the_post();
    if (get_the_post_thumbnail_url() == ”):
    $img = ‘https://www.leisurebuildings.com/wp-content/plugins/js_composer/assets/vc/vc_gitem_image.png&#8217;;
    else :
    $img = get_the_post_thumbnail_url();
    endif;
    ?>
    <div class=”cat-grid__item”>
    ” title=”<?php the_title(); ?>”>
    <div class=”cat-grid__thumbnail” style=”background: url(‘<?php echo esc_url( $img ); ?>’);”>
    </div>

    <div class=”cat-grid__inner”>
    <h4><?php the_title();?></h2>
    <p><?the_excerpt();?></p>
    ” class=”cat-grid__button” title=”<?php the_title(); ?>”>Read More
    </div>
    </div>
    <?php
    endwhile;

    the_posts_navigation();

    else :

    get_template_part( ‘template-parts/content’, ‘none’ );

    endif;
    ?>
    </div>
    </div>
    </div>
    </main><!– #main –>

    <?php
    get_sidebar();
    get_footer();

    #51954
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The support date was only a minor label issue, I made a correction on the products page script, now it should show “Lifetime” correctly. Thank you very much for letting me know.

    Yes, it is possible to use the plugin in a template. Use the PHP version of the plugin shortcode within a template like so:

    <?php echo do_shortcode('[wd_asp id=1]'); ?>

    For each search bar you can find this PHP version of the shortcode by clicking this toggle, then copying it from here.

    I hope this helps!

    #51955
    rla_z2Enrla_z2En
    Participant

    Thank you Ernest for the swift reply. I look forward to using your plug-in.

    #51956
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You are very welcome!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.